Introduction to Rails Event Store
02-Dec-2021 2323
Event store is a proper name for a..., well, storage of events. Events are facts from the past. Such a trait makes our storage a great candidate for append-only mode, ie. there are only two operations available: read and add. It might feel like a weird constraint but it allows to optimize mentioned operations to be as fast as possible. At the same time, simplicity creates a foundation for our creativity and making really complicated solutions.Let's emphasize it again, in case if you missed that between the lines - we can only read the history of events and add new events. It means that we neither can modify existing events, delete them nor change the order of events in history.