Second shallow encapsulation practice in microservice architecture

1, Background introductionThere are many split services in the distributed system. In the process of continuous iterative upgrading, the following common thorny situations will occur:For the version upgrade of a technical component, depending on the package upgrade leads to the expiration of some syntax or API, or the component fixes urgent vul ...

Posted by pohopo on Mon, 22 Nov 2021 01:25:14 +0100

Adaptive load shedding for microservice governance

Why do I need to reduce the load In micro service clusters, the call link is perplexing. As a service provider, there is a mechanism to protect itself, which prevents the caller from calling himself down without any brain calls and ensuring the high availability of his services. The most common protection mechanism is the current limiting mech ...

Posted by access9 on Sun, 21 Nov 2021 22:09:17 +0100

Springcloud, Nacos service registration, load balancing Ribbon, http client Feign

        Spring cloud is a complete set of framework for implementing microservices based on spring boot. It provides such components as configuration management, service discovery, circuit breaker, intelligent routing, micro agent, control bus, global lock, decision-making, distributed session and cluster state management. ...

Posted by brad_fears on Sun, 21 Nov 2021 01:54:55 +0100

[Elasticsearch] learning notes - getting to know Elasticsearch

Video directions 👉 Station B dark horse micro service Super recommended!! Getting to know Elasticsearch 1. Understand ES Elastic search is a very powerful open source search engine with many powerful functions, which can help us quickly find the content we need from massive dataElastic search combines kibana, Logstash and Beats, that is ...

Posted by balsdorf on Wed, 17 Nov 2021 12:23:48 +0100

. Net Core microservice gateway: ocelot integration and introduction

What is the gateway In short, a gateway is a request entry exposed to the outside. Just like the doorman, people outside must pass through the doorman if they want to come in. Of course, the gateway is not necessarily necessary, and the back-end service can also provide services to the client through http. However, for complex and large-scale p ...

Posted by Gargouil on Sat, 06 Nov 2021 22:28:14 +0100

Microservice (distributed) component - nacos registration / configuration center / feign remote call

  1. Components to be used in the project 2. Version correspondence:   3. Import the dependencies of SpringCloudAlibaba in gulimail common:   <!--springcloudalibaba--> <!--<dependencyManagement>Indicates dependency management, which will be implemented in the futur ...

Posted by casey_00 on Mon, 01 Nov 2021 10:33:00 +0100

Experience gained after being hit many times by performance bottlenecks caused by a large number of online log outputs

Due to the large scale of online services (hundreds of millions of daily requests and hundreds of thousands of daily live users), and the complex logic involved in the business, we use the info level for the online log level, resulting in a very large amount of online logs. We often encounter performance bottlenecks caused by too slow log writi ...

Posted by ttroutmpr on Mon, 01 Nov 2021 09:47:57 +0100

SpringCloud microservice practice -- building an enterprise development framework: using Nacos distributed configuration center

With the development of business and the upgrading of micro service architecture, the number of services and the configuration of programs are increasing day by day (various micro services, various server addresses and various parameters). The traditional configuration file method and database method can not meet the requirements of developers ...

Posted by mtimdog on Sun, 31 Oct 2021 02:56:28 +0100

Seata study notes

Installation steps: Download from the official website: Official website Database preparation Deployment tutorial Simply put, you need to build a seata database in the database, which stores some data that needs to be rolled back at that time sql script You also need to create an undo table in the database you need to roll back to roll b ...

Posted by Paingiver on Tue, 26 Oct 2021 12:03:06 +0200

Principle analysis of Eureka heartbeat mechanism and automatic protection mechanism

Eureka heartbeat mechanism: After the application starts, the nodes will report to Eureka   Server sends heartbeat. The default cycle is 30 seconds. If Eureka   The server does not receive the heartbeat of a node in multiple heartbeat cycles, Eureka   The server will remove the service node from the service registry (90 seconds ...

Posted by misterguru on Mon, 18 Oct 2021 07:48:43 +0200