3 ms·
> The messages are delivered into a PUSH (publish) ØMQ socket (ala Mongrel2) ... Backend subscribers use a PULL (subscribe) socket to process the SPDY stream I
by rdtsc 15y ago
> The messages are delivered into a PUSH (publish) ØMQ socket (ala Mongrel2) ... Backend subscribers use a PULL (subscribe) socket to process the SPDY stream
I might be fuzzy on my 0MQ knowledge and Mongrel2 but I thought PUSH/PULL are distinct socket types from PUB/SUB...
- riobard 15y agoThey should call it “backend workers” instead. Backend “subscribers” (think ”workers” please) don't use PUB/SUB because then the same message will be delivered to every worker. You hardly want that behavior to process web requests. PUSH sockets only deliver the same message to one PULL socket.