The Edge - what's the point

so as far as i know the edge move a server close as possible to your user right? but then what's the point of the edge if the database is server located in one region which is depend one the user if the request gonna be fast or slower right? i see the edge fit for applications where there's no database maybe? i'm new to all of these so if you can explain when should i use the edge or i'm missing something with all of that
Solution:
Cold starts bad
Z
Zan322d ago
Theo - t3․gg
YouTube
That's It, I'm Done With Serverless.
Gonna be a long year of moving everything to the edge... ALL MY VIDEOS ARE POSTED EARLY ON PATREON https://www.patreon.com/t3dotgg Everything else (Twitch, Twitter, Discord & my blog): https://t3.gg/links S/O Ph4seOne for the awesome edit 🙏
V
8v.322d ago
so what's the point of edge with region and not just use serverless?
Solution
Z
Zan322d ago
Cold starts bad
Y
Yiannis322d ago
this is the best video for this imo
Y
Yiannis322d ago
Melkey
YouTube
You Don't Know Vercel Infrastructure
In this video tutorial, Theo takes you through the concepts of Edge Functions and Serverless computing. Edge Functions are a way to run code at the edge of a content delivery network (CDN), which enables you to execute code closer to your users, resulting in faster response times and reduced latency. Vercel is pushing the innovation with this te...
N
Neto322d ago
The edge location is bad it you have an unique source of data, like an database But the edge runtime is the main selling point here, it's stripped for lots of nodes features like the file system, but can give you better performance when starting and executing it You also have a different way of billing, with traditional serverless you pay by the resource usage + time allocation With the edge runtime, you pay in a different way
I
iukea322d ago
Cold start = bad can mean blocking on a page. Fix build an app that has people going to it = not as many cold starts Hard part = building a good app Also cheaper than lambda
Want results from more Discord servers?
Add your server
More Posts
cloudflare R2 in Versel?Has anyone here used R2 in their NextJS app hosted on Versel? Trying to save money on bandwidth WhReact.FC equivalent for RSCIs there a "React.FC" equivalent for React Server Components?How do I use the return type of a function with overloads that will be returned in the same functionI'm creating a library, but I have a problem when I use a function with overloads to return itself iMedia not rendering on first try, only after a refreshHey, first of all, this is my first complex Next.js project, so it is very probable that I am doing any good resource for browser extension development?just titleRoute Guarding with nextjsHow do you implement route guarding with nextjs? Not too sure what would be the recommended way to dthe URL must start with the protocol `mongo`I have been geting this error recently, and I have no idea why. my mongodb DATABASE_URL is without "Read and Write in Next Js Is not working in production (vercel)this code is working in local environment but not working in production can anyone tell me how to reDesperate for help with Trpc resolver.How can i get resolve({ default: base64Data }); to only trigger once trpc has returned success or fuseRouter queryHow do y'all handle typescript with nextjs's query params? Currently I'm doing ```const cartId = quPassword hashing on EDGE?I'm making an app and noticing that vercel's serverless functions are taking very much time to complAuth.js Muti-device SupportI'm implementing auth right now in a site that the user will likely be switching from mobile to deskNextJS should I use a headless CMS?Hello I am working on a project that is a multi user blog where anyone can create a post and commenHow to define this exact relation on prismaGiven this two models, how could I implement a relation between them, where a duel has 2 user Ids inHow much do y'all charge for your apps?I have created two complete custom apps for clients, took 40-60 hours a piece. Just curious how y'aDrizzle client side vs server side?hi can someone help explain to me a bit about drizzle? as far as i can tell, its doing client side at3-turbo + next-i18n + tRPC doesn't work on Vercel only locallyHi. I tried to implement server side localisation in tRPC according to this article https://levelupAnyone have an exampe of two nextjs applications in a single repo?Basically I want to have a website for the customer facing site and another for the admin portal to Recommendations for validation library?in t3 docs under other recommendations section, there is no validation library there https://createsuperplanet conection fails in production modeI need help with next auth / planetscale connection. my app works fine in localhost but does not con