Tag:Current limiting

  • How Taobao ensures business stability — Noah adaptive flow control


    Noah’s adaptive flow control solution is based on automatic control algorithm, which solves the pain point of manual current limiting configuration omission or outdated, and greatly improves the ability of application to resist flow impact. In the past double-11, Noah has guaranteed a large number of business application systems, with large-scale deployment of more than […]

  • It’s just a few steps to finish the second kill!!


    Soul torture Second kill this kind of large concurrent writing scene, directly sub database sub meter open dry? Is it hard to deal with the traffic peak of seckill? Don’t fool me with Taobao level seconds Characteristics of seckilling activities I dare say that all the students who have done e-commerce will encounter the “high […]

  • Dubbo source code analysis — current limiting


    Dubbo current limiting Dubbo’s current limiting acts on the provider. It can ensure the stability and security of the system in the case of high concurrency. Avoid letting the system be overwhelmed by traffic, resulting in the unavailability of the overall service. practice ProviderAdd similar configuration <dubbo:service interface=”com.huang.yuan.api.service.DemoService” ref=”demoServiceImpl” version=”1.0″ delay=”5000″ filter=”tps”> <dubbo:parameter key=”tps” value=”1″/> […]

  • Understanding and summary of dealing with high concurrency scenarios


    More than a year after graduation, I have had some practical experience in the high concurrency of “compulsory examination” in the student interview, mainly the reading interface under the high concurrency state. Here is a record and summary. In my opinion, if a back-end process is to be able to withstand high concurrency and large […]

  • “Clustering, current limiting and caching bat big factories are just like this”


    preface A while ago, some netizens asked, how to optimize the website? This problem is really big. After a simple chat with him, I casually said a few points. I felt it necessary to sort out an article. I was doing a crawler blog a while ago, so I shared my general ideas and shared […]

  • Write a random article. Will anyone read it


    Selection of Middleware cache ehcache memcache redis Guava Cache https://www.pdai.tech/md/arch/arch-y-cache.html#%E7%BC%93%E5%AD%98%E5%AE%9E%E7%8E%B0-%E6%9C%AC%E5%9C%B0%E7%BC%93%E5%AD%98 To solve the problems of cache warm-up, concurrency, penetration, jitter, avalanche, and consistency, it needs to be selected according to needs, and there is no recommendation Current limiting Current limiting algorithm Guava RateLimiter queue mq RabbitMq [*] mq ActiveMq mq ZeroMQ mq RocketMQ MQ redis […]

  • Run well java process, how suddenly paralyzed


    Memory recycling has always been a pain in Java You can’t make products like redis with Java. Java Memory recycling mechanism makes us do not need to pay attention to the object recycling when we write code. At the same time, it increases the consumption of memory recycling. Mark copy needs to do memory copy, […]

  • Related problems of TCP proxy service


    TCP proxy server Develop a simple version of TCP proxy server. The following is the flow chart of TCP proxy server: advantage: Expansibility Error trapping Operation of breaking current and limiting current load balancing Disadvantages: No log operation Compatibility, lack of compatibility with redis, etcd and other services

  • Microservice: spring cloud + zuul gateway + Eureka integration


    The last article briefly talked about the integration of spring cloud and Eureka. It mainly solves the problem of service registration and call between microservices. This article integrates zuul, and then combines with spring cloud, Eureka, zuul environment for real system debugging to help better understand these components. After all, real combat is the fastest […]

  • Devops – from progressive delivery (including practical demo)


    Author: coding – Wang Wei 1. Opening What would you do if you were asked to lead the functional iteration of a product with tens of millions or even billions of users? The challenges you need to face may come from: The change of business strategy brings new demands for products, and any change of […]

  • Practice of high availability of service mesh in enterprise production


    Service mesh virtual meetup is a live online series jointly sponsored by servicemesher community and CNCF. In this issue, we invited four guests from different companies to share the application practice of service mesh from different perspectives, including the production practice of service mesh from Momo and Baidu, the observability and production practice of service […]

  • Distributed current limiting based on redis + Lua


    1、 Create a mavne project named rate_ Limiter and introduce the dependency of Lombok and guava. <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>29.0-jre</version> </dependency> 2、 At rate_ Under the limiter project, create a new one named ratelimiter_ Annotation sub module, add redis dependency in the POM file of the module. <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> […]