An Improved Token Bucket Algorithm for Service Gateway Traffic Limiting

Lang Li, Xinming Tan, Chao Deng

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.

Download


Paper Citation


in Harvard Style

Li L., Tan X. and Deng C. (2019). An Improved Token Bucket Algorithm for Service Gateway Traffic Limiting.In Proceedings of the International Conference on Advances in Computer Technology, Information Science and Communications - Volume 1: CTISC, ISBN 978-989-758-357-5, pages 222-226. DOI: 10.5220/0008098802220226


in Bibtex Style

@conference{ctisc19,
author={Lang Li and Xinming Tan and Chao Deng},
title={An Improved Token Bucket Algorithm for Service Gateway Traffic Limiting},
booktitle={Proceedings of the International Conference on Advances in Computer Technology, Information Science and Communications - Volume 1: CTISC,},
year={2019},
pages={222-226},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0008098802220226},
isbn={978-989-758-357-5},
}


in EndNote Style

TY - CONF

JO - Proceedings of the International Conference on Advances in Computer Technology, Information Science and Communications - Volume 1: CTISC,
TI - An Improved Token Bucket Algorithm for Service Gateway Traffic Limiting
SN - 978-989-758-357-5
AU - Li L.
AU - Tan X.
AU - Deng C.
PY - 2019
SP - 222
EP - 226
DO - 10.5220/0008098802220226