ZeroMQ
暫譯: ZeroMQ 實戰指南

Faruk Akgul

  • 出版商: Packt Publishing
  • 出版日期: 2013-03-24
  • 售價: $1,190
  • 貴賓價: 9.5$1,131
  • 語言: 英文
  • 頁數: 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 知識。

最後瀏覽商品 (19)