Skip to content

Enable keep-alive when talking to the backing node - #13

Merged
sajal merged 1 commit into
developfrom
enable-keepalive
Apr 8, 2022
Merged

Enable keep-alive when talking to the backing node#13
sajal merged 1 commit into
developfrom
enable-keepalive

Conversation

@sajal

@sajal sajal commented Dec 9, 2021

Copy link
Copy Markdown

With keep alive in place, I observe

  • nodejs CPU load while indexing testnet went from ~90% to ~25%
  • dockerd's CPU load went from ~30% to ~15%
  • Network sockets on bch node in TIME_WAIT state went from ~14,000 to 0 (sockets stuck in TIME_WAIT is bad because if all ephimeral ports are used up then slpdb will have an error trying to connect to the node)

@sajal
sajal merged commit efaa9d2 into develop Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant