Replica Load Balancing with Delayed Feedback
Compare a uniform request rule with sampling current load and explain how delayed measurements affect admission.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Equal destinations need not see equal work
Choose a replica uniformly for each independent request. Counts can vary by chance and request costs can vary even at equal counts. A policy sampling two replicas and selecting the one with a shorter observed queue can avoid some local buildup. Its decision depends on how accurate that observation is and whether requests are comparable enough for queue length to predict delay.
Capacity and freshness can conflict
If many dispatchers use the same stale measurement, all may favor a server that was briefly idle. Fresh bounded feedback, randomized selection and admission limits can reduce this synchronization. A replica also needs to be eligible for the requested data version. Consistent hashing organizes membership and partition ownership. Little’s law relates mean load and time for the measured boundary.[1][2]