Next API routes vs Next server actions vs Vercel edge functions vs Supabase edge functions [closed]

I’m building a web app with Vercel and Supabase, and I see now that there are a lot of options for where to run backend/business logic. In the past, it would have either run on a monolith server or a serverless function. However, I see now that NextJS itself includes features such as API routes and server actions, which I’m unable to distinguish from edge functions (both Vercel AND Supabase also have their own edge function implementations!).

Are there any meaningful differences between these options? Are they generally all reliable/scalable/multi-purpose?

  • Why am I getting downvoted for this lmao

    – 

Leave a Comment