: Download the full MP4 file1. Churyang Summary
Micro-service is not a stone crack inside, is based on similar SOA, Blackboard, C/S and other application architectures based on the integration of Agile development, devops and other concepts based on the development of
The advantages of microservices compared to traditional applications (rapid deployment, de-center, good isolation, etc.), and many disadvantages (more complex, communication
attention to testing. More importantly, they discover exceptions in the production environment through monitoring, and then quickly roll back or take other necessary actions. However, you need to pay special attention to the scenarios that are especially concerned about risk avoidance and supervision or production environment errors will have a significant impact.
Selection of microservice Architecture
In the right project, the right team, using the microservice architecture will benefit
Many people talk about " microservices " and are grappling with an old problem more than 20 years ago ; Particle size "; What is the " granularity" of microservices partitioning ? More than 20 years , many people are taking a " Standard answer " ; particle size Span style= "font-family: ' Helvetica Neue '"; In doing software development. Unfortunately, when you have been using the so-called " Standard a
Building Microservices-PDF documentation, microservices-pdf
I translated several articles in English that are based on Spring Cloud and Netflix OSS to facilitate sharing and exchange, and sorted them into PDF documents.
PDF document directory:
Directory
I. microservice operation model... 3
1. Prerequisites... 3
2. Extension... 5
3. problem... 6
4. required components... 7
5. Reference Model... 8
6. Next s
number of legacy applications, so when it comes to the urgent task of needing to meet business needs faster and better, most of the time the enterprise will not build a completely new application, usually the enterprise refactoring the existing application or want to try to reuse the existing code.
Evolution to a microservices architecture typically involves the following phases:
1. Traditional SOA service transformation;
2. The introduction of some
Attention:If you are working on microservices, there is a need for mutual invocation between services, and the interfaces between services and APIs must generate the management documentation of the system. If you want to better manage your API, you want to have a tool to solve all the API-related things one-stop, then, swagger will be a good choice, the following for you to introduce swagger is the use of methods, if there is wrong, but also to correc
Through the introduction of the previous articles, we can easily build up a few of the more important infrastructure services in the microservices system. So, in this blog post, we'll focus on how to design API Gateway concepts by agreeing to expose all microservices APIs.
This series of tutorials"MicroServices" easy to fix springcloud Micro Service catalog
Chris Richardson Micro-Service series translation of all 7 links:
Micro Service Introduction
Building the Use API Gateway for microservices
Building process communication for microservices architecture (this article)
Service discovery in micro-service architecture
Event-driven data management for micro-services
Micro-Service Deployment
Reconstruction of monomer application f
.................................................... 11.1 Problems with monolithic application architectures 11.2 How to solve the problem of single application architecture 31.3 What is Micro service 31.4 Advantages and challenges of the MicroServices architecture 5Advantages of the 1.4.1 MicroServices architecture 51.4.2 Micro-Service Architecture challenges 51.5 micro-Service design
large number of microservices can be more complex. Basically splitting requires following several principles:
The single principle of responsibility: "To bring together things that change for the same reason, to separate things that change for different reasons". This principle is adopted to determine the micro-service boundary.
Team Autonomy principle: The larger the team, the higher the cost
Over the past two years, the authors have been involved in the MicroServices team in overseas deliveries to enhance the scalability of the Finance system for customers. The author's team, 3 pairs of development (pair programming, 2 dev for pair) Support 11 services for customers, and the continuous deployment pipeline (CD pipeline) is an essential technical practice. This sharing author will share the ongoing deployment (CD) under the
Load balancing is an essential name for any high-availability, high-load system. In a large-scale distributed computing system, a service in a single case, it is difficult to deal with a variety of unexpected situations. Therefore, load balancing is a solution that allows the system to distribute traffic in the event of a performance bottleneck or in some of these states. In the Springcloud system, many of Netflix's best products have been added, one of which is the Ribbon for server-side load b
timeProblems with this scenario:Publisher is sent successfully, and the local publishevent event is published , meaning that it is not known from the publisher side Subscriber consumption failure needs re-consumptionSolution:
Get publishevent for event retry by detecting publishevent subscribeevent
Republish publishevent to subscriber
5. Support the above programming model with NuGet installation componentsInstall-Package SmartEventBus.RabbitMQImplInstall-Package SmartEventBus.R
Quickly set up Feign in microservices and set up Feign in microservices
Build a declarative REST client feign in the microservice architecture ].Feign is a declarative Web service client. This makes writing to the Web service client more convenient. Use Feign to create an interface and annotate it. It has support for pluggable comments, including Feign comments and JAX-RS comments. Spring Cloud supports Spr
challenge for every business, so that the industry has begun to summarize this model as a responsive enterprise (responsive Enterprises), Most of the principles summarized in the model are designed to better adapt to the high complexity of environmental uncertainties.
Separation of complexity from a business perspective
The complexity of each person's ability to perceive is limited, and in the face of high complexity we do the separation of concerns
This is a creation in
Article, where the information may have evolved or changed.
Part IV: Go microservices-testing and simulation using Goconvey
How to deal with microservices testing? Do you need to consider any unique challenges when establishing a test strategy for this particular area? In the fourth part, we will look at these topics.
Test the subject of the
Characteristics of micro-service and principles of its constructionConstraints: MicroServices Follow the UNIX philosophy that applications are a collection of services, and that each service does one thing and does a good job.Loosely coupled: MicroServices-based applications are a collection of small services that interact with each other using HTTP and rest thro
Spring Cloud combines today's more mature, proven service framework with the spring boot style for re-encapsulation, masking complex configuration and implementation principles, and ultimately integrating a simple, easy-to-deploy and maintainable Distributed system architecture platform.Spring Cloud's sub-projects can be broadly divided into two categories: the package and abstraction of Spring boot for existing mature frameworks, and the largest numb
different zones.You can create such a redundant collection of backups with minimal changes. Each cluster requires its own kubernetes Yaml file to define pods, redundant controllers, and services. Then, you can complete a zone of cluster creation, persistent storage, and MONGODB nodes.Shows the redundancy of the combination running on a different zone:Recommend an Exchange Learning Group: 685167672 It will share some of the senior architect recorded video recordings: Spring,mybatis,netty source
This is a creation in
Article, where the information may have evolved or changed.
"Editor's note" This article is the fifth article to create an app series using MicroServices. The first article introduces the MicroServices architecture model and discusses the advantages and disadvantages of using microservices, and the second and third describes the different as
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.