Skip to content

Better backend and cache performance - #1048

Merged
javuto merged 1 commit into
developfrom
db-performance-bulk
Sep 9, 2026
Merged

Better backend and cache performance#1048
javuto merged 1 commit into
developfrom
db-performance-bulk

Conversation

@javuto

@javuto javuto commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Implementation of #562

Summary

  • Replace per-node heartbeat writes with bounded bulk updates while preserving timestamps and preventing stale IP updates.
  • Add race-safe query caching with a configurable two-minute default and post-commit invalidation.
  • Cache console/file-explorer session checks and skip them when acceleration is disabled.
  • Return retryable errors for query-dispatch failures and validate persisted TTL settings.

Validation

  • Full Go suite and targeted race tests passed.
  • PostgreSQL, MySQL, and Redis integration tests passed.
  • OpenAPI consistency check passed.

Operational Notes

  • Upgrade all API/TLS replicas for race-safe invalidation.
  • Direct-database CLI submissions rely on cache expiry; API-mode submissions invalidate immediately.

@javuto javuto added osctrl-tls osctrl-tls related changes osctrl-api osctrl-api related changes backend Backend related issues cache Cache related issues labels Sep 9, 2026
@javuto
javuto merged commit 78e9c43 into develop Sep 9, 2026
7 checks passed
@javuto
javuto deleted the db-performance-bulk branch September 9, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Backend related issues cache Cache related issues osctrl-api osctrl-api related changes osctrl-tls osctrl-tls related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant