34 Replies
Enough in what regard? Performance, yes
its autoscaling so there's no practical limit
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?
definitely
Also, all that for $20?
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
Technically its commercial use. So hobby wont be the fit i assume
Sounds good
Oh, okay. Yeah, so whatever fits the ToS
or would you recommend a
aws ec2
I have no production experience with EC2. I usually work one layer of abstraction above EC2: Vercel, Convex, Appian
Also, One question.
How do i maintain a dev/production repository? Is it generally 2 different reps or 2 different branches
branches. Use the GitHub flow pattern if you're just getting started
Is it some type of laid down method for people to use github?
yeah, most workflows are smoothest with github integrations
Any good articles realting to this begginer friendly workflow?
OAuth into Vercel via GitHub
is it image or video heavy
serving that is what will cost you on vercel. a pretty penny ;-P
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
if you're not hosting them on vercel then it's fine
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
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.
True, Makes sense
tried deploying on vercel and got this
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 documentationGot it working, Just had to change one line of code.
Vercel deployed my site in like 5 seconds. Awesome stuff. Thanks!
setup that github integration and it'll auto deploy when you merge a branch, cool stuff
nvm thats standard with your vercel setup
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?
yes because you can rollback to previous deploys
isnt it useless for them to host 100 different versions of my site tho
they have their checks and balances
Vercel just makes me want to squeeze some extremely hard
Just RAAAAHHHHH
VERCELLLL AHHHH
yeah, it's interesting. Each build cache is ~150 MB for a new Next.js project.