Consistent Hashing Packet Router
Last asked Nov 20, 2026 Roles SWE
Route each packet identifier to one of the active backend servers so the same identifier always maps to the same server, and so adding or removing a server moves as few identifiers as possible. Part 1 — Stable mapping: given the list of active server IDs and a packet identifier (for example a source IP address and port), return the server that handles the packet. With an unchanged server set, the same identifier must always map to the same server. Part 2 — Dynamic servers: servers can be added or removed at any time. Adding server4 should let it receive traffic while keeping as many existing
consistent hashing binary search hashing
Amazon Members-only question
Last asked Nov 20, 2026 Roles SWE
object-oriented design strategy pattern hashmap
Amazon Members-only question
Last asked Nov 20, 2026 Roles SWE
hashmap bucket-sort top-k streaming
+ 195 more Amazon questions
New users receive 1 free token Sign up to unlock a question or try a solve
Get Started
Amazon Members-only question
Last asked Nov 20, 2026 Roles SWE
greedy sorting two pointers
Amazon Members-only question
Last asked Nov 20, 2026 Roles SWE
Amazon Members-only question
Last asked Nov 20, 2026 Roles SWE
Amazon Members-only question
Last asked Nov 18, 2026 Roles SWE
grid bfs binary-search shortest-path
Amazon Members-only question
Last asked Nov 17, 2026 Roles SWE
Amazon Members-only question
Last asked Nov 17, 2026 Roles SWE
Amazon Members-only question
Last asked Nov 13, 2026 Roles SWE
heap sliding window streaming hashmap
Amazon Members-only question
Last asked Nov 13, 2026 Roles SWE
Amazon Members-only question
Last asked Nov 11, 2026 Roles SWE
sliding window prefix arrays string
Amazon Members-only question
Last asked Nov 11, 2026 Roles SWE
Amazon Members-only question
Last asked Nov 11, 2026 Roles SWE
Amazon Members-only question
Last asked Nov 11, 2026 Roles SWE
Amazon Members-only question
Last asked Nov 11, 2026 Roles SWE
Amazon Members-only question
Last asked Nov 10, 2026 Roles SWE
Amazon Members-only question
Last asked Nov 10, 2026 Roles SWE
Amazon Members-only question
Last asked Nov 10, 2026 Roles SWE
string trie backtracking ambiguous-spec
Amazon Members-only question
Last asked Nov 7, 2026 Roles SWE
object-oriented design hashmap expiry
Amazon Members-only question
Last asked Nov 7, 2026 Roles SWE
object-oriented design heap
Amazon Members-only question
Last asked Nov 7, 2026 Roles SWE
Amazon Members-only question
Last asked Nov 3, 2026 Roles SWE
interval interval-aggregation sorting
Amazon Members-only question
Last asked Oct 29, 2026 Roles SWE
string backtracking word break
Amazon Members-only question
Last asked Oct 29, 2026 Roles SWE
Amazon Members-only question
Last asked Oct 29, 2026 Roles SWE
Amazon Members-only question
Last asked Oct 20, 2026 Roles SWE
object-oriented design hashmap
Amazon Members-only question
Last asked Oct 18, 2026 Roles SWE
dynamic programming string
Amazon Members-only question
Last asked Oct 16, 2026 Roles SWE
graph bfs union find sorting
Amazon Members-only question
Last asked Oct 15, 2026 Roles SWE