Case study · Under NDA · NeevCloud · 2025 – now
An ops dashboard that stays up. Even when a service behind it doesn’t.
- Role
- Primary engineer, 208 of 213 merged PRs
- Used by
- 100–150 people every day
- Timeline
- Nov 2025 – now
- Stack
- Next.js, React, TanStack Query, Node.js, PostgreSQL, Prisma
01 · The problem
One failure took the page with it.
The dashboard is where an operations team runs its day: 14 views of accounts, usage and billing for a GPU cloud. When one service behind a view was slow or failing, the whole page went blank. The heaviest account view took 25 seconds, and some queries pulled millions of rows into the Node.js server until it ran out of memory.
Tip a domino to see it.
dominoesrest
02 · What I changed
Six fixes, across three layers.
Each key is one fix, grouped by layer: interface, API, database. Press one to read it.
consolerest
- ui 1Seven sections that fail on their ownEach section has its own skeleton, retry and last good data, so one failing service never blanks the page.
- ui 2One loading contract, no layout shiftA typed AsyncData<T> for loading, refresh and errors, with reserved-height skeletons across about 40 tables.
- ui 3One data grid instead of 54 tablesSorting, pagination, empty states and keyboard navigation in one composable grid.
- api 1Half the API callsBundle endpoints, polling that pauses when the tab is hidden, and rate-limit backoff: about 22 calls per refresh down to 10.
- api 2Guard railsPer-admin rate limits, a 64-request in-flight cap, statement timeouts, and a critical auth bypass closed.
- db 1Heavy work moved into PostgreSQLRow folding moved from Node.js into SQL GROUP BY, behind kill-switch flags: one dialog went from 7.4M rows to 2.
03 · Results
Faster, and it doesn’t fall over.
25s → 1.7sThe heaviest account view
10.2s → 0.4sUser metrics, with 10× less memory
~22 → ~10API calls per dashboard refresh
2,240Unit tests gating every merge
Out-of-memory crashes stopped once the heavy work moved into the database. Names, screens and data are left out under my NDA; the drawings on this page stand in for them.