Comments (3)
I have tested in another faster server, and this periodic stats gathering is running for hours with no way to know when it will finish (it's still in the first table), and it will run again tomorrow since the period is roughly 24h.
My understanding is this is used only to provide info about the db columns for the internal api (*:9030)? If so, this is extremely wasteful and the user couldn't care less, so please, could you stop doing it? 😃
I'd suggest an extra startup param db_stats
which is false
by default and can be activated if someone needs it.
from blockbook.
Sure, it makes sense to add the parameter that controls the stats collection. However, the parameter will specify the period of stats collection in hours with default of 24. If you set it to 0, the stats will not be collected.
Also, it is surprising to me that the stats collection is killing your server as it is done only in a single thread. We run multiple instances of Blockbook on our servers and do not notice it at all.
from blockbook.
Thanks for the quick fix!
I run bitcoin core and lnd in a dual core, spinning disk $100 NUC, and they run really well, until I installed blockbook, and during the stats collection period, everything would be brought to its knees, but run fine otherwise (when not collecting stats)
from blockbook.
Related Issues (20)
- `4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b` is Coinbase Transaction of genesis block.
- Add Sync data block to another drive
- Build on Ubuntu 20.04.01 LTS:
- Blockbook-Bitcoin Not Work for Listen
- Blockbook = 0 HOT 2
- backend-ethereum:amd64 (= 2.58.1-satoshilabs-1) has no Size information HOT 3
- .
- SSL certificate problem HOT 1
- api not working HOT 5
- Ethereum sync stuck on block 18999999 HOT 1
- [ETH]: Blockbook stuck and then Inconsistent DB state HOT 7
- Request for Font Replacement Due to Licensing Concerns HOT 3
- starting order of backend and blockbook services HOT 3
- Does blockbook support BSC PBSS? HOT 2
- Is it possible to connect the backend to an external node? HOT 3
- complete tutorial
- Issue with Decimal Value for Ethereum Tokens HOT 1
- Split unconfirmedBalance into unconfirmedSendingBalance and unconfirmedReceivingBalance
- erigon not starting after upgrade debian from 11 to 12 HOT 3
- BCH hardfork HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blockbook.