Skip to content

feat(storage): new rocksdb storage with improved performance#189

Merged
jansegre merged 1 commit intodevfrom
feat/refactor-rocksdb-storage
Jun 18, 2021
Merged

feat(storage): new rocksdb storage with improved performance#189
jansegre merged 1 commit intodevfrom
feat/refactor-rocksdb-storage

Conversation

@jansegre
Copy link
Member

@jansegre jansegre commented Mar 10, 2021

Use single rocksdb database with multiple tables (instead of multiple databases), split metadata from tx/block data, and use simpler/faster serialization (struct/json instead of protobuf).

The new storage is created and included in tests but hathor-cli will use the OldRocksDBStorage which is s copy of the old storage, so the changes on this PR cannot break any deploy.

@jansegre jansegre added the enhancement New feature or request label Mar 10, 2021
@jansegre jansegre self-assigned this Mar 10, 2021
@jansegre jansegre force-pushed the feat/refactor-rocksdb-storage branch from 9ec3328 to b902a50 Compare March 10, 2021 21:27
@jansegre jansegre force-pushed the feat/refactor-rocksdb-storage branch from b902a50 to fae6613 Compare June 11, 2021 05:55
@jansegre jansegre changed the title feat(storage): refactor rocksdb storage and improve performance feat(storage): new rocksdb storage with improved performance Jun 11, 2021
@jansegre jansegre marked this pull request as ready for review June 11, 2021 05:58
@jansegre jansegre force-pushed the feat/refactor-rocksdb-storage branch from 196f964 to ccbf128 Compare June 18, 2021 02:32
@jansegre jansegre force-pushed the feat/refactor-rocksdb-storage branch from ccbf128 to 7b9835e Compare June 18, 2021 02:38
@jansegre jansegre merged commit d7b8e4d into dev Jun 18, 2021
@jansegre jansegre deleted the feat/refactor-rocksdb-storage branch June 18, 2021 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants