Package org.agilewiki.jactor.bufferedEvents

The bufferedEvents package supports the dispatching of one-way messages (events), but it buffers outgoing events and sends them only when there are no other incoming events to process, which results in a significant improvement in throughput when under load.

See: Description

Package org.agilewiki.jactor.bufferedEvents Description

The bufferedEvents package supports the dispatching of one-way messages (events), but it buffers outgoing events and sends them only when there are no other incoming events to process, which results in a significant improvement in throughput when under load.

An echo test running multiple pairs with 1000 messages per burst processed 85 million messages per second--12 nanoseconds per message. But when messages are sent one at a time, only 4468654 messages are processed per second--224 nanoseconds per message. Sending messages in bursts, which simulates a system under load, is 1,767% faster.

Copyright © 2012. All Rights Reserved.