2. Announce
ØMQ, ZeroMQ, and 0MQ used in this
slides are trademarks of iMatix
Corporation
ØMQ is copyright (c) Copyright (c)
2007-2012 iMatix Corporation and
Contributors. ØMQ is free software
licensed under the LGPL.
Above statements are referred from footer
of its website
213年5月17⽇日星期五
16. Actor model in ZeroMQ
REQuest-REPly
PUBlish-SUBcribe
Pipeline
1613年5月17⽇日星期五
17. Actor model in ZeroMQ
One machine can play many actors
simultaneously
Better scalability than data-centric
distributed computing because easier to
extend
1713年5月17⽇日星期五
19. REQuest-REPly
Only suite for demonstrating simple
program of network chatting room to
your TA with limited condition: pin-
pong action. lol
You can design your own transmit
strategy when speed of network aren’t
stable for your file-transfer application
according the time of response-received
from other side.
1913年5月17⽇日星期五
22. Pipeline
Always synchronize
workers to start
load balancing from
vent. to worker
fair-queuing: Sink
collect data from
workers
Reference: https://github.com/imatix/zguide/
raw/master/images/fig5.png
2213年5月17⽇日星期五
24. Dealer
enhanced REQ
no restrict behaviors of send and
receive
Router
Prepend identity of originator to
message before passing it to another
application
2413年5月17⽇日星期五
25. Example of Router and Dealer
Reference: https://github.com/imatix/zguide/raw/
master/images/fig17.png
2513年5月17⽇日星期五
33. AUto reconnect
First, clients issue request of
connection
Later, server binds a port to reply the
requests from clients
Centralize
3213年5月17⽇日星期五
34. AUto reconnect
First, clients issue request of
connection
Later, server binds a port to reply the
requests from clients
Centralize
Strange!
Not conventional
3213年5月17⽇日星期五
41. More examples are here
https://github.com/imatix/zguide/tree/
master/examples/
3913年5月17⽇日星期五
42. 2011 SERN CERN comment ZeroMQ and other
frameworks, which based on COBRA
http://www.zeromq.org/local--files/intro:read-the-
manual/Middleware%20Trends%20and%20Market
%20Leaders%202011.pdf
4013年5月17⽇日星期五
48. Notice
These slides has presented in micro
session CNA@CCU 2013
If I forgot to give a credit to you via
referring your content, I will append it
to reference page as soon as you notify
me about that. :)
4613年5月17⽇日星期五