Event Store Prototype in c++ for learning purposes