Re: Experimental "peer to peer" modular programming concept
- Posted by ryanj May 06, 2015
- 2000 views
ghaberek said...
What you're describing is a publish-subscribe pattern, not a peer-to-peer model, mostly because this is a one-to-many relationship, and peer-to-peer is by definition one-to-one.
Ah, i see. Interesting.
ghaberek said...
I suggest renaming your "send" function to "publish" or "post", because that is the conceptual opposite of "subscribe".
I've played around with this concept in ZeroMQ, which is pretty nifty. It provides a "PUB/SUB" (publish/subscribe) pattern, among others.
-Greg
I like the "publish" terminology better. Thanks.