Sounds like a low-level implementation of event sourcing/CQRS. Is there anything similar that is usable right now? Perhaps built on Kafka?
Though it doesn't feature either implementation (he does something similar on top of Samza), I like this article[3] on the topic: turning the database inside out really is what we're doing.
[0] http://rbmhtechnology.github.io/eventuate/
[1] http://doc.akka.io/docs/akka/snapshot/scala/persistence.html
[2] http://krasserm.github.io/2015/05/25/akka-persistence-eventu...
[3] https://www.confluent.io/blog/turning-the-database-inside-ou...
[0]: https://github.com/noahdesu/zlog
[1]: https://www.usenix.org/conference/nsdi12/technical-sessions/...