Hacker News new | ask | show | jobs
by AceJohnny2 234 days ago
Because I had to look it up:

SPSC = Single Producer Single Consumer

MPMC = Multiple Producer Multiple Consumer

(I'll let you deduce the other abbreviations)

2 comments

S = Single

M = Multi

---

C = Consumer

P = Producer

They could have named that 1:1, 1:n, n:m, n:1, but deemed it too old and unfashionable.
Which side is producer and which is consumer? I don't think fashion has anything to do with it.
If anyone reads it as to:from, they're wrong.

We read left to right, so <producer>:<consumer> is the natural order.

How do you read "X:Y": "X to Y" or "Y to X"? And how do you treat "to" - as direction from an origin to a destination or vice versa? As in "I send it to you".