Eureka service registration and discovery in spring cloud
1. Eureka Basics
1.1 what is service governance?
In the traditional rpc remote invocation framework, it is complex to manage the dependency relationship between each service and service, so it is necessary to use service governance to manage the dependency relationship between services, so as to realize service invocation, load balancing, ...
Added by billynastie2007 on Thu, 06 Jan 2022 03:40:13 +0200
Springboot zero configuration principle
1, Introduction
Traditional SSM framework development requires a variety of configuration files, application xml,springmvc.xml,web.xml and so on, and then compile and package the written program, and throw it into tomcat's webapp for deployment and startup. However, after the development of the follow-up framework, it can basically achieve zero ...
Added by duke on Wed, 05 Jan 2022 14:38:57 +0200
SpringCloud service gateway quickly landed in practice
Application of service gateway in microservice
Foreign service challenges
The application system of microservice architecture is very large. The basic components that need to be deployed independently include registration center, configuration center and service bus, Turbine exception aggregation and monitoring disk, call chain tracki ...
Added by pollysal on Wed, 05 Jan 2022 08:19:15 +0200
Spring Cloud Open Feign series [5] integrates ribbon to achieve client load balancing
load balancing
The English name of Load Balance is Load Balance, which means that the load (work task) is balanced and distributed to multiple operating units for operation.
In the distributed architecture, there must be multiple copies of a service background. At this time, the load balancing component is required to allocate the traffi ...
Added by ghqwerty on Wed, 05 Jan 2022 04:24:15 +0200
Getting started with Spring cloud-2: building order module services
note: this spring cloud introduction demo is to make an order module micro service.
1. Order micro service
the business logic of this introductory demo is to call the order micro service, that is, when the user places an order, we need to call the order micro service to place an order, and we can also view our order. Therefo ...
Added by w.geoghegan on Tue, 04 Jan 2022 21:17:28 +0200
An implementation of micro service authentication
This article mainly introduces the implementation of authentication based on the combination of client token and gateway API.
In this way, the request header or parameter of each request must carry a token, and all requests must pass through the gateway, which effectively hides the micro service.
At present, there are common ways to generate ...
Added by daglasen on Tue, 04 Jan 2022 17:02:44 +0200
Microservice deployment on k8s platform
Micro services involved
demo involving three microservices:
Service registration and discovery: Eureka serverManagement service: admin serviceUser service: User Service
The management service and User service will register with eureka. When accessing the add user api of the Admin service, the Admin service will call the add user api of the U ...
Added by jcubie on Tue, 04 Jan 2022 00:19:23 +0200
Implement the microservice warm-up call before starting the service
Continue to analyze other access points.
Analysis of other access points requiring initialization
Sometimes we need to do some custom initialization operations, but how to do these operations before registering in the registry with the status of UP, that is, before starting to process requests?
In order to be more compatible with the cloud envi ...
Added by onewaylife on Mon, 03 Jan 2022 23:04:11 +0200
Spring Cloud Open Feign series [11] Feign codec Encoder and Decoder source code analysis
summary
In the real world, the concept of codec exists. Encoding is the process of transforming information from one form or format to another. Decoding is the inverse process of encoding. It is widely used in computer, television, remote control and communication.
In the program, this concept is also widely used, such as Base64 encoding ...
Added by gavinbsocom on Mon, 03 Jan 2022 22:45:47 +0200
Spring Cloud Alibaba: demonstration of local and distributed transactions & used by Seata
The concepts related to transactions will not be introduced. This blog first demonstrates local transactions and distributed transactions, and then introduces the basic use of Seata. Later, it will introduce Seata's cluster, registry, configuration center and various transaction modes.
Version Description
Construction works
A parent module ...
Added by lynncrystal on Mon, 03 Jan 2022 19:08:49 +0200