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…mehr
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 applicationsHinweis: Dieser Artikel kann nur an eine deutsche Lieferadresse ausgeliefert werden.
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.
Inhaltsangabe
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
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
Es gelten unsere Allgemeinen Geschäftsbedingungen: www.buecher.de/agb
Impressum
www.buecher.de ist ein Internetauftritt der buecher.de internetstores GmbH
Geschäftsführung: Monica Sawhney | Roland Kölbl | Günter Hilger
Sitz der Gesellschaft: Batheyer Straße 115 - 117, 58099 Hagen
Postanschrift: Bürgermeister-Wegele-Str. 12, 86167 Augsburg
Amtsgericht Hagen HRB 13257
Steuernummer: 321/5800/1497
USt-IdNr: DE450055826