Hi guys,
I have a local Java app that creates an
EsConnection.allStreamsPublisher to read all events from an EventStore
(3.6.3) running on EC2. Client library version is 2.2.2.
I set initial demand to be 4096, and call subscription.request(1)
whenever an event has been processed, which is done asynchronously on
onNext.
The performance I'm seeing is less than 200 events per second, which
feels a bit low. I check my router traffic manager, and it's not even
close to hitting the bandwidth limit, so feels like it shouldn't be a
network issue. read-batch-size is set to 1024.
Do you have any idea why the throughput is so low? Any settings that
can be tweaked? This is basically a batch read, so I don't care about
latency, only throughput.
thanks, Rickard