ZeroMQ

Faruk Akgul

  • 出版商: Packt Publishing
  • 出版日期: 2013-03-24
  • 售價: $1,090
  • 貴賓價: 9.5$1,036
  • 語言: 英文
  • 頁數: 108
  • 裝訂: Paperback
  • ISBN: 178216104X
  • ISBN-13: 9781782161042
  • 相關分類: C 程式語言
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

For C developers who want a comprehensive introduction to ZeroMQ, this is the perfect tutorial. With a user-friendly approach and practical examples, it covers everything from fundamental message patterns to working with multiple sockets.

Overview

  • Learn fundamental message/queue design patterns
  • Work with multi-threaded programs
  • Work with multiple sockets

In Detail

ØMQ (also spelled ZeroMQ, 0MQ, or ZMQ) is a high-performance asynchronous messaging library aimed at use in scalable distributed or concurrent applications. It provides a message queue, but unlike message-oriented middleware, a ØMQ system can run without a dedicated message broker. The library is designed to have a familiar socket-style API.

"ZeroMQ" teaches you to use ZeroMQ through examples in C programming language. You will learn how to use fundamental patterns of message/queuing with a step-by-step tutorial approach and how to apply them. Then, you’ll learn how to use high level APIs and to work with multiple sockets and multithreaded programs through many examples.

This book looks at how message/queue works in general and what kinds of problems it solves. Then, it explains how ZeroMQ works and how it differs from other message/queue libraries and how it can be used in different scenarios.

You will also learn how to apply essential message/queue design patterns in different scenarios, and how they differ from each other. It shows you practical examples you can apply. You will also learn how to work with multiple sockets.

You will learn the basics of ZeroMQ as well as how to use different patterns.

What you will learn from this book

  • Implement the request–reply pattern
  • Implement the pub–sub pattern
  • Work with multiple sockets
  • Work with multithreaded programs
  • Detect memory leaks
  • Route schemes
  • Learn the difference between TCP sockets and ZeroMQ sockets

Approach

A practical, step-by-step example-rich tutorial.

Who this book is written for

If you are a C developer who wants to learn about ZeroMQ, this book is for you. It is assumed that the reader has C experience at some level but prior ZeroMQ knowledge is not expected.

商品描述(中文翻譯)

對於想要全面了解ZeroMQ的C開發人員來說,這是一本完美的教程。以用戶友好的方式和實際示例,它涵蓋了從基本的消息模式到使用多個套接字的所有內容。

概述
- 學習基本的消息/隊列設計模式
- 使用多線程程序
- 使用多個套接字

詳細內容
ØMQ(也稱為ZeroMQ、0MQ或ZMQ)是一個高性能的異步消息庫,旨在用於可擴展的分佈式或並發應用程序。它提供了一個消息隊列,但與面向消息的中間件不同,ØMQ系統可以在沒有專用消息代理的情況下運行。該庫的設計旨在具有熟悉的套接字風格API。

《ZeroMQ》通過C編程語言的示例教您如何使用ZeroMQ。您將學習如何使用逐步教程方法和如何應用基本的消息/隊列模式。然後,您將學習如何使用高級API並通過許多示例來處理多個套接字和多線程程序。

本書介紹了消息/隊列的一般工作原理以及它解決的問題類型。然後,它解釋了ZeroMQ的工作原理以及它與其他消息/隊列庫的區別,以及它如何在不同場景中使用。

您還將學習如何在不同場景中應用基本的消息/隊列設計模式,以及它們之間的區別。它向您展示了可以應用的實用示例。您還將學習如何使用多個套接字。

您將學習ZeroMQ的基礎知識以及如何使用不同的模式。

從本書中您將學到:
- 實現請求-回覆模式
- 實現發布-訂閱模式
- 使用多個套接字
- 使用多線程程序
- 檢測內存洩漏
- 路由方案
- 學習TCP套接字和ZeroMQ套接字之間的區別

方法
一個實用的、逐步示例豐富的教程。

本書適合對ZeroMQ感興趣的C開發人員。假設讀者在某個程度上具有C經驗,但不需要先前的ZeroMQ知識。