SpringCloudAlibaba - integrate Sentinel to realize service flow restriction

preface Sentinel is a lightweight flow control component for distributed architecture. It mainly takes flow as the starting point to ensure the stability of micro services from multiple dimensions such as flow restriction, flow shaping, service degradation and system load protection. Sentinel provides very flexible and powerful flow restri ...

Posted on Fri, 24 Sep 2021 09:57:20 -0400 by eco

Microservices -- Spring Cloud Alibaba 02 (Nacos)

The last one explained the relationship and concepts between them. This one is about practical operation 1, Configuration in Nacos service registration 1. Overview:          In microservices, the first problem we need to face is how to find services (software is a service), and the second is how to com ...

Posted on Tue, 21 Sep 2021 00:23:16 -0400 by Ryodox

Spring cloud Alibaba Seata solves distributed transactions

Spring cloud Alibaba Seata solves distributed transactions Seata is an open source distributed transaction solution of Alibaba. It is committed to providing high-performance and easy-to-use distributed transaction services. This paper will introduce its usage in detail through a simple single business scenario. What is a distributed transacti ...

Posted on Mon, 20 Sep 2021 02:31:14 -0400 by dotBz

SpringCloudAlibaba Nacos service registration and configuration center

Introduction to SpringCloud Alibaba 1. Why does SpringCloud Alibaba appear Because the Spring Cloud Netflix project enters the maintenance mode, you can see the details Official website description. What is maintenance mode? Putting the module in maintenance mode means that the Spring Cloud team will no longer add new functionality t ...

Posted on Sun, 19 Sep 2021 11:29:54 -0400 by Mordred

Spring MVC series (14) - file upload and download

Media Type When uploading files, you need to specify the media type. There are the following two types. multipart/form-data In HTML, the enctype attribute in the form specifies how the form data should be encoded before being sent to the server. By default, the form data is encoded as "application/x-www-form-urlencoded". That is, ...

Posted on Sun, 19 Sep 2021 05:25:46 -0400 by littlehelp

Feign of spring cloud, service communication (declarative REST client)

RestTemplate is used in the previous study of calling between micro services. This chapter will learn Feign to communicate between services FeignClient simplifies the writing of requests and selects which service to use for consumption through dynamic load. All this is realized by Spring dynamic configuration. We don't care about these, just ...

Posted on Sat, 18 Sep 2021 07:02:54 -0400 by scrupul0us

Use of feign in spring cloud and source code analysis

Use of feign in spring cloud and source code analysis The role of feign Feign can achieve the same experience as calling local methods when using HTTP to request remote services. Developers are completely unaware that this is the remote party Method, and I don't realize that this is an HTTP request. Like Dubbo, the consumer directly calls the ...

Posted on Fri, 17 Sep 2021 22:59:52 -0400 by shamoon

[Spring Cloud] Spring Cloud Sleuth usage record

preface Spring Cloud Sleuth components mainly play the role of error location and troubleshooting and link performance analysis under the Spring Cloud microservice system. This paper mainly illustrates some usage scenarios of Spring Cloud Sleuth Official illustration: Popular understanding, Tracer Represents the entire complete request, ...

Posted on Tue, 14 Sep 2021 01:32:56 -0400 by Cerebral Cow

Spring cloud learning notes

SpringCloud 1 Overview The one-stop solution of distributed microservice architecture is a collection of landing technologies of a variety of microservice architectures, commonly known as microservice architecture java8mavengitNginxrabbitMQSpringBoot2.0 form Service registration and discovery eureka, zookeeper, nacosService call netfli ...

Posted on Mon, 13 Sep 2021 16:03:35 -0400 by ramjai

Gateway Micro-Service Setup for SpringCloud Project (optional)

5. Gateway Micro-Service Setup (Optional) 5.1 Create Gateway Service Subproject 5.1.1 Introducing Dependency Creating a subproject is just like any other subproject, which is not covered here. In addition to inheriting parent project dependencies, you need to introduce gateway dependencies and Eureka clients: <dependency> <gro ...

Posted on Tue, 07 Sep 2021 20:38:07 -0400 by drimades