1024 Programmers' Day welfare is on! Alibaba’s exclusive micro-service notes taken out by technical experts with an annual salary of 60W, really fragrant!

Preface

In the face of the hot microservice architecture in recent years, many people have an attitude of "you can only watch from a distance, not close to play." Everyone is often daunted by the concept and methodology of tons. They will feel that the microservice architecture is complex, high-end, trendy, unnecessary, and small and medium-sized teams have no need or strength to land.

Therefore, the editor brings you this lightweight microservice architecture book. After reading this book, you will have a feeling that "microservice architecture is not as horrible as you imagined." The editor took the big brothers hand in hand to implement the lightweight microservice architecture, from 0 to 1, and taught them how to deal with the pits inside.

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

The content of this book is rushed to the ground, there will be no various methodologies floating in the sky, sincere dry goods are absolutely value for money.

Experts recommend

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

Chapter 1: Lightweight microservices

1. Microservices will become lightweight

  • Architecture and architect.
  • Architecture evolution process.
  • The development trend of microservice architecture

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

2. Preliminary preparation for microservice architecture

  • Understanding the iceberg model of microservice architecture
  • Microservice infrastructure under the iceberg
  • Divide into service boundaries according to business

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

3. Lightweight microservice architecture diagram

  • Lightweight microservice deployment architecture
  • Lightweight microservice operation architecture
  • Lightweight microservice global architecture

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

Chapter 2: Microservice Log

1. Use Spring Boot logging framework

  • Use Spring Boot Logging plugin
  • Integrated Log4 logging framework.
  • Output logs outside the Docker container

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

2. Use Docker container logs

  • Docker log driver
  • Linux log system: Syslog
  • Docker log architecture

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

3. Build an application log center

  • Open source log center: ELK
  • Log storage 4 systems: Elastics earch
  • Log query system: Kibana.
  • Build ELK log center

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

Chapter 3: Microservice Monitoring

1. Use Spring Boot to monitor the system

  • The monitoring function that comes with Spring Boot
  • Spring Boot Admin open source monitoring system

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

2. Build a system monitoring center

  • Time series data collection system: cAdvisor.
  • Time series data storage system: lnfluxDB.
  • Time series data analysis system: Grafana
  • 集成 InfluxDB + cAdvisor + Grafana

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

3. Build a call tracking center

  • Open source call tracking center: Zipkin
  • Trace the microservice call chain
  • Tracking the database call chain

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

Chapter 4 Microservice Communication

1. Use HTTP to implement synchronous calls

  • Use Spring Boot to develop monthly services
  • Use OkHttp to develop client
  • Use Retrofit to develop a client

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

2. Use RPC to implement synchronous calls

  • RPC communication principle
  • Initial experience of gRPC
  • Spring Boot integrates gRPC

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

3. Build a distributed RPC framework

  • Architecture design
  • Build module code framework
  • Develop RPC server
  • Develop RPC client

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

Chapter 5 Decoupling of Microservices

1. Use MQ to implement asynchronous calls

  • Use ActiveMQ to implement JMS asynchronous call
  • Use RabbitMQ to implement AMQP asynchronous call

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

2. Use request response mode to implement RPC calls

  • Introduction to request response mode
  • Use RabbitMQ to implement RPC calls
  • RPC code framework encapsulating RabbitMQ

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

3. Solve distributed transaction problems

Use Event-Sourcing and MQ to realize distributed transaction control

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

Chapter 6 Microservice Testing

1. Use Spring Boot unit testing

  • Build the framework of the application to be tested.
  • Test the Service layer.
  • Test RESTAPI

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

2. Build a RESTAPI automated test framework

  • Use Postman to manually test the REST API
  • Use Newman to batch test RESTAPI
  • Build a RESTAPI automated test framework

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

3. Automatically generate RESTAPI documents

  • Use Swagger to generate RESTAPI documents
  • Another option for REST API documentation: apiDoc

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

Chapter 7: Microservice Configuration

1. Ansible entry and actual combat

  • What is Ansible.
  • Prepare for Ansible combat
  • Ansible combat

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

2. Build a service configuration center

  • How to manage configuration in microservices
  • Design Ansible Configuration Center.
  • Hands-on implementation of automated deployment framework

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

3. Self-registration service configuration

  • Current problems with service registration
  • Use Registrator to implement service self-registration.
  • Microservice smooth upgrade solution

Welfare!  Technical experts with an annual salary of 60K present Ali exclusive microservice notes

 

At last

Friends who need this Ali exclusive microservice note can receive it for free by adding the assistant VX below!

 

Guess you like

Origin blog.csdn.net/GYHYCX/article/details/109245734