2010/1/28 Martin Sustrik <[email protected]> > Hi, > > 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. > > The additional complexities in the real world are different delays for different exchanges, and frequently a delay spool larger than the system memory, requiring disk offload.
Often you will also see conflation to reduce the number of updates too, especially when clients may be Internet based. -- Steve-o
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
