Skip to content

Event Store Formats

jtljac edited this page Jan 20, 2024 · 3 revisions

Event Store Formats

The events are made up of multiple discrete components that can be stored in multiple ways.

Currently, only one storage method has been implemented.

File Store

Store the events in a single file, where each event is a new line in the file, and each component of the event is separated using a space.

Note: It cannot be assumed that the event line can be separated into it's components by space, as data components are not guaranteed to be without spaces. Therefore, parsing must be context aware of which component is currently being parsed.

This format, can have limitations on some filesystems where it exceeds the maximum file size. Filesystems such as fat32 max out at filesizes of 4GB and will experience problems if the filestore grows to that size. This filestore does not handle file splitting in anyway so should be used carefully on these filesystems.

Clone this wiki locally