Biaoxing 88K on GitHub covers the entire network of Ali microservice architecture: K8S + actual combat + notes + project tutorials

Preface

At present, platformization, intelligence, ubiquity and ease of use are becoming a new round of information technology development and information application global trends. In this trend, platformization is especially fundamental and strategic, and microservices represented by Spring Cloud technology are representative technologies for platformization.

In order to better promote the application of microservice -related technologies, the "SpringCloud practical exercise document" shared by the editor today. This book explains the basic knowledge of microservice development in a simple and clear way, and introduces in detail the operation methods and skills of Spring Cloud in each stage of project development. This book can not only help introductory readers to understand microservices, but also help operation and maintenance personnel to deepen their understanding of the microservice system, especially to bring fruitful practical help to programmers who are committed to Internet technology development and Java development.

How awesome is Ali's microservice architecture covering the entire network: K8S + actual combat + notes + project tutorials

 

This book is an introductory book for Spring Cloud . First, a brief overview of microservices and an analysis of current Internet architecture trends. Secondly, a systematic introduction to Spring Boot related knowledge, from basic usage to core components. Again, from the specific case, in order to explain the SpringCloud most commonly used components, combining theory and practice, so that readers learn Spring Cloud process can understand the whole process of a product from scratch. Finally, combined with the most popular container technology at present, it introduces how Kubernetes cooperates with Docker for distributed deployment of the system .

This book is suitable for people who have a certain Java foundation and Spring MVC foundation as well as developers who want to develop towards the architect.

Book tutorial structure

This book is divided into four parts, from basic to actual combat, explaining the common components based on Spring Cloud.

Part 1 (Basics): Chapters 1~4

The second part (actual combat): Chapter 5~10

Part Three (Advanced): Chapter 11~13

Part Four (Deployment): Chapters 14~15

Part 1 (Basics)

How awesome is Ali's microservice architecture covering the entire network: K8S + actual combat + notes + project tutorials

 

Chapter 1 Overview of Microservices

If we want to learn microservice architecture, we must understand it. This chapter will lead you to a preliminary understanding of microservices and lay a good foundation for the subsequent systematic learning of microservice architecture.

How awesome is Ali's microservice architecture covering the entire network: K8S + actual combat + notes + project tutorials

 

Chapter 2 Spring Boot Basics

This book is combat-oriented and explains how to use Spring Cloud to develop microservice projects, and Spring Cloud is based on Spring Boot, so this chapter will first understand how to use Spring Boot to build a framework.

How awesome is Ali's microservice architecture covering the entire network: K8S + actual combat + notes + project tutorials

 

Chapter 3 Core Principles of Spring Boot

Through the study of Chapter 2, readers should have a general understanding of Spring Boot. Using Spring Boot can greatly simplify the development of applications. This is due to the four core principles of Spring Boot: initial dependency, automatic configuration, and Actuator And Spring Boot command line. In this chapter, we will explore the core principles of Spring Boot in depth so that readers can learn and use Spring Boot better.

How awesome is Ali's microservice architecture covering the entire network: K8S + actual combat + notes + project tutorials

 

Chapter 4 Overview of Spring Cloud

Starting from this chapter, we will officially embark on a journey to explore the secrets of Spring Cloud. After finishing this book, readers will learn to build a complete distributed architecture and approach the architect's goal.

How awesome is Ali's microservice architecture covering the entire network: K8S + actual combat + notes + project tutorials

 

The second part (actual combat)

SpringCloud actual combat exercise document K8S + actual combat + notes + project tutorial forwarding + comments, follow me and add VX "MXM9809" to get it for free

How awesome is Ali's microservice architecture covering the entire network: K8S + actual combat + notes + project tutorials

 

Chapter 5 Project Preparation Phase

In this chapter, I will start a large-scale actual combat project-a blog site. Learn how to build the Spring Loud microservice architecture through the "battle vs. training" approach, allowing readers to walk out of the theoretical jungle and play with the microservice architecture in practice.

How awesome is Ali's microservice architecture covering the entire network: K8S + actual combat + notes + project tutorials

 

Chapter 6 Public Module Packaging

From the beginning of this chapter, we will learn to build the framework. Due to the huge amount of code, it is impossible to post all of this book, so only some core codes are shown. All the source code can be viewed from the source code of this book.

How awesome is Ali's microservice architecture covering the entire network: K8S + actual combat + notes + project tutorials

 

Chapter 7 Registration Center: Spring Cloud Netflix Eureka

Through the previous study, we can conclude that the registry is the core of the entire microservice architecture, that is, the heart of the system. It can help us manage all microservices. The precise positioning of specific services is achieved through the registry. The benefits of building a registry are also self-evident. Through the registry, we can achieve load balancing of services. System-management of configuration. Communication between services, etc. Currently. We can use a variety of technologies to implement the registry, such as Eureka. ZooKeeper. Consul, etc. This book uses SpringCloud's default integrated Eureka framework to build the registry.

