XTDB is an immutable, bitemporal database. A community-contributed remote log plugin for XTDB allows you to use an S2 stream to power its write-ahead log: https://github.com/chucklehead-dev/s2-log