4 ms·
If you need total system order then that will always be your bottleneck, although you can make it very fast by scoping it to just a sequence number generator an
by manigandham 8y ago
If you need total system order then that will always be your bottleneck, although you can make it very fast by scoping it to just a sequence number generator and doing the actual work in separate processes.
Otherwise, most event sourcing uses different "streams" of events for different application functions, so you can shard by stream in whatever way works for you.