Fulcrum 2.0 has been released!
I synced a new DB from scratch, here's my experience:
It took about 2.5 days to sync the new Fulcrum on a laptop (Ryzen 7 5700U, db_mem 8000 GiB).
The v2 DB is a little larger than v1: 176 GiB against 166 GiB.
To test performance, I repeteadly queried a large BTC address (1HckjUpRGcrrRAtFaaCAUaGjsPx9oYmLaZ) for balance and history and got these results:
v1 get_balance: [335, 416] range, avg 378 ms;
v2 get_balance: [348, 355] range, avg 352 ms;
v1 get_history: [32676, 33723] range, avg 33214 ms;
v2 get_history: [23208, 23947] range, avg 23508 ms;
Hopefully someone will come up with better benchmarks, it was a real PITA to measure time due to netcat/socat keeping the connection alive.
Now, the best part:
I left a script running all day, killing -9 Fulcrum and restarting it for a total of 95 kills. The DB was not corrupted.
Check the release notes for instructions on how to upgrade from v1:
https://github.com/cculianu/Fulcrum/releases/tag/v2.0.0
Check the release notes for instructions on how to upgrade from v1:
https://github.com/cculianu/Fulcrum/releases/tag/v2.0.0