Created
August 11, 2010 20:11
-
-
Save hintjens/519641 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
To bridge 0MQ to SoupTCP, create a proxy that connects to SoupTCP at the frontend and publishes updates to a 0MQ network at the backend: | |
[[code type="textdiagram"]] | |
+------------+ | |
| | | |
| NASDAQ | | |
| | | |
+------------+ | |
| SoupTCP | | |
\------------/ | |
bind | |
| | |
v | |
connect | |
/------------\ | |
| TCP socket | | |
+------------+ | |
| | | |
| Bridge | | |
| | | |
+------------+ | |
| PUB | | |
\------------/ | |
bind | |
| | |
| | |
+----------------+----------------+ | |
| | | | |
| | | | |
connect connect connect | |
/------------\ /------------\ /------------\ | |
| SUB | | SUB | | SUB | | |
+------------+ +------------+ +------------+ | |
| | | | | | | |
| Subscriber | | Subscriber | | Subscriber | | |
| | | | | | | |
+------------+ +------------+ +------------+ | |
Figure # - Making a SoupTCP Bridge | |
[[/code]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment