Using an RDBMS as event sourcing storage

前端 未结 6 1672
灰色年华
灰色年华 2020-12-07 07:02

If I were using an RDBMS (e.g. SQL Server) to store event sourcing data, what might the schema look like?

I\'ve seen a few variations talked about in an abstract sens

6条回答
  •  粉色の甜心
    2020-12-07 07:33

    Well you might wanna give a look at Datomic.

    Datomic is a database of flexible, time-based facts, supporting queries and joins, with elastic scalability, and ACID transactions.

    I wrote a detailed answer here

    You can watch a talk from Stuart Halloway explaining the design of Datomic here

    Since Datomic stores facts in time, you can use it for event sourcing use cases, and so much more.

提交回复
热议问题