Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using JS-native database library instead of RocksDB #63

Open
joao-paulo-parity opened this issue May 13, 2022 · 0 comments
Open

Comments

@joao-paulo-parity
Copy link
Contributor

joao-paulo-parity commented May 13, 2022

Problem: We currently use RocksDB for the databases. There's no problem with using it and it's not difficult to manage, but it requires us to deal with C/C++ toolchain on CI (

ROCKSDB_BUILD_DEPS="build-essential python3"
) and locally as well.

Since there's no requirement tying us to this database and we do not rely on any specific feature from it, we're free to modify the storage backend.

Solution: Use a database which does not rely on C/C++ so that it's easier to install and distribute the application. Disk-based key-value storage (same as RocksDB) is fine for this application since we only use 1 replica (

replicaCount: 1
).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants