That's It, I'm Done With Serverless*

preview_player
Показать описание
Gonna be a long year of moving everything to the edge...

S/O Ph4seOne for the awesome edit 🙏
Рекомендации по теме
Комментарии
Автор

Oh no this is going viral which means the comments are going to utter shit. FAQ HERE - IF YOU ASK SOMETHING I ANSWER HERE YOU'RE PERMABANNED

"What is the edge runtime" - it's an ALTERNATIVE TO NODE that is VERY MINIMAL and VERY FAST. That is why it has no cold starts. That's also why it has no native ability. (mentioned at 8:54)


Seriously if y'all don't cut the shit I"m turning off comments.

tdotgg
Автор

First serverless, then edge, next thing you know theo's in your kitchen installing a server for less latency.

Gabriel_Pureliani
Автор

It's funny watching devs reinvent everything they shunned 😂

plopplippityplopyo
Автор

"Put everything on a VPS" and stop thinking
Best decision i ever made

wiztek
Автор

I feel that web developers went from optimizing LAMP stacks and dove directly into serverless, to quickly realize that it's expensive if you're not going to optimize, and then went back to optimizing. Next video will be about "how I ditched serverless to configure my own Varnish/Redis cache"

heidji
Автор

idk guys I feel at this point when I was building with Express and EJS and deploying on a VPS with a simple NGINX reverse proxy we reached the peak and then we started over-engineer..

mattiarasulo
Автор

Hey Theo. I don't know if you actually measured the difference in request time to the DB but from what I know there is signifcant overhead to an HTTP request unless you are using Connection: keep-alive.
Does the edge runtime support keep-alive connections?

(P.S. I checked the FAQ first)

lennart
Автор

Soon we will rediscover servers where cold starts, hand shakes, and ORM spin ups aren’t a thing.

LawJolla
Автор

I really like how you give an explanation with a visual diagram to support it. It's really helping me understand some of the more infrastructure-side tech.

jacobwwarner
Автор

You are the meme JavaScript developer that has a different stack every week, but pretends they don't.

allNicksAlreadyTaken
Автор

I use lambda running node/express for SSR and find that less than 1% of user requests end up being cold starts now that the site has a decent level of traffic. With a cold start, the TTFB on a good connection rises from around 200ms to around 400-450ms, which isn't bad enough to make me want to switch. Plus the JS code is 20mb+ uncompressed on the server side so I would have to do something with that.

matthew_whitfield
Автор

Does anyone know of an edge compatible cuid generator?
The paralleldrive one seems to use node:crypto which doesn't work in edge, and I don't believe Drizzle has a helper for it.

SeanCassiere
Автор

it's only been a month since your T3 tutorial and i feel like it's already getting outdated. Will you make an update video where you build it with all the new things you have been talking about since then?

oscarhagman
Автор

Yeah it’s awesome!
Btw is it possible already to use just “edge” keyword instead of “experimental-edge” for deployments or it’s different runtimes where the experimental one is for new features like regional edge?

oleksandrploskovytskyy
Автор

Do you have a video of you building an app on the edge with planetscale? I find it hard to use planetscale without prisma and would love to see how you do it

theshy
Автор

And when I think that for more than half of my and my clients web apps/sites I just use a VPS and it just works fine, with loading times that are good. :( When did deploying stuff become so overcomplicated?

kemoboy
Автор

Wouldn't read-only DB regions be a solution for the global edge problem? (Planetscale can manage that) Or I can't guarantee my global edge function calls my closest read-only database?

pappdomi
Автор

Can anyone help me to understand why we don't have cold start on the EDGE? I missed that.
thanks!

Leofmoura
Автор

This was incredibly informative! Where can we read more about practical coding for the edge runtime (including handling non-edge-ready dependencies and dealing with data)?

DiegoBM
Автор

What presentation tool do you use to explain all about serverless? quick drawing is what kept my attention when you were pointing out the subtle differences between serverless vs edge. Kudos.

mochalatte