Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which NoSQL DB is best fitted for OLTP financial systems?

We're designing an OLTP financial system. it should be able to support 10.000 transactions per second and have reporting features.

So we have come to the idea of using:

  • a NoSQL DB as our main storage
  • a MySQL DB (Percona server actually) making some ETLs from the NoSQL DB for store reporting data

We're considering MongoDB and Riak for the NoSQL job. we have read that Riak scales more smoothly than MongoDB. And we would like to listen your opinion.

  • Which NoSQL DB would you use for a OLTP financial system?
  • How has been your experience scaling MongoDB/Riak?
like image 684
SDReyes Avatar asked Jun 02 '11 02:06

SDReyes


3 Answers

There is no conceivable circumstance where I would use a NOSQl database for anything to do with finance. You simply don't have the data integrity needed or the internal controls. Dow Jones uses SQL Server to do its transactions and if they can properly design a high performance, high transaction Relational datbase so can you. You will have to invest in some people who know what they are doing though.

like image 90
HLGEM Avatar answered Oct 06 '22 20:10

HLGEM


One has to think about the problem differently. The notion of transaction consistency stems from the UD (update) in CRUD (Create, Read, Update, Delete). noSQL DBs are CRAP (Create, Replicate, Append, Process) oriented, working by accretion of time-stamped data. With the right domain model, there is no reason that auditability and the equivalent of referential integrity can't be achieved.

like image 23
Truenum Avatar answered Oct 06 '22 21:10

Truenum


The global-storage based NoSQL databases - Cache from InterSystems and GT.M from FIS - are used extensively in financial services and have been for many years. Cache in particular is used for both the core database and for OLTP.

like image 35
Rob Tweed Avatar answered Oct 06 '22 22:10

Rob Tweed