thor
thor copied to clipboard
How to reduce CPU load
Hi. How to reduce CPU load for thor?
/opt/vechain/bin/thor --network main --data-dir /opt/vechain/data --api-addr 0.0.0.0:8669 --verbosity 9 --max-peers 50 --cache 4096
/opt/vechain/bin/thor --version Thor version 1.3.3-419e32e-release

First we should know what causes the high CPU load. Is the node still synchronizing? Are there many http requests to this node?
Node is fully synchronized
Request ~25/sec
The long request looks like this
/logs/event
Node is fully synchronized Request ~25/sec The long request looks like this
/logs/event
'/logs/event' is indeed a a time-costly operation. what are the parameters? need that to see if it can be optimized.