Fast #python event-sourcing library using Redis and Mongo.
Jamboree Library Is Split In Two Parts:
1. Jamboree Event Sourcing
2. Object Handler
The Jamboree object is rather simple. It only saves, reads, and deletes records in both redis and mongodb. Redis to give it fast read times, mongodb as backup to the data. Handlers have very explicit storage procedures that interact with the Jamboree object. A good example is the code below.
The idea is straightforward:
1. We create a Jamboree object. The Jamboree object manages connections to databases at a high speed and low latency.
2. After we create the Handler object, and set the limit (max number of records we want to look at), we start adding records until we stop. At the end, we get the amount of time it took to push the records.
3. Periodically, we do a small calculation to older information prior to adding a record.
https://github.com/kivo360/jamboree
Post #575
2.41K