smartcontractkit / chainlink

node of the decentralized oracle network, bridging on and off-chain computation
https://chain.link
MIT License
6.83k stars 1.65k forks source link

Disable the log recoverer #13704

Open ferglor opened 6 days ago

ferglor commented 6 days ago

https://smartcontract-it.atlassian.net/browse/AUTO-10074

Performance comparison

CL node stats

Enabled

image

Disabled

image

Results

When enabled, CPU usage peaks at over 2.5 and is quite erratic, mem usage approaching 2.5GB When disabled, CPU peaks at just over 1.0 with occasional spikes, memory spike to 2GB but mostly stays at 1.25GB

DB node stats

Enabled

image

Disabled

image

Results

When enabled, CPU peaks at around 1.0, with early RAM spikes to 1 GB, but doesn't go much higher than 1GB overall When disabled, CPU peaks just over 0.3, with no RAM spikes, but overall higher usage of 1.25

Missed logs

Enabled

image

Disabled

image

Results

No stats are reported when the recoverer is disabled

github-actions[bot] commented 6 days ago

I see you updated files related to core. Please run pnpm changeset in the root directory to add a changeset as well as in the text include at least one of the following tags:

cl-sonarqube-production[bot] commented 5 days ago

Quality Gate failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube

Catch issues before they fail your Quality Gate with our IDE extension SonarLint SonarLint