Daily Dev UpdateRelated Blog PostWe added the value of RISE in bitcoin, and the number of investments to our homepage. We are starting some new marketing initiatives in the lead up to the Next Generation Economy talk and Dev Discussion.
We continued to work on designing the APIs that are going to be used by rise-core, and started to design the standard for the SDKs.
We also completed performance and compliance research for MongoDB vs PostgreSQL as the store for the blockchain and sidechains. We were originally going to support SQLCipher as the blockchain storage, and NeDB for data store, we then decided to investigate MongoDB as the blockchain store, due to performance. During our investigations, we found that using MongoDB gave us nominal increases in performance over PostgreSQL, which Lisk switched to after having issue with performance using SQLite.
The nominal performance improvement for blockchain use made us look at some other features, and one thing in particular stood out. PostgreSQL is an ACID compliant relational database. This is great for financial transactions and any highly important, critical transaction types. MongoDB on the other hand is only ACID compliant on the Document level. This is a point of concern for financial applications, especially in consistency, due to MongoDB collections being "eventually consistent". This may make for an increase in the number of forks, something that the fast block times is already going to increase.
We are looking into ways to mitigate this, but due to those two items, we are seriously considering leaving PostgreSQL as the blockchain and sidechain datastore, and enabling MongoDB as a secondary datastore for DApps and the wallet-ui.
More to come...