Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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)



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".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: