TLDR Tech / Dev
5x SSR Throughput: Profiling SSR Hot Paths in TanStack Start
TanStack Start achieved a 5.5x increase in throughput and a 9.9x reduction in average latency for their server-side rendering (SSR) under heavy load. This improvement was due to a process that involved measuring under load, CPU profiling to find bottlenecks, and removing unnecessary costs from the server hot path. They specifically avoided redundant URL construction/parsing, eliminated client-side reactivity overhead during SSR, and implemented server-only fast paths using build-time constants.
Read the full story