Problem
Document and accounting workflows were degrading badly. API responses took 4–5 seconds, frontend rendering choked on large datasets, and users were abandoning flows mid-task.
What I did
- Diagnosed bottlenecks across the stack using profiling and tracing
- Identified and eliminated N+1 query patterns in GraphQL resolvers
- Re-architected the data access layer and caching strategy
- Introduced memoization and virtualization to fix rendering across large datasets
- Isolated Xero, Sage, and QuickBooks integrations into event-driven worker pipelines with retry and failure isolation
Outcome
- API response time: 4–5 s → under 1 s
- UI freezes eliminated when rendering millions of records
- Integrations now survive partial third-party failures gracefully