Batch sizes dynamically increase to a configurable limit under increasing load. The batch size limit can be
configured with eventuate.log.write-batch-size. If there is no current write operation in progress, a new
Write or ReplicationWrite command is served immediately (as WriteN or ReplicationWriteN batch of size
1, respectively), keeping latency at a minimum.
Linear Supertypes
Actor, AnyRef, Any
Ordering
Alphabetic
By Inheritance
Inherited
BatchingLayer
Actor
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
newBatchingLayer(logProps: Props)
logProps
configuration object of the wrapped event log actor. The wrapped event log actor is
created as child actor of this wrapper.
An event log wrapper that batches write commands. Batched EventsourcingProtocol.Write commands are sent as EventsourcingProtocol.WriteN batch to the wrapped event log. Batched ReplicationProtocol.ReplicationWrite commands are sent as ReplicationProtocol.ReplicationWriteN batch to the wrapped event event log.
Batch sizes dynamically increase to a configurable limit under increasing load. The batch size limit can be configured with
eventuate.log.write-batch-size
. If there is no current write operation in progress, a newWrite
orReplicationWrite
command is served immediately (asWriteN
orReplicationWriteN
batch of size 1, respectively), keeping latency at a minimum.