stacks-core
stacks-core copied to clipboard
Intermittent slow RPC performance
Describe the bug
When running 2.5.0.0.4, the RPC server takes longer than expected to respond to HTTP GET requests. This seems to affect any endpoint (including simple ones like /v2/info).
During times when this issue is observed, the response times for these endpoints can be over 10 seconds long, however most requests are still served quickly.
Additionally, it seems the CPU and network usage patterns have changed with the 2.5.0.0.4 release, which seems to be related:
Steps To Reproduce
- Deploy a mainnet stacks node
- Write a script to occasionally hit some endpoints and record the time to respond.