← All writing

Trading Server Actions for API routes on Vercel

TODO: the app, hosted on Vercel, and the symptom that made you look at Server Actions.

Where the time went

TODO: why Server Actions were slow here — serialization, sequential invocation, no parallelism, cold starts.

TODO: describe the image
TODO: caption.

What changed

TODO: the migration to route handlers. What the call sites look like before and after.

Results

TODO: numbers after. What you would do differently.