Reputation: 123
There s a problem in fintech project. We count balance by summarising orders and this approach is too slow. We have an idea:
user_id
in our system and stack is filled with transactions and their affection on balanceHowever there’s some problems. If we store data like this in SQL DB we have query like where user_id = ?1
and take last index which is not effective. Of course we can store our log table in NoSQL DB but it seems to be bad practice in fintech projects. Please give us some ideas or alternative approaches
Upvotes: 1
Views: 35