Created
September 17, 2010 15:11
-
-
Save andrewvc/584370 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+-[HTTP SERVER]--+ +----------------------+ | |
| Incoming | | Misc ZMQ Service | | |
+-----[XREQ]-----+ +-------[XREQ]---------+ | |
\ / | |
\ / | |
+-----[XREP]-----+ | |
| RPROXY | | |
+-----[XREQ]-----+ | |
/ \ | |
/ \ | |
+-----[XREP]-----+ +-----[XREP]-----+ | |
| RPROXY HTTP[1] | | RPROXY HTTP[n] | | |
+-[HTTP CLIENT]--+ +-[HTTP CLIENT]--+ | |
| | | |
| | | |
+--[HTTP Server]-+ +--[HTTP Server]-+ | |
| HTTP Backend | | HTTP Backend | | |
+----------------+ +----------------+ |
imatix
commented
Sep 17, 2010
-
Routers (XREP) can address N nodes.
-
Dealers (XREQ) can do async requests to N papa (REP) workers and/or async replies to 1 router node.
+-[HTTP SERVER]--+ +----------------------+
| Incoming | | Misc ZMQ Service |
+----[dealer]----+ +------[dealer]--------+
\ /
\ /
+-----[router]-----+
| RPROXY |
+-----[router]-----+
/ \
/ \
+----[dealer]----+ +----[dealer]----+
| RPROXY HTTP[1] | | RPROXY HTTP[n] |
+-[HTTP CLIENT]--+ +-[HTTP CLIENT]--+
| |
| |
+--[HTTP Server]-+ +--[HTTP Server]-+
| HTTP Backend | | HTTP Backend |
+----------------+ +----------------+
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment