ZeroMQ

Messaging for Many Applications

Specificaties
Paperback, 493 blz. | Engels
O'Reilly | 1e druk, 2013
ISBN13: 9781449334062
Rubricering
Hoofdrubriek : Computer en informatica
O'Reilly 1e druk, 2013 9781449334062
Verwachte levertijd ongeveer 16 werkdagen

Samenvatting

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

Specificaties

ISBN13:9781449334062
Taal:Engels
Bindwijze:paperback
Aantal pagina's:493
Uitgever:O'Reilly
Druk:1
Verschijningsdatum:20-3-2013

Over Pieter Hintjens

Pieter Hintjens started his first business making video games 30 years ago and has been building software products since then. Believing that, "the real physics of software is the physics of people", he focuses on building communities through "Social Architecture", writing, and building his businesses. He is the lead maintainer of ZeroMQ, and CEO of iMatix Corporation.

Andere boeken door Pieter Hintjens

Inhoudsopgave

Preface

Part 1: Learning to Work with ØMQ
1. Basics
-Fixing the World
-Audience for This Book
-Getting the Examples
-Ask and Ye Shall Receive
-A Minor Note on Strings
-Version Reporting
-Getting the Message Out
-Divide and Conquer
-Programming with ØMQ
-Why We Needed ØMQ
-Socket Scalability
-Upgrading from ØMQ v2.2 to ØMQ v3.2
-Warning: Unstable Paradigms!

2. Sockets and Patterns
-The Socket API
-Messaging Patterns
-Handling Errors and ETERM
-Handling Interrupt Signals
-Detecting Memory Leaks
-Multithreading with ØMQ
-Signaling Between Threads (PAIR Sockets)
-Node Coordination
-Zero-Copy
-Pub-Sub Message Envelopes
-High-Water Marks
-Missing Message Problem Solver

3. Advanced Request-Reply Patterns
-The Request-Reply Mechanisms
-Request-Reply Combinations
-Exploring ROUTER Sockets
-The Load-Balancing Pattern
-A High-Level API for ØMQ
-The Asynchronous Client/Server Pattern
-Worked Example: Inter-Broker Routing

4. Reliable Request-Reply Patterns
-What Is “Reliability”?
-Designing Reliability
-Client-Side Reliability (Lazy Pirate Pattern)
-Basic Reliable Queuing (Simple Pirate Pattern)
-Robust Reliable Queuing (Paranoid Pirate Pattern)
-Heartbeating
-Contracts and Protocols
-Service-Oriented Reliable Queuing (Majordomo Pattern)
-Asynchronous Majordomo Pattern
-Service Discovery
-Idempotent Services
-Disconnected Reliability (Titanic Pattern)
-High-Availability Pair (Binary Star Pattern)
-Brokerless Reliability (Freelance Pattern)
-Conclusion

5. Advanced Publish-Subscribe Patterns
-Pros and Cons of Publish-Subscribe
-Pub-Sub Tracing (Espresso Pattern)
-Last Value Caching
-Slow Subscriber Detection (Suicidal Snail Pattern)
-High-Speed Subscribers (Black Box Pattern)
-Reliable Publish-Subscribe (Clone Pattern)

Part 2: Software Engineering Using ØMQ
6. The ØMQ Community
-Architecture of the ØMQ Community
-How to Make Really Large Architectures
-The ØMQ Process: C4
-A Real-Life Example
-Git Branches Considered Harmful
-Designing for Innovation
-Burnout
-Patterns for Success

7. Advanced Architecture Using ØMQ
-Message-Oriented Pattern for Elastic Design
-Unprotocols
-Serializing Your Data
-Transferring Files
-State Machines
-Authentication Using SASL
-Large-Scale File Publishing: FileMQ
-Getting an Official Port Number

8. A Framework for Distributed Computing
-Design for the Real World
-The Secret Life of WiFi
-Discovery
-Spinning Off a Library Project
-Point-to-Point Messaging
-Group Messaging
-Testing and Simulation
-Distributed Logging and Monitoring
-Content Distribution
-Writing the Unprotocol
-Conclusions

9. Postface
-Tales from Out There
-How This Book Happened
-Removing Friction
-Licensing

Index

Net verschenen

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        ZeroMQ