Skip to content

Asynchronous Messaging

laforge49 edited this page Nov 9, 2011 · 23 revisions

The code for asynchronous message passing is not especially fast, it benchmarks at about 8 microseconds per message when the incoming message queue of the destination is empty and at about 1.5 microsconds when processing batches of messages. (These timings are of course relative. They were run on an Intel Core 2 Duo laptop.) And while the code is pretty straight forward, the API is not designed for ease-of-use. Rather, the API supports he enhancements needed to achieve high-performance.

  1. MessengerThreadFactory

Clone this wiki locally