perlin-network / wavelet

Write once, run forever. Deploy robust, scalable, decentralized WebAssembly applications on Wavelet.
https://wavelet.perlin.net
MIT License
258 stars 41 forks source link

Investigate BadgerDB database size #359

Open AhmadMuzakkir opened 4 years ago

AhmadMuzakkir commented 4 years ago

Seems like when using BadgerDB, database size keeps increasing.

I ran the benchmark with 3 nodes, until block 4000. And the size of the 3 databases are 1.3GB. Not sure if that's normal.

Use PR #353 to enable BadgerDB GC.

rkeene commented 4 years ago

We also stopped using BadgerDB by default in PR #375 we should switch back to BadgerDB after figuring out what's up with the memory usage, which may be related to this issue (if not, we'll split the switching back to a separate issue)