Re:Call me maybe: Aerospike
by perlgeek on Wednesday May 06, 2015 @01:20AM
(#9496722)
When storing financial data, I'd certainly go with some kind of event sourcing: store deltas / financial transactions, not counters. The counters are just a sum over all deltas.
If performance is an issue, you can make the counters available in a second database that's only for reading, and updated from the original deltas.
If performance is an issue, you can make the counters available in a second database that's only for reading, and updated from the original deltas.