In the middle of the night, I talked to my wife about the microservice architecture. After listening, she sighed "Don't stop!"

Preface

In recent years, microservices have become popular. Under the imperfect business model and the impact of ultra-large-scale traffic, many companies have abandoned the traditional monolithic architecture and embraced microservices. While this model has the advantages of independent development, independent deployment, scalability, and reusability, it also brings about such a problem: the complexity of development, operation and maintenance increases. Some people feel that microservices become more and more inconvenient to manage.

However, with the development of related technologies such as Docker container technology and automated operation and maintenance, microservices have become easier to maintain. Therefore, the future development of microservices will only become more and more perfect, becoming the future development direction of the business architecture of large and medium-sized enterprises.

However, the microservice architecture includes N many optimizations and N many details. For some coding friends, because they are not exposed to the first-line actual architecture design, seeing others are transforming to the microservice architecture, they can only repeat themselves day by day. wheel.

 

I recently compiled a set of actual microservice documentation, which is very thorough. Share with everyone today. This information is especially suitable for the following people:

1. Have never used microservice technology, only use the traditional SSM framework

2. I have used Spring Cloud, Dubbo and other technologies, but they are only limited to use, and problems can't be solved basically

3. I have never studied microservice architecture systematically, and feel that architecture design is out of reach

4. Some understanding of microservice technology, but no practical experience in designing high availability and high concurrency

What will you gain after reading this document?

  1. Understand the principle of the most popular microservice architecture and its open source framework;
  2. Get insider knowledge of the core technology of microservices equipped by major manufacturers;
  3. Check for missing and fill vacancies based on your own knowledge points to help eliminate knowledge blind spots and rebuild your knowledge system.

The specific contents of this book are:

  1. Basic knowledge
  2. Microservice construction (Spring Boot)
  3. Service governance (Spring Cloud Eureka)
  4. Client Load Balancing (Spring Cloud Ribbon)
  5. Service fault tolerance protection (Spring Cloud Hystrix)
  6. Declarative service call (Spring Cloud Feign)
  7. API Gateway Service (Spring Cloud Zuul)
  8. Distributed Configuration Center (Spring Cloud Config)
  9. Message Bus (Spring Cloud Bus)
  10. Message-driven microservices (Spring Cloud Stream)
  11. Distributed Service Tracking (Spring Cloud Sleuth)

Basic knowledge: What is a microservice architecture, the difference from a monolithic system, how to implement microservices, why choose Spring Cloud, and an introduction to Spring Cloud.

Microservice construction: framework introduction, quick start, project construction and analysis, implementation of RESTful API, detailed configuration, custom parameters, parameter references, command line parameters, multi-environment configuration, loading sequence, monitoring and management, first-acquaintance actuator, native endpoint.

Service governance: service governance, Netflix Eureka, registered service provider, high-availability registry, service discovery and consumption, detailed Eureka, service governance mechanism, source code analysis, detailed configuration, service registration configuration, service instance configuration, cross-platform support .

Service fault tolerance protection : quick start, principle analysis, workflow, circuit breaker principle, dependency isolation, detailed usage, creating request commands, defining service degradation, exception handling, command names, grouping and thread pool division, request caching, request merging, attributes Detailed explanation, Command attribute, collapser attribute, thread Pool attribute, Hystrix dashboard, Turbine cluster monitoring, building monitoring aggregation service, and combining with message agent.

 Declarative service invocation: quick start, inherited features, parameter binding, Ribbon configuration, global configuration, specified service configuration, retry mechanism, Hystrix configuration, global configuration, disable Hystrix, specified command configuration, service degradation configuration, other configuration, logs Configuration.

API gateway services: quick start, gateway building, request routing, request filtering, detailed routing, traditional routing configuration, service routing configuration, default rules for service routing, custom routing mapping rules, path matching, routing prefixes, local redirects, cookies And header information, Hystrix and Ribbon support, filter details, filters, request life cycle, core filters, exception handling, disabled filters, dynamic loading, dynamic routing, dynamic filters.

Distributed configuration center: quick start, build configuration center, detailed configuration rules, client configuration mapping, server detailed explanation, infrastructure, Git configuration warehouse, SVN configuration warehouse, local warehouse, local file system, health monitoring, attribute coverage, security Protection, encryption and decryption, high-availability configuration, client-side detailed explanation, service-oriented configuration center, failure quick response and retry, remote configuration acquisition, dynamic refresh configuration.

Message bus: Message broker, RabbitMQ to achieve message bus, basic concepts, installation and use, quick start, integration of Spring Cloud Bus, principle analysis, specified refresh range, architecture optimization, RabbitMQ configuration, Kafka to achieve message bus, Kafka introduction, quick start, Integrate Spring Cloud Bus, Kafka configuration, in-depth understanding, source code analysis, and other message broker support.

Message-driven microservices: quick start, core concepts, binder, publish-subscribe model, consumer group, message partition, detailed usage, enable binding function, bind message channel, message production and consumption, responsive programming, consumption Group and message partition, message type, binder detailed explanation, binder SPI, automatic configuration, multiple binder configuration, RabbitMQ and Kafka binder, configuration detailed explanation, basic configuration, binding channel configuration, binder configuration.

Distributed service tracking: quick start, preparation, implementation tracking, tracking principle, sampling collection, integration with Logstash, integration with Zipkin, HTTP collection, message middleware collection, collection principle, data storage, API interface.

 Due to space limitations, only the contents of this actual combat document are displayed here. Friends who need to obtain a complete document for learning, can help one-click three consecutive times, add me: "VX Assistant" for free Get

Guess you like

Origin blog.csdn.net/a159357445566/article/details/109098409