You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lot of the architecture is already very similar to some of those systems. The API was inspired by EventStore, the storage semantics are very similar to Kafka (coincidentally).
Kafka uses the file offset as the document index id, which saves storing that additionally, but comes at the cost of not being (easily) able to do optimistic concurrency checks, which makes Kafka unfit for an event store, which requires consistency guarantees.
Kafka uses the storage format without transformation as the communication format, which allows sendfile usage and avoids copying of data, when sending it from a node. This is currently not necessary, since event-storage currently has no replication and is single-machine.
EventStore chunks the log file for "operational reasons such as incremental back ups", which makes sense. Maybe the partitions should themself be chunked into multiple files, in which case it would make more sense to keep each partition in an own folder to reduce inode usage.
Some notable projects from where to take inspirations or lessons:
The text was updated successfully, but these errors were encountered: