ZeroMQ: Messaging for Many Applications

Overview

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 ...

See more details below
Other sellers (Paperback)
  • All (21) from $25.55   
  • New (13) from $28.27   
  • Used (8) from $25.55   
ZeroMQ: Messaging for Many Applications

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

NOOK Book (eBook)
$26.49
BN.com price
(Save 42%)$45.99 List Price

Overview

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
Read More Show Less

Product Details

  • ISBN-13: 9781449334062
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 4/2/2013
  • Edition number: 1
  • Pages: 516
  • Sales rank: 1,275,648
  • Product dimensions: 6.90 (w) x 9.10 (h) x 1.20 (d)

Meet the Author

Pieter Hintjens started his first business making video games 30 yearsago and has been building software products since then. Taking as hisprinciple, "the real physics of software is the physics of people", hefocuses now on building communities through "Social Architecture",writing, and helping others use ZeroMQ profitably.

For two years he was president of the FFII, a large NGO fightingsoftware patents. He was CEO of Wikidot, founder of the EuropeanPatent Conference, and founder of the Digital Standards Organization.

Pieter speaks English, French, Dutch, and bits and pieces of a dozenother languages. He plays with a West African drum group in Brusselsand is becoming a licensed NRA pistol instructor in Texas. Pieterlives with his beautiful wife and three lovely children in Brussels,Belgium and travels extensively.

Read More Show Less

Table of Contents

Preface;
ØMQ in a Hundred Words;
The Zen of Zero;
How This Book Came to Be;
Audience;
Conventions Used in This Book;
Using the Code Examples;
Safari® Books Online;
How to Contact Us;
Acknowledgments;
Learning to Work with ØMQ;
Chapter 1: Basics;
1.1 Fixing the World;
1.2 Audience for This Book;
1.3 Getting the Examples;
1.4 Ask and Ye Shall Receive;
1.5 A Minor Note on Strings;
1.6 Version Reporting;
1.7 Getting the Message Out;
1.8 Divide and Conquer;
1.9 Programming with ØMQ;
1.10 Why We Needed ØMQ;
1.11 Socket Scalability;
1.12 Upgrading from ØMQ v2.2 to ØMQ v3.2;
1.13 Warning: Unstable Paradigms!;
Chapter 2: Sockets and Patterns;
2.1 The Socket API;
2.2 Messaging Patterns;
2.3 Handling Errors and ETERM;
2.4 Handling Interrupt Signals;
2.5 Detecting Memory Leaks;
2.6 Multithreading with ØMQ;
2.7 Signaling Between Threads (PAIR Sockets);
2.8 Node Coordination;
2.9 Zero-Copy;
2.10 Pub-Sub Message Envelopes;
2.11 High-Water Marks;
2.12 Missing Message Problem Solver;
Chapter 3: Advanced Request-Reply Patterns;
3.1 The Request-Reply Mechanisms;
3.2 Request-Reply Combinations;
3.3 Exploring ROUTER Sockets;
3.4 The Load-Balancing Pattern;
3.5 A High-Level API for ØMQ;
3.6 The Asynchronous Client/Server Pattern;
3.7 Worked Example: Inter-Broker Routing;
Chapter 4: Reliable Request-Reply Patterns;
4.1 What Is “Reliability”?;
4.2 Designing Reliability;
4.3 Client-Side Reliability (Lazy Pirate Pattern);
4.4 Basic Reliable Queuing (Simple Pirate Pattern);
4.5 Robust Reliable Queuing (Paranoid Pirate Pattern);
4.6 Heartbeating;
4.7 Contracts and Protocols;
4.8 Service-Oriented Reliable Queuing (Majordomo Pattern);
4.9 Asynchronous Majordomo Pattern;
4.10 Service Discovery;
4.11 Idempotent Services;
4.12 Disconnected Reliability (Titanic Pattern);
4.13 High-Availability Pair (Binary Star Pattern);
4.14 Brokerless Reliability (Freelance Pattern);
4.15 Conclusion;
Chapter 5: Advanced Publish-Subscribe Patterns;
5.1 Pros and Cons of Publish-Subscribe;
5.2 Pub-Sub Tracing (Espresso Pattern);
5.3 Last Value Caching;
5.4 Slow Subscriber Detection (Suicidal Snail Pattern);
5.5 High-Speed Subscribers (Black Box Pattern);
5.6 Reliable Publish-Subscribe (Clone Pattern);
Software Engineering Using ØMQ;
Chapter 6: The ØMQ Community;
6.1 Architecture of the ØMQ Community;
6.2 How to Make Really Large Architectures;
6.3 The ØMQ Process: C4;
6.4 A Real-Life Example;
6.5 Git Branches Considered Harmful;
6.6 Designing for Innovation;
6.7 Burnout;
6.8 Patterns for Success;
Chapter 7: Advanced Architecture Using ØMQ;
7.1 Message-Oriented Pattern for Elastic Design;
7.2 Unprotocols;
7.3 Serializing Your Data;
7.4 Transferring Files;
7.5 State Machines;
7.6 Authentication Using SASL;
7.7 Large-Scale File Publishing: FileMQ;
7.8 Getting an Official Port Number;
Chapter 8: A Framework for Distributed Computing;
8.1 Design for the Real World;
8.2 The Secret Life of WiFi;
8.3 Discovery;
8.4 Spinning Off a Library Project;
8.5 Point-to-Point Messaging;
8.6 Group Messaging;
8.7 Testing and Simulation;
8.8 Distributed Logging and Monitoring;
8.9 Content Distribution;
8.10 Writing the Unprotocol;
8.11 Conclusions;
Chapter 9: Postface;
9.1 Tales from Out There;
9.2 How This Book Happened;
9.3 Removing Friction;
9.4 Licensing;
Colophon;

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)