reklama - zainteresowany?

ZeroMQ. Messaging for Many Applications - Helion

ZeroMQ. Messaging for Many Applications
ebook
Autor: Pieter Hintjens
ISBN: 978-14-493-3444-4
stron: 516, Format: ebook
Data wydania: 2013-03-12
Księgarnia: Helion

Cena książki: 169,15 zł (poprzednio: 196,69 zł)
Oszczędzasz: 14% (-27,54 zł)

Dodaj do koszyka ZeroMQ. Messaging for Many Applications

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

Dodaj do koszyka ZeroMQ. Messaging for Many Applications

 

Osoby które kupowały "ZeroMQ. Messaging for Many Applications", wybierały także:

  • Windows Media Center. Domowe centrum rozrywki
  • Ruby on Rails. Ćwiczenia
  • DevOps w praktyce. Kurs video. Jenkins, Ansible, Terraform i Docker
  • Przywództwo w Å›wiecie VUCA. Jak być skutecznym liderem w niepewnym Å›rodowisku
  • Scrum. O zwinnym zarzÄ…dzaniu projektami. Wydanie II rozszerzone

Dodaj do koszyka ZeroMQ. Messaging for Many Applications

Spis treści

ZeroMQ. Messaging for Many Applications eBook -- spis treści

  • ZeroMQ
  • Dedication
  • 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
  • I. 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
        • Getting the Context Right
        • Making a Clean Exit
      • 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
        • Plugging Sockets into the Topology
        • Using Sockets to Carry Data
        • Unicast Transports
        • MQ Is Not a Neutral Carrier
        • I/O Threads
      • Messaging Patterns
        • High-Level Messaging Patterns
        • Working with Messages
        • Handling Multiple Sockets
        • Multipart Messages
        • Intermediaries and Proxies
        • The Dynamic Discovery Problem
        • Shared Queue (DEALER and ROUTER Sockets)
        • MQs Built-in Proxy Function
        • Transport Bridging
      • 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
        • The Simple Reply Envelope
        • The Extended Reply Envelope
        • Whats This Good For?
        • Recap of Request-Reply Sockets
      • Request-Reply Combinations
        • The REQ to REP Combination
        • The DEALER to REP Combination
        • The REQ to ROUTER Combination
        • The DEALER to ROUTER Combination
        • The DEALER to DEALER Combination
        • The ROUTER to ROUTER Combination
        • Invalid Combinations
      • Exploring ROUTER Sockets
        • Identities and Addresses
        • ROUTER Error Handling
      • The Load-Balancing Pattern
        • ROUTER Broker and REQ Workers
        • ROUTER Broker and DEALER Workers
        • A Load-Balancing Message Broker
      • A High-Level API for MQ
        • Features of a Higher-Level API
        • The CZMQ High-Level API
      • The Asynchronous Client/Server Pattern
      • Worked Example: Inter-Broker Routing
        • Establishing the Details
        • Architecture of a Single Cluster
        • Scaling to Multiple Clusters
        • Federation Versus Peering
        • The Naming Ceremony
        • Prototyping the State Flow
        • Prototyping the Local and Cloud Flows
        • Putting It All Together
    • 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
        • Shrugging It Off
        • One-Way Heartbeats
        • Ping-Pong Heartbeats
        • Heartbeating for Paranoid Pirate
      • 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)
        • Detailed Requirements
        • Preventing Split-Brain Syndrome
        • Binary Star Implementation
        • Binary Star Reactor
      • Brokerless Reliability (Freelance Pattern)
        • Model One: Simple Retry and Failover
        • Model Two: Brutal Shotgun Massacre
        • Model Three: Complex and Nasty
      • 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)
        • Centralized Versus Decentralized
        • Representing State as Key-Value Pairs
        • Getting an Out-of-Band Snapshot
        • Republishing Updates from Clients
        • Working with Subtrees
        • Ephemeral Values
        • Using a Reactor
        • Adding the Binary Star Pattern for Reliability
        • The Clustered Hashmap Protocol
          • Goals
          • Architecture
          • Ports and Connections
          • State Synchronization
          • Server-to-Client Updates
          • Client-to-Server Updates
          • Reliability
          • Scalability and Performance
          • Security
        • Building a Multithreaded Stack and API
  • II. Software Engineering Using MQ
    • 6. The MQ Community
      • Architecture of the MQ Community
      • How to Make Really Large Architectures
        • Psychology of Software Architecture
        • The Contract
        • The Process
        • Crazy, Beautiful, and Easy
        • Stranger, Meet Stranger
        • Infinite Property
        • Care and Feeding
      • The MQ Process: C4
        • Language
        • Goals
        • Preliminaries
        • Licensing and Ownership
        • Patch Requirements
        • Development Process
        • Creating Stable Releases
        • Evolution of Public Contracts
      • A Real-Life Example
      • Git Branches Considered Harmful
        • Simplicity Versus Complexity
        • Change Latency
        • Learning Curve
        • Cost of Failure
        • Up-Front Coordination
        • Scalability
        • Surprise and Expectations
        • Economics of Participation
        • Robustness in Conflict
        • Guarantees of Isolation
        • Visibility
        • Conclusions
      • Designing for Innovation
        • The Tale of Two Bridges
        • How MQ Lost Its Road Map
        • Trash-Oriented Design
        • Complexity-Oriented Design
        • Simplicity-Oriented Design
      • Burnout
      • Patterns for Success
        • The Lazy Perfectionist
        • The Benevolent Tyrant
        • The Earth and Sky
        • The Open Door
        • The Laughing Clown
        • The Mindful General
        • The Social Engineer
        • The Constant Gardener
        • The Rolling Stone
        • The Pirate Gang
        • The Flash Mob
        • The Canary Watcher
        • The Hangman
        • The Historian
        • The Provocateur
        • The Mystic
    • 7. Advanced Architecture Using MQ
      • Message-Oriented Pattern for Elastic Design
        • Step 1: Internalize the Semantics
        • Step 2: Draw a Rough Architecture
        • Step 3: Decide on the Contracts
        • Step 4: Write a Minimal End-to-End Solution
        • Step 5: Solve One Problem and Repeat
      • Unprotocols
        • Contracts Are Hard
        • How to Write Unprotocols
        • Why Use the GPLv3 for Public Specifications?
        • Using ABNF
        • The Cheap or Nasty Pattern
          • Error handling
      • Serializing Your Data
        • MQ Framing
        • Serialization Languages
        • Serialization Libraries
        • Handwritten Binary Serialization
        • Code Generation
      • Transferring Files
      • State Machines
      • Authentication Using SASL
      • Large-Scale File Publishing: FileMQ
        • Why Make FileMQ?
        • Initial Design Cut: The API
        • Initial Design Cut: The Protocol
        • Building and Trying FileMQ
        • Internal Architecture
        • Public API
        • Design Notes
        • Configuration
        • File Stability
        • Delivery Notifications
        • Symbolic Links
        • Recovery and Late Joiners
        • Test Use Case: The Track Tool
      • Getting an Official Port Number
    • 8. A Framework for Distributed Computing
      • Design for the Real World
      • The Secret Life of WiFi
        • Why Mesh Isnt Here Yet
        • Some Physics
        • Whats the Current Status?
        • Conclusions
      • Discovery
        • Preemptive Discovery over Raw Sockets
        • Cooperative Discovery Using UDP Broadcasts
        • Multiple Nodes on One Device
        • Designing the API
        • More About UDP
      • Spinning Off a Library Project
      • Point-to-Point Messaging
        • UDP Beacon Framing
        • True Peer Connectivity (Harmony Pattern)
        • Detecting Disappearances
      • Group Messaging
      • Testing and Simulation
        • On Assertions
        • On Up-Front Testing
        • The Zyre Tester
        • Test Results
        • Tracing Activity
        • Dealing with Blocked Peers
      • Distributed Logging and Monitoring
        • A Plausible Minimal Implementation
        • Protocol Assertions
        • Binary Logging Protocol
      • Content Distribution
      • Writing the Unprotocol
      • Conclusions
    • 9. Postface
      • Tales from Out There
        • Rob Gagnons Story
        • Tom van Leeuwens Story
        • Michael Jakls Story
        • Vadim Shaltss Story
      • How This Book Happened
      • Removing Friction
      • Licensing
  • Index
  • About the Author
  • Colophon
  • Copyright

Dodaj do koszyka ZeroMQ. Messaging for Many Applications

Code, Publish & WebDesing by CATALIST.com.pl



(c) 2005-2024 CATALIST agencja interaktywna, znaki firmowe należą do wydawnictwa Helion S.A.