[zeromq-dev] Delaying message feed
sustrik at 250bpm.com
Thu Jan 28 16:19:28 CET 2010
In stock trading industry it's pretty common to delay stock quote feeds
so that it can be sold for discount price to the clients that have no
need for real-time stock quote feeds.
Attached is the source code for a simple application that delays
messages by 10 seconds. It can be tested using "prompt" and "display"
applications from "chat" example (examples/chat). Write an instant
message and it gets delivered with 10 sec delay :)
I hope some of you will find this piece of code useful.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2394 bytes
Desc: not available
Url : http://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100128/013ddfb2/attachment.cpp
More information about the zeromq-dev