Hacker News new | ask | show | jobs
by gpderetta 322 days ago
Yes, but now you have contention on the queue.
1 comments

The way Erlang does it is to use buckets so it looks like a single queue to the user code but really is more like multiple queues behind the scene. Scales extremely well. It's certainly not "just moving a pointer to a piece of shared memory" though...

https://www.erlang.org/blog/parallel-signal-sending-optimiza...