STF之ZeroMQ

link on JianShu

STF consists of multiple independent processes communicating via ZeroMQ and Protocol Buffers.

使用ZeroMQ进行zmq socket通信,使用Protocol Buffers定义通信内容。

官方指南 ,正式权威官方详细版本,啃下这个剩下的都可以忽略了。 官方指南中文版本 官方版本的中文版本,针对ZMQ 2.1版本 另外一个中文版本 另外一个中文版本2 个人理解版本,可参考 example in NodeJS 实例讲解基础版本

官方 socket types说明 The Socket Types 解释了各个socket的类型含义 Messaging patterns,简单解释了下列模式的含义

  1. Pipeline - used for distributing data to nodes arranged in a pipeline
  2. Request-Reply - used for sending requests from a client to one or more instances of a service, and receiving subsequent replies to each request sent
  3. Publish-Subscribe - used for sending requests from a client to one or more instances of a service, and receiving subsequent replies to each request sent
  4. Exclusive Pair - advanced pattern used for communicating exclusively between two peers

A quick and dirty introduction to ZeroMQ C# JAVA Node配合解释ZeroMQ

 
comments powered by Disqus