so amazing! Notes on the microservice architecture and architecture design pattern of Biaoxing 80K on GitHub

What is the microservice architecture?

We all know that microservice architecture is an architectural concept that aims to decouple solutions by decomposing functions into discrete services. You can think of it as being at the architectural level rather than getting services

Many SOLID principles are applied to the class. Microservice architecture is an interesting concept. Its main function is to decompose functions into discrete services, thereby reducing the coupling of the system and providing more flexible service support.

concept:

Split a large single application and service into several or even dozens of supporting microservices, which can extend a single component instead of the entire application stack to meet service level agreements.

definition:

Create applications around business domain components that can be developed, managed, and iterated independently. The use of cloud architecture and desktop deployment, management and service functions in distributed components makes product delivery easier.

Nature

Use some services with clearer functions and more refined business to solve larger and more practical problems.

Github Star 67.9k microservice architecture and architecture design pattern notes I fan

 

How important is the change in the thinking of microservice architecture?

What microservices think about us is more of a change in thinking. For the microservice architecture: technology is not a problem, awareness is more important than tools.

Some design starting points about microservices :

1. The core of the application is business logic, which organizes resources according to business or customer needs (this is the most difficult)

2. Make a living product, not a project

3. First wolf team, full stack

4. The background service implements the Single Responsibility Principle (single responsibility principle)

5、VM->Docker (to PE)

6 、 DevOps (to PE)

At the same time, for development students, it is a good thing to have so many middleware and strong PE support. We also need to deeply understand the principles behind these middlewares, know what they are, and how to use open source technology with limited technical resources. Implement microservices?

Finally, it is generally mentioned that microservices are inseparable from DevOps and Docker. Understanding the microservice architecture is the core, and devops and docker are tools and means.

Let's use two documents to understand the microservice architecture and its design patterns. If you have any unique insights on the microservice architecture, please leave a message in the comment area.

Microservice architecture

Chapter 1 Overview of Microservices

  • What is a microservice
  • Common microservice components
  • Commonly used microservice framework
  • Microservice architecture design pattern
  • How to implement microservices

Exploring microservices from the perspective of the origin of microservices and real business

Github Star 67.9k microservice architecture and architecture design pattern notes I fan

 

Chapter 2 Principles of Microservice Design

  • Layered architecture of design principles
  • Unified communication protocol of design principles
  • Single responsibility of design principles
  • Service split of design principles
  • Separation of back-end before design principles
  • Version control of design principles
  • Design principles around business construction
  • Design principles of concurrent flow control
  • CAP of design principles
  • EDA event-driven design principles
  • CQRS of design principles
  • Design principles of infrastructure automation
  • Design principles of data consistency
  • Design principles of design patterns
  • DevOps design principles
  • Stateless service of design principles

It is a high-level guiding principle to organize the design concepts of microservices, including how services are split, front-end and back-end separation, CAP theory, and CQRS.

Github Star 67.9k microservice architecture and architecture design pattern notes I fan

 

Chapter 3 Spring Boot of Microservices

  • Everything starts simple
  • Quickly integrate third-party Starter
  • Aspect-oriented aspect of reducing development complexity
  • Uncomplicated persistence.
  • Web development
  • Lazy interface document management.
  • Optimized scheduling
  • Health is an eternal theme
  • Integrated Dubbo

Introduce the development of SpringBoot in detail, including the advantages and disadvantages of using it, as well as the integration of toolkits commonly used in enterprise-level development, including aspect-oriented programming, Web development, document management and scheduling management, and finally complete an exemplary distribution with Dubbo Style engineering.

Chapter 4 Docker for Microservices

  • Docker principle
  • Lighter virtualization
  • Three concepts to understand Docker
  • Dockerfile customize everything
  • Docker network
  • Docker data volume
  • Spring Boot与Docker
  • Build your own mirror warehouse
  • Governors
  • Private cloud overall architecture

Mainly explain the basic operations of Docker, introduce the container-related technologies used in microservices, and finally give a general container-based private cloud architecture.

Github Star 67.9k microservice architecture and architecture design pattern notes I fan

 

Chapter 5 Spring Cloud of Microservices

  • Registry
  • Load balancing
  • Microservice fault tolerance (Hystrix)
  • Distributed Configuration Center
  • API gateway
  • Message Bus (Spring Cloud Bus)

Describe several important frameworks for implementing microservices in SpringCloud, so that readers can understand the registry, load balancing, fault tolerance, distributed configuration, gateway and message bus, and can complete the microservice architecture at the development level.

Github Star 67.9k microservice architecture and architecture design pattern notes I fan

 

Chapter 6 Spring Cloud Other Frameworks of Microservices

  • Spring Cloud Consul
  • Spring Cloud ZooKeeper
  • Spring Cloud archaius
  • Spring Cloud Task
  • Spring Cloud Security
  • Spring Cloud Sleuth
  • Spring Cloud Stream
  • Spring Cloud Data Flow

Introduce the non-core frameworks of Spring Cloud, including Consul, ZooKeeper, security framework and data flow framework.

Chapter 7 Automated Testing and Quality Management of Microservices

  • Microservice testing
  • unit test
  • API testing
  • A/B testing
  • Smoke and regression testing
  • Static code analysis
  • SonarQube quality monitoring

