ØMQ (also spelled ZeroMQ, 0MQ, or ZMQ) is a high-performance asynchronous messaging library aimed at use in scalable distributed or concurrent applications. It provides a message queue, but unlike message-oriented middleware, a ØMQ system can run without a dedicated message broker. The library is designed to have a familiar socket-style API.
“ZeroMQ” teaches you to use ZeroMQ through examples in C programming language. You will learn how to use fundamental patterns of message/queuing with a step-by-step tutorial approach and how to apply them. Then, you’ll learn how to use high level APIs and to work with multiple sockets and multithreaded programs through many examples.
This book looks at how message/queue works in general and what kinds of problems it solves. Then, it explains how ZeroMQ works and how it differs from other message/queue libraries and how it can be used in different scenarios.
You will also learn how to apply essential message/queue design patterns in different scenarios, and how they differ from each other. It shows you practical examples you can apply. You will also learn how to work with multiple sockets.
You will learn the basics of ZeroMQ as well as how to use different patterns.
What you will learn from this book
- Implement the request–reply pattern
- Implement the pub–sub pattern
- Work with multiple sockets
- Work with multithreaded programs
- Detect memory leaks
- Route schemes
- Learn the difference between TCP sockets and ZeroMQ sockets
A practical, step-by-step example-rich tutorial.
Who this book is for
If you are a C developer who wants to learn about ZeroMQ, this book is for you. It is assumed that the reader has C experience at some level but prior ZeroMQ knowledge is not expected.
- Paperback: 108 pages
- Publisher: Packt Publishing (March 2013)
- Language: English
- ISBN-10: 178216104X
- ISBN-13: 978-1782161042