• Login
  • Register
  • Search

Group-batching Algorithm for High-throughput Network Requests

Hongke Sun, Xin Shan

Abstract


It is common in distributed cloud systems to enhance the throughput of the system by grouping multiple API requests into a single batch API request to complete tasks in bulk. It is easy to batch them when the tasks are already managed by a single synchronous thread. But it is hard to group independent asynchronous tasks into several batches, each having its own unique attributes. This paper designed a leader election algorithm to effectively group high-throughput requests into several batches based on the requests’ attributes. So that the upstream service is less likely to be throttled by the downstream service, and the downstream service has lower workload.

Keywords


Distributed system; High-throughput; Leader election algorithm; Batch processing

Full Text:

PDF

Included Database


References


[1] AWS documentation of DynamoDB Global Secondary Index: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GSI.html

[2] AWS documentation of DynamoDB read consistency: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html

[3] AWS documentation of SQS delay seconds and visibility timeout: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-delay-queues.html




DOI: http://dx.doi.org/10.18686/ahe.v7i19.9422

Refbacks