{"title":"An Improved Token Bucket Algorithm for Service Gateway Traffic Limiting","authors":"Lang Li, Xinming Tan, Chao Deng","doi":"10.5220/0008098802220226","DOIUrl":null,"url":null,"abstract":"In the Spring Cloud micro-service system, the gateway Zuul, as the entrance to all internal services, must carry out the traffic limiting operation to guarantee the stability of the service in the case of high concurrency. The traditional token bucket traffic shaping algorithm cannot guarantee the stability of core services. In order to solve this problem, this paper designed an overload protection strategy based on URI configuration file in combination with gateway Zuul, which can filter the request before acquiring the tokens. It improved the token bucket algorithm, realized the traffic limiting function and guaranteed the stability and immediacy of the core service process.","PeriodicalId":415288,"journal":{"name":"Proceedings of the International Conference on Advances in Computer Technology, Information Science and Communications","volume":"32 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the International Conference on Advances in Computer Technology, Information Science and Communications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.5220/0008098802220226","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
In the Spring Cloud micro-service system, the gateway Zuul, as the entrance to all internal services, must carry out the traffic limiting operation to guarantee the stability of the service in the case of high concurrency. The traditional token bucket traffic shaping algorithm cannot guarantee the stability of core services. In order to solve this problem, this paper designed an overload protection strategy based on URI configuration file in combination with gateway Zuul, which can filter the request before acquiring the tokens. It improved the token bucket algorithm, realized the traffic limiting function and guaranteed the stability and immediacy of the core service process.