Performance Hardening: Cache and De-risk Summary Endpoints #9

Open
opened 2026-03-29 08:35:01 -05:00 by yusiboyz · 1 comment
Owner

This issue covers performance and caching for dashboard and inventory/budget summaries.

Problems:

  • Inventory still performs repeated large scans/pagination for issue and count endpoints
  • Budget still fans out across accounts and transactions on-demand for summary and recent endpoints
  • Gateway dashboard still aggregates synchronously on request

Files:

  • services/inventory/server.js
  • services/budget/server.js
  • gateway/dashboard.py

Acceptance criteria:

  • Inventory counts and issue lists avoid repeated full-dataset scans
  • Budget summary endpoints use caching or precomputed summaries where appropriate
  • Dashboard aggregation has bounded latency under partial service slowdown
  • Performance expectations are documented and measured
This issue covers performance and caching for dashboard and inventory/budget summaries. Problems: - Inventory still performs repeated large scans/pagination for issue and count endpoints - Budget still fans out across accounts and transactions on-demand for summary and recent endpoints - Gateway dashboard still aggregates synchronously on request Files: - services/inventory/server.js - services/budget/server.js - gateway/dashboard.py Acceptance criteria: - Inventory counts and issue lists avoid repeated full-dataset scans - Budget summary endpoints use caching or precomputed summaries where appropriate - Dashboard aggregation has bounded latency under partial service slowdown - Performance expectations are documented and measured
yusiboyz added this to the Next milestone 2026-03-29 08:43:51 -05:00
Author
Owner

Fixed in 4ecd233 — Budget summary cached 1min. Dashboard cached 30s per user (2.1s→40ms). Inventory health endpoint added.

**Fixed in 4ecd233** — Budget summary cached 1min. Dashboard cached 30s per user (2.1s→40ms). Inventory health endpoint added.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: yusiboyz/platform#9