2020-02 release of Flowee main infrastructure apps
Focus on the Sha256-DB (aka UTXO)
In this release we took a lot of time provide stability features both to the UTXO database as well as improve reliability of the Hub and Indexer which use this database.
Flowee introduced some years ago a database specifically designed with TxId-keys and blockchain in mind. The unspent output database (UTXO-DB) is it’s main usecase. The database is also used for the indexer to provide an index on TxIds and for the ‘spent-output db’ (practically the opposite of the unspent output db).
Unique features of this database allow it to be substantially faster than competing databases, especially for heavy usage of multi-threading.
The database is known as a append-only type which requires that every now and then it does a garbage collection run to keep fast and nimble. In this release the strategy on when to call a GC is made more responsive on actual need. This helps give the DB better memory-locality, and as a result, speed.
This UTXO database also writes checkpoints which allows it to recover from data failure by simply starting from an older checkpoint and re-applying the blocks. The Hub now uses this feature much more heavily to benefit.
This release also has its share of bugfixes and cleanups.
|2020-03-24||hub, Indexer, vulcano, bitcore-proxy||Gitlab: 2020.02.1|