Getting started with ZeroMQ
summary
ZeroMQ is a sockets library that replaces raw TCP with higher-level patterns and cross‑language bindings, not a brokered queue. Concrete claims: request–reply enforces alternating send/receive and ordered delivery, pub–sub streams drop messages unless consumers exist and can filter by prefix, push–pull load balances work across many workers, and spooling to disk exists but spool files are not recoverable after a crash. Install via brew + gem on OS X; Windows and inproc have quirks. Demo shows very low latency and trivial failover when a peer restarts.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 2:33Scalability
- 4:18Actor Model
- 7:47Installing ZeroMQ
- 10:17Request Reply
- 15:26Public Subscribe
- 22:44Architectures
- 22:55PushPull
- 23:39Pair Socket
- 24:14Durable Socket
- 26:05TLDR
- 26:18Questions
related talks
40mDistribution, Scale and Flexibility with ZeroMQ
27mRuby Messaging Patterns
59mMicroservice Swarms: Decentralized Discovery and Scaling
41mDecouple all the things: Asynchronous messaging keeps it simple
46mReal-world Examples of Message Queue Usage: Insights from RabbitMQ
30mQueue Based Architectures with AMQP
48mA Beginner's Guide to Inter-Service Messaging
15mMQTT and Node.js Messaging the Internet of Things