Mainly introduces testing and quality management. The testing part includes unit testing, A/B testing, smoke and regression testing. The quality management part mainly uses static code analysis, and statically checks the code based on SonarQube, and analyzes the overall quality of the code .

Chapter 8 JHipster of Microservices

  • JHipster technology list
  • Introduction to Angular
  • Quick start JHipster
  • Directory Structure
  • Build microservice applications
  • Basic configuration

A systematic introduction to the best practice of microservices, JHipster, and some processing of the contents of JHipster, as well as processing the parts that are not very popular in China, and introduce the application and configuration of JHipster in as much detail as possible.

Github Star 67.9k microservice architecture and architecture design pattern notes I fan

 

Chapter 9 Automated Deployment of Microservices

  • Private warehouse construction
  • Ansible
  • Continuous integration
  • Grayscale release

Mainly introduce automated deployment, because the purpose of microservices is not only to simplify development, but also to improve the efficiency of the entire team. Therefore, the use of private servers and automated operation and maintenance are very important.

Github Star 67.9k microservice architecture and architecture design pattern notes I fan

 

Chapter 10 Log Collection and Monitoring of Microservices

  • ELK collection and analysis
  • System monitoring
  • Operation and maintenance monitoring
  • APM monitoring
  • Installation and use of Pinpoint

Mainly explain log collection and APM monitoring. For online systems, the probability of problems is still very high. How to quickly locate and find the point of the problem in the first time is very important. The APM part lists commonly used monitoring tools, focuses on Pinpoint, and focuses on usage and email alerts.

Github Star 67.9k microservice architecture and architecture design pattern notes I fan

 

Chapter 11 Complete Example

  • Install Lombok
  • PiggyMetrics
  • Overall structure
  • Install and run

Through a comprehensive explanation of PiggyMtrics, readers can understand the technical points and construction principles of a simple microservice architecture, and actually deploy microservices to complete the basic operations of the business.

Github Star 67.9k microservice architecture and architecture design pattern notes I fan

 

Chapter 12 Recommended Core Features of Microservices

  • Workflow engine
  • Rule engine
  • Dispatch system
  • News push
  • Gateway middleware
  • Sub-database and sub-table middleware
  • Report engine
  • data processing
  • Concurrent programming
  • Distributed configuration
  • CASE
  • WebFlux

Explain the technical points that may be involved in the construction of microservices, including workflow engine, rule engine, scheduling system, distributed configuration and single sign-on.

Github Star 67.9k microservice architecture and architecture design pattern notes I fan

 

This practical document extends from the ideological foundation and design principles of microservices to the introduction of Spring Boot, Docker, Spring Cloud and other frameworks. It not only involves the automated testing and quality management of microservices, automated deployment, log collection and monitoring, but also Complete actual combat example. The book clearly and thoroughly analyzes the entire ecosystem of microservices, which helps everyone quickly improve their understanding of microservices and build their own architecture system.

The old man who needs this microservice architecture actual combat document, please help like and forward it and follow the editor and then privately message [666] to get the method of obtaining it. The following will introduce a microservice architecture design pattern document. Brother, please look down!

Microservice architecture design pattern

This document focuses on the architecture design of microservices, and introduces the difference between microservices and other architectures such as SOA, the split strategy of software system services, the synchronous and asynchronous communication modes of microservices, how to use microservices for transaction management, and how to Design business logic in the microservice architecture. At the same time, it describes in detail the testing and production deployment strategies in the microservice architecture. It has a good guiding role in the design of microservice architecture.

Due to space limitations, the content of the document is not detailed, this document has a total of 13 chapters

  • Chapter 1 Escape from Single Hell

Github Star 67.9k microservice architecture and architecture design pattern notes I fan

 

  • Chapter 2 Service Split Strategy
  • Chapter 3 Interprocess Communication in Microservice Architecture

Github Star 67.9k microservice architecture and architecture design pattern notes I fan

 

  • Chapter 4 Using Saga to Manage Transactions
  • Chapter 5 Business Logic Design in Microservice Architecture

Github Star 67.9k microservice architecture and architecture design pattern notes I fan

 

  • Chapter 6 Use Event Sourcing to Develop Business Logic
  • Chapter 7 Implementing Query in Microservice Architecture

Github Star 67.9k microservice architecture and architecture design pattern notes I fan

 

  • Chapter 8 External API Mode

Github Star 67.9k microservice architecture and architecture design pattern notes I fan

 

  • Chapter 9 Testing Strategies in Microservice Architecture (Part 1)

Github Star 67.9k microservice architecture and architecture design pattern notes I fan

 

  • Chapter 10 Testing Strategies in Microservice Architecture (Part 2)
  • Chapter 11 Development of microservice applications for production environments

Github Star 67.9k microservice architecture and architecture design pattern notes I fan

 

  • Chapter 12 Deploying Microservice Applications
  • Chapter 13 Refactoring Strategies of Microservice Architecture

Github Star 67.9k microservice architecture and architecture design pattern notes I fan

 

Brother who needs these two documents, please help like forwarding and follow the editor, and then privately message [666] to get the method!

Guess you like

Origin blog.csdn.net/bieber007/article/details/108996565