Tag:Current limiting
-
Time:2021-2-25
technical analysis If you pay more attention to the current technology form, you will know that microservices are in a mess. Of course, things have two sides, and microservices are not the master key to solve the problems of technology and architecture. If the advantages of servitization outweigh the disadvantages, it is recommended that the […]
-
Time:2021-1-29
I always want to write some articles regularly and procrastinate every time.Today, I’d like to share a very accidental exception I encountered when developing API with laravel. [2020-11-13 17:34:03] local.ERROR: Argument 1 passed to Illuminate\\Routing\\Middleware\\ThrottleRequests::addHeaders() must be an instance of Symfony\\Component\\HttpFoundation\\Response, array given, called in /mnt/web/sp-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php on line 133 {“exception”:”[object] (TypeError(code: 0): Argument 1 passed […]
-
Time:2021-1-26
Mingateway was originally a small program based on the reverse proxy function of go language. In the process of using it, it gradually enriched some functions and became a small gateway program. I feel that it can basically meet the needs of small websites and apps, and replace nginx to a certain extent. If there […]
-
Time:2021-1-26
Flow limiting is one of the ways to ensure the high availability of services, especially in the micro service architecture, the flow limiting of interfaces or resources can effectively guarantee the availability and stability of services. The current limiting measures used in previous projects are mainly ratelimiter of guava. Ratelimiter is based on token bucket […]
-
Time:2021-1-7
Previously, I shared an article “how to play with the native interface current limiting of spring cloud gateway”. The core is to rely on the current limiting filter provided by spring cloud gateway by default Deficiencies of native requestratelimiter collocation method spring: cloud: gateway: routes: – id: requestratelimiter_route uri: lb://pigx-upms order: 10000 predicates: – Path=/admin/** […]
-
Time:2021-1-6
In the development of high concurrency system, there are three sharp tools to protect the system: cache, degradation and current limiting. So how to limit the flow? As the name suggests, limiting the flow is to limit the flow, just like your broadband packet of 1 g of flow, used up, no more. Simple concurrency […]
-
Time:2020-12-25
Friendly tips:This article takes about 12 minutes and 7 seconds to read. Please give me more advice on the shortcomings. Thank you for reading.Subscribe to this site The current limiter is a very important component in the background service, which is mostly used in actual business scenarios. Its design is often encountered in microservices, gateways […]
-
Time:2020-12-17
I always want to write some articles on a regular basis, and procrastination attacks every time.Today, I’d like to share a very occasional exception I met when I was using laravel to develop an API. [2020-11-13 17:34:03] local.ERROR: Argument 1 passed to Illuminate\\Routing\\Middleware\\ThrottleRequests::addHeaders() must be an instance of Symfony\\Component\\HttpFoundation\\Response, array given, called in /mnt/web/sp-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php on […]
-
Time:2020-12-14
Recently, we are often brainwashed by the fuse. The turbulence of the stock market makes the circuit breaker appear in front of us again. The fusing in microservice means that the service provider will stop the access of the service to prevent avalanche effect if it returns abnormally or responds slowly due to the reasons […]
-
Time:2020-12-12
Service current limitation Flow limiting is to limit the number of concurrency and requests when accessing scarce resources, such as seckill and rush purchase of goods, so as to effectively cut the peak and make the flow curve smooth. The purpose of current limiting is to speed limit concurrent access and concurrent requests, or to […]
-
Time:2020-12-7
Life will eventually be a single journey, before loneliness is confused, after loneliness is growth. Wedge This article is about message queuingRabbitMQThe fifth shot. The first part was intended to tellRabbitMQSome advanced uses of How to ensure the reliability of the message? How is message queue limited? How to set delay queue for delay consumption? […]
-
Time:2020-12-5
Tips: This article has been added to the reading list of series articles. You can click to see more related articles. preface In the last article, the basic construction of Ocelot API gateway has been completed, and the unification of service entrance has been realized. Of course, this is only one of the most basic […]