16 comments

[ 3.2 ms ] story [ 52.4 ms ] thread
Geez this sounds complicated.

What ever happened to just S/FTP your files to the web server.

Still a viable option and I’d bet is how a solid % of the websites on the web are published/updated.
The explanation is terrible and long winded. Here it is dumbed down:

Vercel resells servers with additional stuff ontop. When you commit code to a git repository, vercel (optionally) runs a build step (like you would on a workstation). It takes the resulting files (HTML, CSS, JS, ect), and sends them to many servers around the world. When a user requests your site, it chooses the closest one. Those servers are also capable of running small scripts when information is requested from them, to add dynamic content. Metaframeworks (some combination of a backend (like Django) and frontend (like React) framework) can generate this dynamic code.

--- End explanation, que personal thoughts) ---

I quite like this "serverless" methodology, for a variety of reasons. While it's a paradigm shift, it makes my life so much easier. For simple sites, I just write my static files, commit them, and spend... I suppose less than 30 seconds clicking buttons to set it up forever. I never need to worry about server maintenance, uptime, or security. I never need to think about updating remote files. It's also incredibly cheap for my hobby projects, as I'm not renting a server that duplicates the work of every other one on the rack.

Yep, this 100% is my use case (although I use Cloudflare's pages, and use supabase for storage layer). I don't even like writing js, prefer python... but it's so dang easy to use a SSG + js for dynamic content on supabase.
You can still do that. eg bunny cdn can basically act as a cdn with ftp back end
With the exception of a Postgres offering (they went with SQLite) and what sounds like some sort of built in CMS, Cloudflare has all of this. I don't mean in a glue together your own Dropbox way but in a nicely integrated verify your GitHub profile, pick a repo, get automatic deployment and serverless functions that just work way. The same way Vercel is being described.

My understanding is that Vercel is built on top of Cloudflare and charges a significant premium.

Presumably people are paying that premium for the unspecified "nifty performance optimizations" for Nextjs and not for the CMS and Postgres. Has anyone gone from Cloudflare to Vercel that can speak to the differences they found?

> My understanding is that Vercel is built on top of Cloudflare and charges a significant premium.

Are you sure it's Cloudflare and not AWS?

Vercel is great, the setup is easy and overall dev workflow is very nice. And maybe the best thing about Vercel is its dev team is very active in terms of pushing features and reaching the public.

However, I agree with what you said that it does "charge a significant premium". I've switched to cloudflare for a recent project and been happy with it. Right now for me, if it's work-related and company has the resources and finance, go with vercel. For personal projects & freelancer work, stick to cloudflare.

Vercel edge runtime is built on cf workers and blob is a wrapper around R2

Postgres is a wrapper around neon and kv is a wrapper around upstash

Everything else is aws

What does Vercel do? It takes the engineer's code and puts it on Lambdas and CDNs! Why can't the engineers take the code and put it there themselves? Look I already told you! What the hell is wrong with you people?! They don't have deployment skills! Vercel has deployment skills!
(face turning bright red)

"I'm a people person g-d d$%& it!!"

I used to use a custom build script to do deploys (scp a binary onto a monolith server, execute a script; systemd restart www.service, etc). Worked fine for years. It would continue working fine, too.

I moved to Vercel and adopted a fairly serverless approach and leverage edge functions and edge caching where ever possible. It has been wonderful and I don't see myself ever going back to doing things myself. Sure, I could spin up some AWS services and figure it all out myself, but the freedom Vercel has given me has been worth the added cost. As a solo founder it has been amazing.

No more worrying about security, access control, updates, or anything other than my own product and features. I don't care how it works. I don't want to know. I just want to continue improving my product.

Oh man! Great to see a friend on front page, hey Justin! Great article