Can you rework your βsaveβ so that you batch insert the txs?
Youβre probably io bound so either:
- get faster storage
- write out to disk less frequently
π»
Can any big brain devs help me figure out how to speed up this import?
Just saving blocks and txns into a db...
But at the current pace it's gonna take two weeks to finish
https://github.com/utxo-one/bitcoin-analytics-api/blob/master/src/import/import.service.ts
Can you rework your βsaveβ so that you batch insert the txs?
Youβre probably io bound so either:
- get faster storage
- write out to disk less frequently
π»
Ty ty u r right