Skip to content

Resource load mitigations#59

Open
smk762 wants to merge 4 commits intoGLEECBTC:mainfrom
smk762:main
Open

Resource load mitigations#59
smk762 wants to merge 4 commits intoGLEECBTC:mainfrom
smk762:main

Conversation

@smk762
Copy link
Copy Markdown
Contributor

@smk762 smk762 commented Dec 2, 2025

  • Updates prices.komodian.info -> prices.gleec.com
  • extends cache keep time
  • reduces data update loop freqs
  • reduces "pairs_days" from 30 to 14 days (reducing pair combo load for orderbook loop)

The changes above, along with a cronjob to restart kdf hourly, were added to avoid CPU thrashing. KDF orderbook subscription overload could otherwise lead to a cascading failure of orderbook request timeouts. Restarting KDF flushes the subs, while prior data is retained in memcache to avoid lacking data during the restart.

As the KDF orderbook was the main problem, cache timings and loop freqs could be carefully returned closer to earlier values if needed, but I've left these changes in for now for safety.

@smk762 smk762 marked this pull request as draft December 2, 2025 04:57
@smk762 smk762 marked this pull request as ready for review December 4, 2025 13:00
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