Spring Cloud Config distributed configuration

summary Configuration file problems faced by distributed systems Microservice means to split the business in a single application into one sub service. The granularity of each service is relatively small, so there will be a large number of services in the system. Since each service needs the necessary configuration information to run, a s ...

Posted by biggieuk on Sun, 24 Oct 2021 19:54:20 +0200

RabbitMQ -- idempotent, priority queue, inert queue

Idempotency concept The results of one request or multiple requests initiated by the user for the same operation are consistent, and there will be no side effects due to multiple clicks. The simplest example is payment. The user pays after purchasing goods, and the payment deduction is successful. However, when the result is returned, th ...

Posted by hkucsis on Tue, 19 Oct 2021 21:33:10 +0200

(74) what is the service degradation of java Spring Cloud+Spring boot+mybatis enterprise rapid development architecture? How is Spring Cloud implemented?

When the traffic increases sharply and the service has problems, some processing needs to be done, such as service degradation. Service degradation is to stop some services or do not conduct business processing, and release resources to maintain the functions of main services. Recommended distributed architecture Source address    When an e-c ...

Posted by sbcwebs on Tue, 12 Oct 2021 06:04:35 +0200

SpringCloudAlibaba - Implementation of RocketMQ Distributed Transaction Message

Preface RocketMQ provides transaction messages to resolve issues where the program rolls back abnormally but the message has been sent, such as service B needs to modify user data after service A inserts a data, service A sends a message and program exception causes data insertion rollback, while service B listens for messages and modifies ...

Posted by merrydown on Tue, 28 Sep 2021 18:04:57 +0200

Consul service registration and discovery of Spring Cloud - 07 (personal note)

1. About Consul Consul It is an open-source distributed service discovery and configuration management system developed by HashiCorp using Go language, which provides the functions of service governance, configuration center, control bus and so on in the micro service system. Each function can be used alone or together to build a comprehensive ...

Posted by Petsmacker on Thu, 16 Sep 2021 03:59:02 +0200

Spring cloud series, service registry Eureka Foundation

1. Registry of microservices The registry can be said to be the "address book" in the micro service architecture. It records the mapping relationship between services and service addresses. In the distributed architecture, all services are registered here. When a service needs to call other services, it can be called by finding t ...

Posted by zamzon on Tue, 14 Sep 2021 07:15:16 +0200

[Feign source code] the class of parsing method -- Contract

This article describes how to map data in a method to request data, such as which are request parameters, which are request bodies, and which are request headers... Interface The function of this interface is to parse the methods in the class. Each method resolves to MethodMetadata. public interface Contract { /** * Contract Provides i ...

Posted by Swede78 on Fri, 10 Sep 2021 12:10:24 +0200

Spring Cloud and microservices

Spring Cloud is one of the projects under spring. It integrates some popular technologies and realizes functions such as configuration management, service discovery, intelligent routing, load balancing, fuse, control bus, cluster status and so on. The main components involved include: Eureka: Registration CenterZuul: service gateway (now c ...

Posted by ss32 on Thu, 09 Sep 2021 20:58:19 +0200