|
|
|
|
|
by haimez
1039 days ago
|
|
> "Pick two randomly" requires no state. Every thread and server can run the same algorithm without regard for each other. That’s not quite true. Picking between two “buckets” still requires knowing how many “balls” are in each which is state. That state can be local to each server or global, that state can be accessed concurrently or synchronously, but you still have the same problem to solve. |
|