How awesome is Ali's microservice architecture covering the entire network: K8S + actual combat + notes + project tutorials

 

Chapter 8 Configuration Center: Spring Cloud Config

We know that a microservice system may consist of thousands of services, each of which has its own configuration. Some configurations between different services are the same, such as a database. If we replicate the same configuration for each service, once the configuration changes, then each service needs to be modified, and the cost can be imagined. Spring Cloud has taken this into consideration, and it provides us with a complete set of solutions, which is the powerful Spring CloudConfig.

How awesome is Ali's microservice architecture covering the entire network: K8S + actual combat + notes + project tutorials

 

Chapter 9 Service Gateway: Spring Cloud Gateway

The service gateway is another major component of microservices that will be introduced in this article. We need a service gateway, and there are some very important factors. For example, the service gateway will uniformly intercept the interface and do legality verification, a service can start multiple ports, and the service gateway can be used for load balancing processing. At present, there are many products on the market that can realize the function of service gateway, such as Nginx, Apache, Zuul and Spring CloudGateway. Spring Cloud integrates Zuul and Gateway, we can easily implement the service gateway function.

How awesome is Ali's microservice architecture covering the entire network: K8S + actual combat + notes + project tutorials

 

Chapter 10 Function Development

Through the study of the first few chapters, we have built the basic framework of a blog site. In this chapter, we will officially start the functional development of the website.

How awesome is Ali's microservice architecture covering the entire network: K8S + actual combat + notes + project tutorials

 

Part Three (Advanced)

SpringCloud actual combat exercise document K8S + actual combat + notes + project tutorial forwarding + comments, follow me and add VX "MXM9809" to get it for free

How awesome is Ali's microservice architecture covering the entire network: K8S + actual combat + notes + project tutorials

 

Chapter 11 Inter-Service Communication: Spring Cloud Netflix Ribbon and Spring Cloud OpenFeign

A large-scale system is composed of multiple micro-service modules. We can generally communicate between the modules through internal interface calls (service A provides an interface, and service B calls the interface of service A through HTTP requests). In order to simplify development, Spring Cloud integrates Spring Cloud Netlix Ribbon and Spring Cloud OpenFeign. Both components support requesting different services via HTTP. This book will briefly introduce Spring Cloud Netflix Ribbon, take this to lead to Sping Cloud OpenFeign, and introduce its usage in detail.

How awesome is Ali's microservice architecture covering the entire network: K8S + actual combat + notes + project tutorials

 

Chapter 12 Service Link Tracking: Spring Cloud Sleuth

We know that micro-services communicate through the network, but while we provide services, there is no guarantee that the network must be unblocked. On the contrary, the network is very fragile and network resources are limited. Therefore, it is necessary for us to track each network request to understand which microservices they have passed through, how much delay, and the time spent on each request. Only in this way can we better analyze system bottlenecks and solve system problems. In Spring Cloud, we can use Spring Cloud Sleuth components to implement microservice tracking.

How awesome is Ali's microservice architecture covering the entire network: K8S + actual combat + notes + project tutorials

 

Chapter 13 Service Governance: Spring Cloud Consul and Spring Cloud ZooKeeper

In the previous chapters, readers have been exposed to Spring Cloud NettlixEureka, the service governance framework integrated by Spring Cloud by default. In this chapter, we will be exposed to the new service governance framework so that readers have multiple choices in practical applications.

How awesome is Ali's microservice architecture covering the entire network: K8S + actual combat + notes + project tutorials

 

Part Four (Deployment)

How awesome is Ali's microservice architecture covering the entire network: K8S + actual combat + notes + project tutorials

 

Chapter 14 System Release and Online

Through the study of the previous chapters, we successfully completed the application development. It is not enough to complete the framework construction and function development. We also need to publish the application to the server for client access. In this chapter, we will begin to explain the application release in detail.

How awesome is Ali's microservice architecture covering the entire network: K8S + actual combat + notes + project tutorials

 

Chapter 15 Deploying Distributed Clusters with Kubernetes

The emergence of container technology has brought us new ideas. We can package the service into a mirror image, put it in a container, and run the service through the container, which can facilitate distributed management, and the same service can also be easily scaled horizontally. Docker is a leader in container technology. It is an open source container, and Kubernetes (hereinafter referred to as K8S) is a platform for distributed cluster solutions. It is a natural pair with Docker. With the cooperation of K8S and Docker, we can easily build a distributed cluster environment. Below, let's take a look at the attractiveness of Docker and K8S.

How awesome is Ali's microservice architecture covering the entire network: K8S + actual combat + notes + project tutorials

 

SpringCloud actual combat exercise document K8S + actual combat + notes + project tutorial forwarding + comments, follow me and add VX "MXM9809" to get it for free

 

Guess you like

Origin blog.csdn.net/Sqdmn/article/details/115255244