Spring cloud application startup process analysis

  spring cloud must be familiar to everyone. It provides developers with tools to quickly build some common patterns in distributed systems, such as configuration management, service discovery, circuit breaker and load balancing. As the saying goes, if you want to be good at something, you must first use your tools. Today, let's disassembl ...

Posted by neuromancer on Wed, 12 Jan 2022 13:08:13 +0100

The most complete introductory SpringCloud tutorial ever, taking you deep from scratch ♂ Learning - Hystrix Components: Service Degradation and Dashboard Flow Monitoring

SpringCloud (10) - Hystrix Components: Service Degradation and Dashboard Flow Monitoring service degradation Service downgrade means that when server pressure increases sharply, some services and pages are not handled strategically according to actual business conditions and traffic, or handled in a simple way, thereby releasing server resour ...

Posted by deathrider on Mon, 10 Jan 2022 18:32:17 +0100

Spring cloud-day08 single sign on system

Single sign on system 1. SCA system project The purpose of this project is to check the permissions in the database according to the Id and whether there are users in the database according to the usename. This part is very similar to the third stage. (1) The most important POM files are database connection dependency and mybatis plus depend ...

Posted by MrAlaska on Mon, 10 Jan 2022 02:37:27 +0100

SpringCloud Day04 - service degradation (Hystrix)

7. Hystrix circuit breaker 7.1 general 7.1.1 problems faced by distributed system Applications in complex distributed architecture have dozens of dependencies, and each dependency will inevitably fail at some time. Service avalanche When calling between multiple microservices, suppose microservice A calls microservice B and microservi ...

Posted by zevious on Sun, 09 Jan 2022 10:52:45 +0100

Crazy God says spring cloud learning notes

Foreword: SpringBoot notes in station B crazy God talk Java, Portal UP is nice, the course is vivid, welcome to support. 1, What is micro service Overall deployment: it is difficult for the change of each module not to affect other modules, resulting in a long change cycle. The expansion needs to be expanded as a whole rather than partially.A ...

Posted by bagpuss03 on Sat, 08 Jan 2022 17:43:57 +0100

Getting started with Spring cloud-5: Service Registry Eureka Service Discovery & self protection mechanism

1. Service discovery   in the last blog post, Eureka cluster environment has been built. As shown in the figure above, three services have been registered in the eureka cluster: order service (80018002) and consumption order module 80. At this time, we want to check how many services have been registered in the service registry. What ...

Posted by danielle on Sat, 08 Jan 2022 12:37:57 +0100

Spring Cloud Gateway deadly serial 10 Q?

This article introduces an important role in microservices: gateway. As for how to select a gateway, Alibaba has not yet selected a gateway. Of course, it has chosen Spring cloud Gateway. After all, it is my son. The article contents are as follows: Why do I need a gateway? In the traditional monomer architecture, only one service is ope ...

Posted by bonaparte on Fri, 07 Jan 2022 10:35:37 +0100

Spring cloud -- Rest is called with RestTemplate

Overview of microservices 1 what is micro service? Microservice architecture is an architecture mode, or architecture style. Its length divides a single application into a group of small services. Each service runs in its own independent process. Services coordinate and configure with each other to provide final value for users. Services ...

Posted by porto88 on Thu, 06 Jan 2022 02:10:23 +0100

Feign design principle

What is Feign? Feign means "pretend, disguise and deform" in English. It is a lightweight framework for HTTP request calling. It can call HTTP requests in the way of java interface annotation instead of directly calling them by encapsulating HTTP request messages in Java. Feign templates the request by processing annotations. When it ...

Posted by nicandre on Wed, 05 Jan 2022 23:45:53 +0100

Spring Cloud Alibaba uses Seata to solve distributed transactions

Why do distributed transactions occur? With the rapid development of business, website system often evolves from single architecture to distributed and micro service architecture, while for database, it changes from stand-alone database architecture to distributed database architecture. At this time, we will split a large application system in ...

Posted by phpbeginer on Wed, 05 Jan 2022 17:35:53 +0100