ZeroMQ
Messaging for Many Applications
Publisher: O'Reilly Media
Final Release Date: March 2013
Pages: 516

Dive into ØMQ (aka ZeroMQ), the smart socket library that gives you fast, easy, message-based concurrency for your applications. With this quick-paced guide, you’ll learn hands-on how to use this scalable, lightweight, and highly flexible networking tool for exchanging messages among clusters, the cloud, and other multi-system environments.

ØMQ maintainer Pieter Hintjens takes you on a tour of real-world applications, using extended examples in C to help you work with ØMQ’s API, sockets, and patterns. Learn how to use specific ØMQ programming techniques, build multithreaded applications, and create your own messaging architectures. You’ll discover how ØMQ works with several programming languages and most operating systems—with little or no cost.

  • Learn ØMQ’s main patterns: request-reply, publish-subscribe, and pipeline
  • Work with ØMQ sockets and patterns by building several small applications
  • Explore advanced uses of ØMQ’s request-reply pattern through working examples
  • Build reliable request-reply patterns that keep working when code or hardware fails
  • Extend ØMQ’s core pub-sub patterns for performance, reliability, state distribution, and monitoring
  • Learn techniques for building a distributed architecture with ØMQ
  • Discover what’s required to build a general-purpose framework for distributed applications
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyZeroMQ
 
5.0

(based on 5 reviews)

Ratings Distribution

  • 5 Stars

     

    (5)

  • 4 Stars

     

    (0)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Accurate (4)
  • Helpful examples (4)
  • Well-written (4)
  • Easy to understand (3)

Cons

    Best Uses

    • Intermediate (4)
      • Reviewer Profile:
      • Developer (4)

    Reviewed by 5 customers

    Sort by

    Displaying reviews 1-5

    Back to top

     
    5.0

    Exceptional book a must read

    By Nils

    from Stockholm Sweden

    Verified Buyer

    Comments about oreilly ZeroMQ:

    Excellent description Of zero MQ but the real value is the description Of how to Build a community

    (3 of 3 customers found this review helpful)

     
    5.0

    Distributed Systems and Communities

    By Alejandro Cabrera

    from Duluth, GA, USA

    About Me Developer

    Verified Reviewer

    Pros

    • Accurate
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Expert
      • Intermediate
      • Student

      Comments about oreilly ZeroMQ:

      I was pleasantly surprised by this book. I came in expecting to learn about the magic of ZeroMQ, and I came out knowing not only more about ZeroMQ itself, but also distributed systems and community building.

      The first chapter primes the rest of the text, preparing the reader to not only learn more about the world of distributed computing, but also begins instilling a certain excitement about how things could be so much easier, and how ZeroMQ enables this. This is surprising, as very few technical texts manage to become page-turners so quickly.

      The next four chapters are a deep dive into ZeroMQ (and distributed systems) best practices. Heartbeats, publish/subscribe, request/reply, round-robin task distribution, and then composing all of these patterns and more. It's a collection of best practices without seeming like a dictionary. I could spend a few months practicing and studying these best practices and I'd feel like I knew more about how to build reliable systems.

      The last half of the book is all about how to build communities and processes that last. Building distributed systems requires effective communication. There's a wealth of knowledge in the last portion of the book about how to enable that. Some great advice includes:

      - separate maintainers from contributors
      - use Github (which can be interpreted as: make issue tracking, persistent comments, and code review *really* easy)

      A good chunk of the community building device is available as the ZMQ C4 guide. It's elaborated on much more deeply in this book, which I appreciate. C4 is the contract; this book is the rationale.

      If you're interested or need to build a system that's highly concurrent, has high reliability and/or performance requirements, and even if you can't use ZMQ to build said system, get this book anyway. You'll learn a lot in the process that you can apply to making network (and team) communication much more effective.

      (6 of 6 customers found this review helpful)

       
      5.0

      "ZeroMQ" by Pieter Hintjens; O'Reilly Me

      By Munish K Gupta

      from Bangalore, India

      About Me Developer

      Verified Reviewer

      Pros

      • Accurate
      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Expert
        • Intermediate

        Comments about oreilly ZeroMQ:

        Pieter Hintjens, one of pioneers of the distributed computing and author of ZeroMQ library explains the basic premise behind ZeroMQ design and community. He covers fundamentals of designing large distributed applications using ZeroMQ library.

        First and foremost, the book is meant for intermediate to advanced programmers. You need to be aware of the networking concepts. All examples are in C, so you should have good enough grounding in the language. Once you are past these, understanding the concepts in the book is fairly easy.

        First part of the book is about Learning to work with ZeroMQ. This section covers all the patterns – Request-Reply, Dealer-Router, Pub-Sub, Proxy, Load Balancing and their combination and usage with each other. The example scenarios detail the scenario's where these patterns fit in. This section also covers how to build reliability and availability as part of the distributed application.

        Second part of the book is about Software Engineering with ZeroMQ. This section covers the basic philosophy behind the ZeroMQ community, advanced architecture using ZeroMQ. The advanced architecture covers things like Contract definition, Protocols, Security, State machines and Data serialization. The author takes a sample application FileMQ – ability to exchange files between two devices la Dropbox and works through the design of the API and Protocol. We also see how to simulate real life scenario's to test the application.

        Overall, ZeroMQ is a must have book on your shelf if you are building or ready to build distributed applications.

        (3 of 3 customers found this review helpful)

         
        5.0

        Comprehensive guide to ZeroMQ

        By Przemysław

        from Kraków

        About Me Developer

        Verified Reviewer

        Pros

        • Accurate
        • Concise
        • Easy to understand
        • Helpful examples
        • Well-written

        Cons

          Best Uses

          • Intermediate
          • Novice
          • Student

          Comments about oreilly ZeroMQ:

          Book has two parts: "Learning to work with ØMQ" & "Software Engineering Using ØMQ".

          In first part author presents basics, socket and a lot of different different patterns. Examples are quite easy to grasp, many of them are continuations of others or they are different approach solving particular problem.

          Second part covers more advanced stuff (advanced architecture, framework for distributed computing). I really like chapter devoted to ZeroMQ community — it contains tips how to handle open source project, choose good license, make life easier for contributors, etc.

          Book contains a lot of code written in C, but feel free to check this repository: https://github.com/imatix/zguide. There are examples written in many different languages. I really like author's sense of humour, grasping different concepts is much more pleasant if written in funny, entertaining way.

          (3 of 3 customers found this review helpful)

           
          5.0

          Hard to imagine a better intro to 0MQ

          By N.O.

          from Germany

          About Me Designer, Developer

          Pros

          • Accurate
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

            Best Uses

            • Intermediate
            • Novice

            Comments about oreilly ZeroMQ:

            If you need to handle any kind message passing or deal with raw TCP sockets, ZeroMQ should be given a serious consideration, and this book is a great place to start. It takes you from the basic concepts over a number of common usage patterns to some fairly advanced applications.
            Very informative, easy to understand, and, as a special bonus, highly entertaining.

            Displaying reviews 1-5

            Back to top

             
            Buy 2 Get 1 Free Free Shipping Guarantee
            Buying Options
            Immediate Access - Go Digital what's this?
            Ebook: $45.99
            Formats:  DAISY, ePub, Mobi, PDF
            Print & Ebook: $54.99
            Print: $49.99