I'm working on a Next.js app hosted on Vercel's free tier, using Supabase on the free tier as my backend. I'm anticipating about 200 sign-ups over a three-day period during a campaign. The user interface is entirely client-side without server-side or static site generation. Supabase has a connection limit of 15 and I've set up indexes on my primary tables. Vercel is serving static assets through its CDN, and my app is pretty straightforward, mainly collecting data like name, age, height, etc., while allowing video uploads to Cloudflare R2 storage. I'm eager to know if this setup can handle the expected user load without issues, especially since the sign-up process is crucial and I want to ensure a smooth experience without losing potential users. Any tips on preparing for this scenario or resources to learn more would be greatly appreciated!
2 Answers
Honestly, 200 sign-ups spread out like that isn’t really traffic that’s going to break anything. It sounds like you're more worried about user experience during the sign-up process, which matters! Focus on how fast your server can respond to requests. If you can manage fewer requests per second than what you'd expect from those sign-ups, you should be alright. Also, keep in mind that what really matters is page views—if you start seeing spikes in that metric, that's when you should take action!
You're in a pretty good spot; 200 sign-ups over three days isn't a huge load for your setup! Vercel's CDN is great for static assets, so you shouldn't run into major issues there. Just keep an eye on your connection limits with Supabase. If you’re worried, consider optimizing your database queries and ensuring your app is efficient since the real concern is how many requests your server can handle. If you’re not seeing heavy traffic in terms of page views, you’ll likely be just fine!
Thanks for the reassurance! What can I do to make sure I’m prepared just in case? Any specific optimizations I should look into?
Good point! I didn't think about page views. But what if I get hit with sudden spikes? How can I be ready for that?