Re:Insights after 11 years with Datomic [video]
by mananaysiempre on Wednesday September 25, 2024 @04:38PM
(#41651612)
What about Apache Samza[1], which is specifically built to maintain database-shaped views on top of event logs—do people run it? Or is the infra overhead from it requiring Kafka and a Java runtime and so on too much?
Assuming you don't need real time access to data from several points in time, that is.
Just store the events with timestamps and json in a separate table, I usually build a hierarchy with parent event refs to simplify auditing.
As an added bonus, the app is now completely command driven.
Getting historic data for a specific point in time means starting with an empty database and replaying earlier events, alternatively storing undo information in events.