Captain Pre
Captain Pre6mo ago

Is vercel enough to host a SAAS?

Is vercel enough to host a SAAS?
34 Replies
Matt Luo
Matt Luo6mo ago
Enough in what regard? Performance, yes
Omar
Omar6mo ago
its autoscaling so there's no practical limit
Captain Pre
Captain PreOP6mo ago
Its just a listing site, Where users can view certain listing. nothing very special. Can it technically handle like 10k visits a day or so?
jamwt
jamwt6mo ago
definitely
Captain Pre
Captain PreOP6mo ago
Also, all that for $20?
Matt Luo
Matt Luo6mo ago
I think the Vercel hobby plan would be fine for 10k visits Vercel automatically puts you in the paid plan if you exceed usage limits
Captain Pre
Captain PreOP6mo ago
Technically its commercial use. So hobby wont be the fit i assume Sounds good
Matt Luo
Matt Luo6mo ago
Oh, okay. Yeah, so whatever fits the ToS
Captain Pre
Captain PreOP6mo ago
or would you recommend a aws ec2
Matt Luo
Matt Luo6mo ago
I have no production experience with EC2. I usually work one layer of abstraction above EC2: Vercel, Convex, Appian
Captain Pre
Captain PreOP6mo ago
Also, One question. How do i maintain a dev/production repository? Is it generally 2 different reps or 2 different branches
Matt Luo
Matt Luo6mo ago
branches. Use the GitHub flow pattern if you're just getting started
Captain Pre
Captain PreOP6mo ago
Is it some type of laid down method for people to use github?
jamwt
jamwt6mo ago
yeah, most workflows are smoothest with github integrations
Captain Pre
Captain PreOP6mo ago
Any good articles realting to this begginer friendly workflow?
Matt Luo
Matt Luo6mo ago
OAuth into Vercel via GitHub
Omar
Omar6mo ago
is it image or video heavy serving that is what will cost you on vercel. a pretty penny ;-P
Captain Pre
Captain PreOP6mo ago
image probably, Each listing has 2 images and there is like 1k listing minimum Why does vercel charge me to serve images that are hosted elsewhere lol
Omar
Omar6mo ago
if you're not hosting them on vercel then it's fine
Captain Pre
Captain PreOP6mo ago
I will just host in convex :p oh nvm, Its only 1 Gig in convex aswell. But even if i have to pay, I assume convex costs much less than vercel
Matt Luo
Matt Luo6mo ago
Interesting, this made me research Vercel docs. SEems like Vercel prices per image: https://vercel.com/docs/image-optimization/limits-and-pricing#source-images So, that sort of pricing may be more predictable for you as you are getting started.
Limits and Pricing for Image Optimization
This page outlines information on the limits that are applicable to using Image Optimization, and the costs they can incur.
Captain Pre
Captain PreOP6mo ago
True, Makes sense
Captain Pre
Captain PreOP6mo ago
No description
Captain Pre
Captain PreOP6mo ago
tried deploying on vercel and got this
Matt Luo
Matt Luo6mo ago
A rite of passage. Vercel builds your project into a production-optimized build. Such a build doesn't happen when you locally run npm run dev. If this tripped you up, I think it'll help to go back and forth with an AI assistant. Claude3.5 is trained on Convex documentation
Captain Pre
Captain PreOP6mo ago
Got it working, Just had to change one line of code. Vercel deployed my site in like 5 seconds. Awesome stuff. Thanks!
Omar
Omar6mo ago
setup that github integration and it'll auto deploy when you merge a branch, cool stuff nvm thats standard with your vercel setup
Captain Pre
Captain PreOP6mo ago
Yeah lol I used github oath, so it auto deploys my main branch Can i make my git repository private and this would still work? Vercel seems to deploy my site for every push, meaning my previous pushes are deployed too. is this intended behavior?
Omar
Omar6mo ago
yes because you can rollback to previous deploys
Captain Pre
Captain PreOP6mo ago
isnt it useless for them to host 100 different versions of my site tho
Omar
Omar6mo ago
they have their checks and balances
No description
v
v6mo ago
Vercel just makes me want to squeeze some extremely hard Just RAAAAHHHHH VERCELLLL AHHHH
Matt Luo
Matt Luo6mo ago
yeah, it's interesting. Each build cache is ~150 MB for a new Next.js project.

Did you find this page helpful?