Is "edge" computing really faster?

  Рет қаралды 554,542

Fireship

Fireship

Жыл бұрын

Edge computing is becoming a popular way to deliver modern web applications. Let’s find out if the Edge is really faster by comparing Firebase to Vercel Edge Functions with Next.js.
#webdevelopment #javascript #vs
🔗 Resources
Next Firebase Course fireship.io/courses/react-nex...
Next.js 12.2 Release nextjs.org/blog/next-12-2
Cloud Flare Workers Docs developers.cloudflare.com/wor...
CDN Testing Tools tools.keycdn.com/performance
🔥 Get More Content - Upgrade to PRO
Upgrade to Fireship PRO at fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.
🎨 My Editor Settings
- Atom One Dark
- vscode-icons
- Fira Code Font
🔖 Topics Covered
- What is edge computing?
- Edge computing benchmarks
- Next.js Edge Functions Tutorial
- Are firebase cloud functions slow?
- Edge Computing drawbacks
- SSR Edge Rendering
- How to prevent cold starts on serverless functions

Пікірлер: 1 100
@alexleung842
@alexleung842 Жыл бұрын
I prefer tatooine-west-4 for all my deployments since the average distance to end users is about the same for everyone.
@dhess34
@dhess34 Жыл бұрын
4D development thinking.
@youtubi123youtubipel
@youtubi123youtubipel Жыл бұрын
I was using deathstar-west-1 for an app of mine, but I'm getting a 404 status code now, any idea what it might be?
@Juankinator
@Juankinator Жыл бұрын
my end users are mostly in Mos Eisley so tatooine-east-1 works better for me
@donvalderath4308
@donvalderath4308 Жыл бұрын
bout 12 parsecs ain't it?
@FrankPerkins
@FrankPerkins Жыл бұрын
I dont know if I would recommend this because the Tatooine binary star caused solar anomalies in some of my requests.
@minuspi8372
@minuspi8372 Жыл бұрын
I love how ~800ms is unacceptably slow, but at my work I regularly do queries on a database that should take less than a second, but they somehow made take up to 20 seconds.
@samuelpucat3151
@samuelpucat3151 Жыл бұрын
do you even index, bro?
@sliversun4807
@sliversun4807 Жыл бұрын
As samuel mentioned, index table columns in the query that have the heaviest cost ( you can check by analyzing the query in the ide ) and your queries will be much faster. Keep in mind you might need to refresh the indexes every now and then
@harrytsang1501
@harrytsang1501 Жыл бұрын
800ms is unacceptable only because this is a minimum viable tests for network latency that does not involve computation or DB
@mushbrain1753
@mushbrain1753 Жыл бұрын
Wtf are you doing?
@jellyrabbits375
@jellyrabbits375 Жыл бұрын
It's unacceptably slow or blazing fast depends on use case and goals, without context it doesn't mean much.
@antoineweb1
@antoineweb1 Жыл бұрын
so basically edge = bring server closer to the consumer, while CDN = bring static files closer to the consumer.
@mrbjjackson
@mrbjjackson Жыл бұрын
Airplane = bring consumer closer to the data
@muhammadyusoffjamaluddin
@muhammadyusoffjamaluddin Жыл бұрын
It also bring your app to the edge of the world! #RIPRoundWorld
@MaxGuides
@MaxGuides Жыл бұрын
Or…the video maker entirely misunderstood what edge computing was due to these shitty frameworks trying to leech off of the name.
@butterfly7562
@butterfly7562 Жыл бұрын
not all, edge db is exsiting..
@PhilipAlexanderHassialis
@PhilipAlexanderHassialis Жыл бұрын
@@mrbjjackson to quote the old guys in the balcony from Muppet Show: "Science. It can take man on the moon!" "Yeah, but it can't take moon on the man! AAHHAHAHAHAH"
@Marci696
@Marci696 Жыл бұрын
Instead of me explaining constantly to team members why edge / serverless is a bad idea for our single MySQL database, I can now send them this video. Ty for that
@Kasper-mu4ov
@Kasper-mu4ov Жыл бұрын
why is it bad for serverless
@wlockuz4467
@wlockuz4467 Жыл бұрын
Plot twist, They still think its a good idea but now they're flat Earthers.
@joelei4179
@joelei4179 Жыл бұрын
@@Kasper-mu4ov Extra steps to setup conneciton pooling. No benefit in speed if your page depends on loading data from database in a centralized location.
@halfbakedproductions7887
@halfbakedproductions7887 Жыл бұрын
The Achilles Heel of edge computing is when the edge servers have to rely on a janky slow-ass core for their content. It's a bottleneck and you gain nothing.
@thatsalot3577
@thatsalot3577 3 ай бұрын
​@@joelei4179I mean you can use an edge db like R1 or turso
@turolretar
@turolretar Жыл бұрын
Microsoft edge is pretty good, I use it instead of node js as a backend
@codelexis
@codelexis Жыл бұрын
Microsoft edge still exists? 😱 The last time I opened it was to play the surf game 🤣
@lawrencemanning
@lawrencemanning Жыл бұрын
@ best not watch anything that’s *really* funny or you might die of a heart attack.
@ioneocla6577
@ioneocla6577 Жыл бұрын
@@codelexis it's actually one of the most popular browser that isn't chrome (even tho it uses chromium) and tbh it's a really good browser and if i had to choose between edge and chrome I'll probably choose edge
@pedrobigboss
@pedrobigboss Жыл бұрын
@@ioneocla6577 is better than chrome.
@wanderingthewastes6159
@wanderingthewastes6159 Жыл бұрын
@@pedrobigboss get those bloats out of your computer and use brave already.
@spx0
@spx0 Жыл бұрын
The time from router A to B does not depends always on the distance, it depends also on the route contracted between the ISPs , priorities, bandwidth, time of the day, solar storms and of course the flat shape of the plainet
@AlamgirTamboli
@AlamgirTamboli Жыл бұрын
I laughed pretty hard at that part. Sadly some will think he's serious.
@umeshofficial13
@umeshofficial13 Жыл бұрын
Lol
@blacky7801
@blacky7801 Жыл бұрын
I like how this implies that the earth can change shape. Because yknow, somthing can't depend on a constant
@sonetagu1337
@sonetagu1337 Жыл бұрын
@@blacky7801 technically, yeah. Soon after like millions of years, Earth's day would be 26 hours, which makes earth slighty more "round".
@blacky7801
@blacky7801 Жыл бұрын
@@sonetagu1337 don't be silly! the earth isn't round
@theanarchist4449
@theanarchist4449 Жыл бұрын
Subtle humor and conspiracies is what makes a tech video worth watching
@jamesfulford
@jamesfulford Жыл бұрын
"subtle"
@reisaki18
@reisaki18 Жыл бұрын
@@XeiDaMoKaFE because they've gone to the moon 53 years ago and we people believe it sincerely, so that the government can mandate us to wear face diapers.
@highlyillegalpigeon
@highlyillegalpigeon Жыл бұрын
@@jamesfulford XeiDaMoKa FE: "ikr , no globaloid would put that there but ofc then have to pass it off as joke with donuts , reputation is on the line I understand"
@highlyillegalpigeon
@highlyillegalpigeon Жыл бұрын
They just deleted his comment and the one I posted from my other channel. Fireship even uses the map where Antarctica is shown as a ring of ice.
@AByteofCode
@AByteofCode Жыл бұрын
But maybe the stress of programming while on the edge of a cliff until a task is completed would increase productivity and coding speed, that would be edge computing
@gngn2973
@gngn2973 Жыл бұрын
also possibly more bugs, the flying kind, being outside and all.
@AByteofCode
@AByteofCode Жыл бұрын
@@gngn2973 Well if all the bugs you get are physical, then you won't get any digital ones 🤔
@crptlvr7773
@crptlvr7773 Жыл бұрын
@@AByteofCode on a serious note tho, coding while being high on pressure and stress makes code work short term, then perosnaly bugs would be deep in the implementation
@AByteofCode
@AByteofCode Жыл бұрын
@@crptlvr7773 Yeah absolutely, coding in stressful environments is never a good idea if you're trying to make something work in the long run
@gngn2973
@gngn2973 Жыл бұрын
​@@AByteofCode 😆Well my code always has lots bugs in it that I can't seem to find. They're the result of digital usually, but they're definitely always there. 🥺
@NishanCW
@NishanCW Жыл бұрын
Shoutout to all the devs in Sri Lanka working amidst an economic crisis. Great stuff as always Jeff. Thank you for keeping us up to date.
@ivanbulanov5754
@ivanbulanov5754 Жыл бұрын
Poor guys. I wonder how you manage to do anything with all of these blackouts.
@devindesilva123
@devindesilva123 Жыл бұрын
@@ivanbulanov5754 well let me put it rhis way.... My sleep patterns have never recovered
@codeschool3964
@codeschool3964 Жыл бұрын
Was looking for Sri Lankans in the comment section and here I am.
@nivaldolemos5280
@nivaldolemos5280 Жыл бұрын
Well, what about the massacres in Sri Lanka, honey? Doesn't that affect us too?
@Nihalthegreat
@Nihalthegreat 4 ай бұрын
@@nivaldolemos5280 Me as a Bangladeshi be like: heheh boy.
@ThiagoVieira91
@ThiagoVieira91 Жыл бұрын
Great to see everybody aboard the BLAZINGLY FAST train. Now I want a livestream with Fireship, Primeagen, Theo and TomDoesTech. (edit: typo)
@suryavirkapur
@suryavirkapur Жыл бұрын
me 2
@muralielumalai
@muralielumalai Жыл бұрын
Yup
@NeerajLagwankar
@NeerajLagwankar Жыл бұрын
lmao true
@bren.r
@bren.r Жыл бұрын
Who’s Primagen? Is that a Primeagen wanna be?
@mishikookropiridze
@mishikookropiridze Жыл бұрын
@@bren.r vice versa
@TheLuke1662
@TheLuke1662 Жыл бұрын
One of your best videos, not just explaining what it is but the pros and cons and real world examples to back it up. I love it.
@vicradon
@vicradon Жыл бұрын
This is a good introduction to edge deployment. Thank you Jeff.
@thepisewigeon
@thepisewigeon Жыл бұрын
That flat earth moment got me rolling. Always a pleasure to watch your videos😁
@savage512
@savage512 Жыл бұрын
Besides, everyone knows that the world is in the shape of a pyramid 🧑‍🔬
@madhououinkyoma
@madhououinkyoma Жыл бұрын
They see me rolling..
@adamd0ggg2
@adamd0ggg2 Жыл бұрын
When I got my GCP PCA the google docs were trying to help you decide what cloud solution you need for your app. It mainly went "Are you building a web app for use by humans?" => Yes:" Firebase " No:" Everything else in GCP".
@halfbakedproductions7887
@halfbakedproductions7887 Жыл бұрын
These exams are vendor-specific for a reason. If you want a generic cloud exam take something like Cloud+ or CCSK/CCSP.
@raniketram
@raniketram Жыл бұрын
Thanks a lot for this awesome content!
@jonnyt3391
@jonnyt3391 Жыл бұрын
Really enjoyed the practical demonstration of use cases and limitations. Up there in my all time fireship vids.
@tekuni
@tekuni Жыл бұрын
Interestingly enough, I just started working on an application running on Cloudflare Pages. This just made me aware about some things to expect from livin' on the edge.
@mahlerstitan3797
@mahlerstitan3797 Жыл бұрын
As someone who is focusing more on AI and IoT, I don't know much about web development but this isn't edge computing and I think its name is just being used as a marketing shtick in this domain. You got it right that edge computing is about bringing the computational resource closer to the end user. Although edge computing is more of an umbrella term, inter-state or inter-country connections being called edge computing is a stretch. An edge device is a local resource that is much closer (e.g. server in your university campus) where resource constrained mobile devices such as smartphones can offload tasks to instead of offloading to the cloud, as offloading to cloud isn't viable for tasks with low latency requirements such as games, sensing, augmented reality and so on. It's not a standalone replacement of the cloud infrastructure either, it's just introducing another layer into the hierarchy for certain use-cases like the ones I have mentioned. I just wanted to clarify edge computing the way I know it so people don't get wrong ideas about the term just because it's being used out of context in web development.
@heroe1486
@heroe1486 Жыл бұрын
Thanks for the explanation, "edge" is being used everywhere in web development these days, it's the new marketing term, it seems to be the successor of the "cloud". Vercel use it that much that I'm surprised it's a new feature for their API routes
@insuranceillustrated
@insuranceillustrated Жыл бұрын
Do you have an alternative name to suggest for the web development community?
@lukasr.2563
@lukasr.2563 Жыл бұрын
i love your comment, i´m writing my bachelor thesis about this rn and what you describe is the way i see edge computing mentioned mostly. The reason to go for edge computing is speed and ideally also cost reduction, since sending terrabites of data somewhere gets real pricy after a while. An example i love is a self driving car. If you have a connection problem, and can´t upload data to the cloud, your distance sensor could take minutes to get the cloud feedback "YO MAN, YOU ARE CLOSEING DISTANCE TO THAT WALL A LITTLE TOO FAST", that´s why those have their own processors.
@alexanderveprik3331
@alexanderveprik3331 Жыл бұрын
I think more suitable term for the web domain would be "rendering on the Edge". There are articles that use that term instead and they clarify that the "edge" means the edge of the network: where the private network ends and public internet begins. I also don't think the term "edge computing" truly applies to the web use case. As far as I understand, the main goal of edge computing is to bring computing on the data closer to the source that generates the data, hence it make sense to do so for IoT devices that generate sh*tload of it. But in case of the web, user is not the one generating the data. They are the ones consuming it but the data lives in the central data storage. That's why one big challenge as mentioned in the video is bringing data (in central storage) to the edge, otherwise the whole point is lost.
@TheTrueStyropor
@TheTrueStyropor Жыл бұрын
Great mix of information and light comedy, without distracting from the subject, 10/10 !
@0xcoburn
@0xcoburn Жыл бұрын
Jeff your content is always top notch, been watching your videos since 2019 and they just keeps getting better, you’re a legend !
@FrankPerkins
@FrankPerkins Жыл бұрын
I think a better solution is the ability to deploy a LAMP stack into the end user's browser so your code can run locally on their workstation. Your move latency.
@FalconTheFries
@FalconTheFries Жыл бұрын
But when happens when that user wants to use his friends computer?
@adamajinugroho830
@adamajinugroho830 Жыл бұрын
@@FalconTheFries install LAMP again in his friends computer
@ivanbulanov5754
@ivanbulanov5754 Жыл бұрын
Just send them an exe.
@scottydog9997
@scottydog9997 Жыл бұрын
Lol, cloud computing back to the client.
@jakedewey3686
@jakedewey3686 Жыл бұрын
The solution was Javascript in the browser the whole time... who knew?
@kerodfresenbetgebremedhin1881
@kerodfresenbetgebremedhin1881 Жыл бұрын
Most concise video on edge compute I have seen thus far, good man
@temoncher
@temoncher Жыл бұрын
I love watching how my favourite content creators start to reference each other in their videos
@UltimateKeyboardHero
@UltimateKeyboardHero Жыл бұрын
Yoooo! Sri Lanka's going through a proper sh!t storm right now, but not in a million years did I expect one of my favorite channels to mention it! Much love
@dipbd1
@dipbd1 Жыл бұрын
I am from Bangladesh and really happy that you pronounced it pretty well!
@thatrand0mnpc
@thatrand0mnpc Жыл бұрын
but points at central india :O
@xiaoshen194
@xiaoshen194 Жыл бұрын
1:17 I love how Bangladesh is situated inside India 😂 Edit: I think U meant Bangalore?🤔
@darrenfernandes4189
@darrenfernandes4189 Жыл бұрын
That isn't where bangalore is either XD
@xiaoshen194
@xiaoshen194 Жыл бұрын
@@darrenfernandes4189 close.
@thunderrrrrrrrrr
@thunderrrrrrrrrr Жыл бұрын
@@xiaoshen194 About 1100 km off. 'Close'. But I guess this is CS.
@chaitanyabisht
@chaitanyabisht Жыл бұрын
I love this channel for its subtle humour while being informative as welll
@thamidudharshitha5515
@thamidudharshitha5515 Жыл бұрын
Thank you for the shoutout for devs in Sri Lanka. Really means a lot.
@MisterConscio
@MisterConscio Жыл бұрын
That Primeagen reference was gold 👌😂
@hunterwebapps5091
@hunterwebapps5091 Жыл бұрын
Edge computing is for highly specialized use cases, and requires a completely different paradigm and architecture than any of this even begins to touch on.
@RickGladwin
@RickGladwin Жыл бұрын
Yeah especially when one of the solutions to speed things up in the non-edge case is caching. It’s appropriate to cache some data, but other data it’s completely inappropriate. I watched this thinking there must be cases where edge is a better architecture for that specific case. Do you know if there are systems that use both?
@hunterwebapps5091
@hunterwebapps5091 Жыл бұрын
@Avin Kavish smart highways are the hot topic as a good example. manufacturing as well, where you need extremely low latency and fast processing for complex operations, but still be integrated into the wider network across multiple regions.
@nagoshi01
@nagoshi01 Жыл бұрын
Yep. I work on remote IoT industrial devices that can connect to sensors, compute data, and communicate via satellite. Designed for monitoring and controlling devices in remote areas. E.g. measuring the temp/pressure of a pipeline and sending the data to the company remotely. Another one is wildfire monitoring.
@tamasflamich
@tamasflamich Жыл бұрын
Another potential use case is to overcome the limitations of your CDN. For instance, introduce special routing towards origins.
@bamberghh1691
@bamberghh1691 Жыл бұрын
@@nagoshi01 but why would you need the responces to be that fast for wildfire monitoring? Wouldn't just connecting to centralized server be enough?
@leerob
@leerob Жыл бұрын
Really good introduction to edge computing with some balanced takes! Nice work.
@CodeWithAndrea
@CodeWithAndrea Жыл бұрын
Amazing video! I’ve been wondering about this recently, and this made things much clearer!
@LimitedWard
@LimitedWard Жыл бұрын
I think this topic deserves a deeper dive. How does testing/debugging work with edge computing, especially if the problem is happening on specific nodes? How can you monitor/validate which version of code is deployed across the world? How does edge computing integrate with CI/CD? For distributed databases, how do you tell the edge server to request data from the closest database instance, and how can it gracefully fallback to another instance during an outage?
@Davidlavieri
@Davidlavieri Жыл бұрын
Sadly nobody cares, better deploy features to stay ahead compettition, and obviously amass a victory among the twitter TODOs app experts
@gngn2973
@gngn2973 Жыл бұрын
Lot of information to unpack in this one. Also, the doughnut shaped earth is a really interesting theory. Tell me more.
@LeFlamel
@LeFlamel Жыл бұрын
It's technically physically possible with a perfect spin speed early in planetary formation. Probably not stable long term tho
@KT-tc9jr
@KT-tc9jr Жыл бұрын
Thanks for your effort to measure all those results ! I really appreciate that !
@jaivaswani1817
@jaivaswani1817 Жыл бұрын
Love all your videos! Very informative and helpful
@fizzdev
@fizzdev Жыл бұрын
You explained edge computing very well, great video!
@peopleofourtime2523
@peopleofourtime2523 Жыл бұрын
"They get an image hosted from Bangladesh" proceeds to mark India
@saismaranvijayagiri
@saismaranvijayagiri Жыл бұрын
He confused Bangalore with bangladesh
@thatonebroski
@thatonebroski Жыл бұрын
Keep up the work 👏 It makes me so happy to watch one of your videos.
@lukafoxyflow584
@lukafoxyflow584 Жыл бұрын
I'm from where you pointed in NZ ... saving for your course ... love what you do ... keep it up -- Kia ora.
@Guergeiro
@Guergeiro Жыл бұрын
Can't wait for dev hour with Prime!
@roywastaken
@roywastaken Жыл бұрын
i'm waiting for this one too... s/b really good
@DaveSohan
@DaveSohan Жыл бұрын
The Sri Lanka part caught me off guard 😂🔥
@backonrun626
@backonrun626 Жыл бұрын
what's cool about that?
@mohammedlebbeisbulla
@mohammedlebbeisbulla Жыл бұрын
👍
@Horthy_
@Horthy_ Жыл бұрын
@@backonrun626 ikr 😕
@shikhar2811
@shikhar2811 Жыл бұрын
@@backonrun626 At 1:19 he marked the edge function icon on India but says Bangladesh xD
@vaisakhkm783
@vaisakhkm783 Жыл бұрын
@@shikhar2811 XD
@martapfahl940
@martapfahl940 Жыл бұрын
You are amazing, no matter what programming topic I search for you have a video on it with expert knowledge shared, awesome.
@LeonelViera
@LeonelViera Жыл бұрын
Well thought examples for benchmark. As always great content
@talwu628
@talwu628 Жыл бұрын
I feel like the more popular the concept gets, the less "edgy" it becomes. 5 years ago, it meant it runs on a box you can probably see from where you're standing. Now it just means a datacenter but not in va.
@ayushvyas3401
@ayushvyas3401 Жыл бұрын
I can 'edge' on fireship content all day
@KrXYT
@KrXYT Жыл бұрын
bro 💀
@Th3MoL3
@Th3MoL3 Жыл бұрын
Pause.
@bcl56
@bcl56 Жыл бұрын
Ayoooo
@JonathanDoliver
@JonathanDoliver Жыл бұрын
heyyo
@vaisakhkm783
@vaisakhkm783 Жыл бұрын
what is wrong with he said 🤔🤔
@dailymeow3283
@dailymeow3283 Жыл бұрын
I can't really imagine how much i can learn from your short videos
@chadmwest
@chadmwest Жыл бұрын
I'd never considered the database round trip issue before. That's good to keep in mind!
@amanueltigistu8268
@amanueltigistu8268 Жыл бұрын
I think Edge Computing is Awesome, but data is the challenging part of it & Try to see Deno Deploy, Fastly Compute@Edge. Also Note that Cloudflare Workers are expanding scripts size to be from 5mbs - 100mbs & more.
@softwarelivre2389
@softwarelivre2389 Жыл бұрын
Deno Deploy is awesome!
@MunzirSuliman
@MunzirSuliman Жыл бұрын
lolz just was researching this topic for about a week and finally decided to build my next project on the Cloudflare edge network ... I will just start watching the video, fingers-crossed you won't ruin my research outcome 🤐😅😂
@bringbackwindowsphone
@bringbackwindowsphone Жыл бұрын
Cloudflare Workers is fantastic, they have an absolutely insane amount of data centers, no cold starts and a bunch of other services like R2, KV, DO, etc. which you may find useful.
@uziboozy4540
@uziboozy4540 Жыл бұрын
@@bringbackwindowsphone and D2 is incoming soon
@jugzster
@jugzster Жыл бұрын
I see your “Cleveland: We’re not Detroit” Your ability to include these funny memes and snippets, while still making the video highly educational is unparalleled
@bitwisedevs469
@bitwisedevs469 Жыл бұрын
Thanks for the pro tip with Firebase Function, didn't know there is new runtime option for cold start.
@lmtr0
@lmtr0 Жыл бұрын
CouchDB is a good db for distributed stuff too Also, what I have been doing is: frontend on cloudflare pages then backend on servers We study which locations have more users and then scale the backend to there. The frontend decides which backend to use based on the geolocation. And couchdb is also very fast on all cases because it's literary in the same computer
@neoxelox
@neoxelox Жыл бұрын
Hey, I'm actually also doing this the exact same way, except that for now we only have one location for the servers. For scaling up the servers I though getting a managed multi-region cockroachDB, but, as you already battle tested it, is couchdb good? Do you have it managed or you built the cluster yourself? Thanks PD: Also I'm afraid of using cockroachdb as it does not support the postgres trigram extension :(
@swaggitypigfig8413
@swaggitypigfig8413 Жыл бұрын
@@neoxelox :(
@noneofyourbeeswax7296
@noneofyourbeeswax7296 Жыл бұрын
Bottleneck is still gonna be the DB. That edge still has to talk to that DB in the Amazon data center.
@marknefedov
@marknefedov Жыл бұрын
@@neoxelox you can try YugabyteDB it is way more compatible with postgres, but managing it by yourself (in team) would be a hassle. Managed solution was pretty good though.
@lmtr0
@lmtr0 Жыл бұрын
@Avin Kavish yes, cloudflare pages are free for my use case
@luigigaminglp
@luigigaminglp Жыл бұрын
Id like to point out that the lines that transfer the data aren't really the issue. Because comparatively speaking, the massive routers that redirect the data to the correct correspondant are very very fast, but not as fast as light. Also, signal repeaters are a thing - but even those things are negledgeable
@goeland4585
@goeland4585 Жыл бұрын
Neglegable, neglibigle or is it negligigle?
@luigigaminglp
@luigigaminglp Жыл бұрын
@@goeland4585 I'm german lol
@goeland4585
@goeland4585 Жыл бұрын
@@luigigaminglp sorry haha it's probably easier when you know the french word it comes from
@noahlodrigueza5172
@noahlodrigueza5172 Жыл бұрын
Great video! You are so knowledgeable in all these aspects of computing. I am curious as to what your background is and how you got started in this industry? Thank you for all the great content!
@mohammedzaid6634
@mohammedzaid6634 Жыл бұрын
when you said Sri Lanka it warms my heart!! Hi from Sri Lanka!
@syzore2
@syzore2 Жыл бұрын
Man I have been "edging" for weeks now, it's amazing!
@lalathealter6513
@lalathealter6513 Жыл бұрын
brother wtf
@vito2320
@vito2320 Жыл бұрын
Pls, just don't.
@LucidTyrant
@LucidTyrant Жыл бұрын
I love edging, it makes my life so much easier, I'd recommend edging to literally everyone I know!
@lalathealter6513
@lalathealter6513 Жыл бұрын
lol wtf
@amirhosseinahmadi3706
@amirhosseinahmadi3706 Жыл бұрын
r/EdgingTalk
@jww0007
@jww0007 Жыл бұрын
this is the most educational fireship video for me
@kurtiswright8915
@kurtiswright8915 Жыл бұрын
Between the Earth shapes, Primes appearance and learning AWS is now on Tatooine. This was chefs kiss.
@ashbysan1820
@ashbysan1820 Жыл бұрын
Edge computing is super interesting and super cool.
@AdamEdwardsDBZ
@AdamEdwardsDBZ Жыл бұрын
generally the idea is going to be: deploy things that need calculations only to Edge. So things like "how close am I to X" for a self-driving car. You don't need a DB for that, as you'd pass in as arguments, but then a remote Edge server would calculate that distance for you rather than have that all done on the vehicle itself.
@Phasma6969
@Phasma6969 Жыл бұрын
Perhaps less complexity is better, as if you can't always stay connected to a network or don't want to.
@chaitanyadevale3665
@chaitanyadevale3665 Жыл бұрын
Much awaited podcast with you and Prime!! Blazingly Fast!!
@dhess34
@dhess34 Жыл бұрын
Came for the 'In 100 seconds' videos, stayed for the other great videos, like this one!
@ankitdas2197
@ankitdas2197 Жыл бұрын
By the way i am blown away by the amount of information 😃
@Jonathan1234000
@Jonathan1234000 Жыл бұрын
Its fun to watch frontend devs figure out backend :D
@MaryamMaqdisi
@MaryamMaqdisi Жыл бұрын
I actually prefer watching backend devs trying to make GUIs (I'm backend myself)
@Jonathan1234000
@Jonathan1234000 Жыл бұрын
@@MaryamMaqdisi wanna watch me struggle with CSS for hours?
@DoctorSoulis
@DoctorSoulis Жыл бұрын
@@Jonathan1234000 Hours. What about months? 🍻
@trashAndNoStar
@trashAndNoStar Жыл бұрын
Fun reality show idea: make a hackathon, but make the FE folks do BE stuff and the other way round. For extra funsies/chaos also swap Agile scrum master & UI designer roles.
@azurius_
@azurius_ Жыл бұрын
oh man the "catch the ice dude" clip gave me flashbacks to the last time i was happy. thanks for that
@mnik0128
@mnik0128 Жыл бұрын
Distributed Blockhain-based DB and edge functions = 🤯🤯
@Roman-of9pl
@Roman-of9pl Жыл бұрын
As a fan of Cloudflare I might say it could probably be the fastest cdn and edge computing you can get on Earth. You definitely should check this out! It could be quite tricky to get a clear picture of how all those things works under the hood, but I think it worth it
@tapu_
@tapu_ Жыл бұрын
Teacher: Today we're gonna go to BangLadesh Kid named Ladesh:
@miles611
@miles611 Жыл бұрын
.... cursed comment mate
@goncalopereiradev
@goncalopereiradev Жыл бұрын
I never like neither comment any videos, but for some reason, I personally think this is one of the best, if not the best video you have ever made fireship! GOAT 😍
@smanqele
@smanqele Жыл бұрын
I'm more confused now about Serverless Vs Edge. Thanks guys!
@nithinbhandari3075
@nithinbhandari3075 Жыл бұрын
But api abstraction of next js is just great. Deployment is super simple.
@krellin
@krellin Жыл бұрын
basically great to use for hello world examples nothing more 90% of your app endpoints do one or more db interactions
@dhess34
@dhess34 Жыл бұрын
You just have to move your DB to the edge too. Granted, I'd guess that a very small % of apps would benefit from moving everything to the edge, but those apps do exist.
@randxalthor
@randxalthor Жыл бұрын
If you're sharding and distributing your database(s) at scale, you already have them close to the edge. The vast majority of apps and services don't operate at this scale, though, so it's just a thought exercise unless you're a distributed systems engineer
@fark69
@fark69 Жыл бұрын
If you want good response times globally, you should have clusters of db + servers in different regions and use a consensus algorithm to keep your separate dbs in sync with each other
@byeCoDhelloRS
@byeCoDhelloRS Жыл бұрын
@@randxalthor haha sharding
@krellin
@krellin Жыл бұрын
​@@dhess34 and basically reinvent what cloud providers already do....
@Kennedy_
@Kennedy_ Жыл бұрын
A great follow up episode is test out CloudFlare's edge functions, Workers. They also provide a K-V pair database that is also distributed.
@Nasir_Haidari
@Nasir_Haidari Жыл бұрын
So much infomation in only 8 minutrs. 🤯🤯🤯🤯 This is a web developers life...
@JohnJohn-tg8yj
@JohnJohn-tg8yj Жыл бұрын
Cloudflare workers and Cloudflare D1 (SQLite) is a promising alternative to the issue of caching and db location, if used right
@some1csgo
@some1csgo Жыл бұрын
You‘re really funny man, thanks!
@devmedia8272
@devmedia8272 Жыл бұрын
Woah...FIRST SRI LANKAN to watch this..❤️❤️❤️ thanks JEFF for mentioning my country on your video..
@ransarajey
@ransarajey Жыл бұрын
@1:17 Didn't expect you to mention Sri Lanka. Will take it as a shoutout to the SL dev community working their asses off amidst the ongoing economical crisis.
@JonyBepary
@JonyBepary Жыл бұрын
You said Bangladesh but pointed towards India(telegana), no big deal though just a few thousand km off. Thanks for mentioning Bangladesh. Your videos are awesome 💪
@ark_knight
@ark_knight Жыл бұрын
Since you felt like nitpicking, the location pointed was not telegana, its was Madhyapradesh. No worries, you were just a few km off.
@JonyBepary
@JonyBepary Жыл бұрын
@@ark_knight yesh brother, i looked at the map and seems like like it was that red state (telegana/hydrabad). You might be right. Thanks though 💪
@dc22199x
@dc22199x Жыл бұрын
I thought another framework was born, Blazingly fast EdgeJS
@horhorou-8819
@horhorou-8819 Жыл бұрын
Amazing explanation thanks again for this one !
@danvilela
@danvilela Жыл бұрын
Omg, thanks for this video! Was really insightful!
@stevemcwinboi914
@stevemcwinboi914 Жыл бұрын
Hey Jeff could you please do a video on the Nim programming language?
@dhess34
@dhess34 Жыл бұрын
He needs to do Zig first!
@thezealousmuslim
@thezealousmuslim Жыл бұрын
1:21 You referred to Bangladesh but the Edge logo is in India 😅
@GreyDeathVaccine
@GreyDeathVaccine Жыл бұрын
I don't want to code in JS, yet I still watch your channel 🙂 GJ
@reo101
@reo101 Жыл бұрын
Loved the Primagen shoutout :D
@viraj_singh
@viraj_singh Жыл бұрын
edge functions seems good for stateless services, but for stateful services I think every edge function will have their own state.
@groupkenya
@groupkenya Жыл бұрын
Or you could store state info on the client? Ala JWTs
@amanmalakar8650
@amanmalakar8650 Жыл бұрын
Great content as always. But I want to point out the mistake at 1:21. That's India where you placed your red marker at. Bangladesh is much much smaller in size compared to India, and is located much further onto the right of the marker. Please try to fix this. :)
@sst7998
@sst7998 Жыл бұрын
He want to say Bangalore, but by mistake said Bangladesh
@maxterminatorx
@maxterminatorx Жыл бұрын
He is American we can understand.
@rafathasan1974
@rafathasan1974 Жыл бұрын
Thanks! for mentioning Bangladesh. I am a Computer Engineer Graduate from Bangladesh. Tho my primary field is deep machine learning, I appreciate every video you share.
@frodggy2714
@frodggy2714 Жыл бұрын
love your videos dude hope you get 1.5 mil
@isaacclarke9741
@isaacclarke9741 2 ай бұрын
Edging motivation
@mrsrv7
@mrsrv7 Жыл бұрын
Bro I thought they improved Microsoft Edge browser 🤣
@sarveshsubramanian6638
@sarveshsubramanian6638 Жыл бұрын
That Never Happens
@suhail9511
@suhail9511 Жыл бұрын
😂🤣
@kewlv2k
@kewlv2k Жыл бұрын
As a Bengalurian, it makes me happy that you pronounced it Bengaluru every time even though it is spelled Bangalore on your list. Thank you.
@Jekalmat
@Jekalmat Жыл бұрын
Im glad that you mentioned Sri Lanka in this video. A tiny island out of nowhere and not many people care about.
@benjaminoppold9648
@benjaminoppold9648 Жыл бұрын
Do a video on how the 4chan bros hacked hunters iCloud
@umgefahren818
@umgefahren818 Жыл бұрын
However: as far as I know Cloudflare comes with a built in Key value store
@debasishmishra198
@debasishmishra198 Жыл бұрын
Man i just trust him for all my Developer News . Keep it up bro !!👍👍
@sky_kryst
@sky_kryst Жыл бұрын
Thanks Jeff for being consistently good, and honestly I’m here just for the humour nowadays
Reacting to Controversial Opinions of Software Engineers
9:18
Fireship
Рет қаралды 1,9 МЛН
How to OVER Engineer a Website // What is a Tech Stack?
11:20
Fireship
Рет қаралды 2,2 МЛН
Balloon Pop Racing Is INTENSE!!!
01:00
A4
Рет қаралды 16 МЛН
Каха с волосами
01:00
К-Media
Рет қаралды 6 МЛН
100+ Computer Science Concepts Explained
13:08
Fireship
Рет қаралды 2,3 МЛН
this is why you're addicted to cloud computing
5:25
Fireship
Рет қаралды 788 М.
15 futuristic databases you’ve never heard of
8:42
Fireship
Рет қаралды 638 М.
Serverless Computing in 100 Seconds
16:46
Fireship
Рет қаралды 271 М.
how to never write bug
7:20
Fireship
Рет қаралды 817 М.
“Thinnest iPad Ever” - WHAT COULD POSSIBLY GO WRONG?
11:02
JerryRigEverything
Рет қаралды 1,7 МЛН
How to get rich as a solo software developer - The Ultimate Guide
8:51
CPU vs GPU vs TPU vs DPU vs QPU
8:25
Fireship
Рет қаралды 1,5 МЛН
Рекламная уловка Apple 😏
0:59
Яблык
Рет қаралды 822 М.
Google I/O 2024 - ИИ, Android 15 и новые Google Glass
22:47
Что еще за обходная зарядка?
0:30
Не шарю!
Рет қаралды 2,1 МЛН