Is "edge" computing really faster?

Sdílet
Vložit
  • čas přidán 10. 07. 2022
  • 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
  • Věda a technologie

Komentáře • 1,1K

  • @alexleung842
    @alexleung842 Před rokem +2500

    I prefer tatooine-west-4 for all my deployments since the average distance to end users is about the same for everyone.

    • @dhess34
      @dhess34 Před rokem +204

      4D development thinking.

    • @youtubi123youtubipel
      @youtubi123youtubipel Před rokem +195

      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 Před rokem +27

      my end users are mostly in Mos Eisley so tatooine-east-1 works better for me

    • @donvalderath4308
      @donvalderath4308 Před rokem +21

      bout 12 parsecs ain't it?

    • @FrankPerkins
      @FrankPerkins Před rokem +8

      I dont know if I would recommend this because the Tatooine binary star caused solar anomalies in some of my requests.

  • @minuspi8372
    @minuspi8372 Před rokem +593

    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 Před rokem +111

      do you even index, bro?

    • @sliversun4807
      @sliversun4807 Před rokem +21

      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 Před rokem +47

      800ms is unacceptable only because this is a minimum viable tests for network latency that does not involve computation or DB

    • @mushbrain1753
      @mushbrain1753 Před rokem +5

      Wtf are you doing?

    • @jellyrabbits375
      @jellyrabbits375 Před rokem +31

      It's unacceptably slow or blazing fast depends on use case and goals, without context it doesn't mean much.

  • @antoineweb1
    @antoineweb1 Před rokem +2003

    so basically edge = bring server closer to the consumer, while CDN = bring static files closer to the consumer.

    • @mrbjjackson
      @mrbjjackson Před rokem +520

      Airplane = bring consumer closer to the data

    • @muhammadyusoffjamaluddin
      @muhammadyusoffjamaluddin Před rokem +16

      It also bring your app to the edge of the world!
      #RIPRoundWorld

    • @MaxGuides
      @MaxGuides Před rokem +43

      Or…the video maker entirely misunderstood what edge computing was due to these shitty frameworks trying to leech off of the name.

    • @butterfly7562
      @butterfly7562 Před rokem +2

      not all, edge db is exsiting..

    • @PhilipAlexanderHassialis
      @PhilipAlexanderHassialis Před rokem +9

      @@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"

  • @turolretar
    @turolretar Před rokem +1332

    Microsoft edge is pretty good, I use it instead of node js as a backend

    • @codelexis
      @codelexis Před rokem +38

      Microsoft edge still exists? 😱
      The last time I opened it was to play the surf game 🤣

    • @lawrencemanning
      @lawrencemanning Před rokem

      @ best not watch anything that’s *really* funny or you might die of a heart attack.

    • @ioneocla6577
      @ioneocla6577 Před rokem +32

      @@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 Před rokem +14

      @@ioneocla6577 is better than chrome.

    • @wanderingthewastes6159
      @wanderingthewastes6159 Před rokem +17

      @@pedrobigboss get those bloats out of your computer and use brave already.

  • @theanarchist4449
    @theanarchist4449 Před rokem +631

    Subtle humor and conspiracies is what makes a tech video worth watching

    • @jamesfulford
      @jamesfulford Před rokem +37

      "subtle"

    • @reisaki18
      @reisaki18 Před rokem

      @@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 Před rokem +4

      @@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 Před rokem

      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.

  • @Marci696
    @Marci696 Před rokem +162

    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 Před rokem +5

      why is it bad for serverless

    • @wlockuz4467
      @wlockuz4467 Před rokem +64

      Plot twist, They still think its a good idea but now they're flat Earthers.

    • @joelei4179
      @joelei4179 Před rokem +13

      @@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 Před rokem +3

      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 Před 3 měsíci

      ​@@joelei4179I mean you can use an edge db like R1 or turso

  • @AByteofCode
    @AByteofCode Před rokem +300

    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 Před rokem +25

      also possibly more bugs, the flying kind, being outside and all.

    • @AByteofCode
      @AByteofCode Před rokem +8

      @@gngn2973 Well if all the bugs you get are physical, then you won't get any digital ones 🤔

    • @crptlvr7773
      @crptlvr7773 Před rokem +11

      @@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 Před rokem

      @@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 Před rokem +1

      ​@@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. 🥺

  • @spx0
    @spx0 Před rokem +205

    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 Před rokem +11

      I laughed pretty hard at that part. Sadly some will think he's serious.

    • @umeshofficial13
      @umeshofficial13 Před rokem

      Lol

    • @blacky7801
      @blacky7801 Před rokem +7

      I like how this implies that the earth can change shape. Because yknow, somthing can't depend on a constant

    • @sonetagu1337
      @sonetagu1337 Před rokem +2

      @@blacky7801 technically, yeah. Soon after like millions of years, Earth's day would be 26 hours, which makes earth slighty more "round".

    • @blacky7801
      @blacky7801 Před rokem +2

      @@sonetagu1337 don't be silly! the earth isn't round

  • @NishanCW
    @NishanCW Před rokem +106

    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 Před rokem +12

      Poor guys. I wonder how you manage to do anything with all of these blackouts.

    • @devindesilva123
      @devindesilva123 Před rokem +5

      @@ivanbulanov5754 well let me put it rhis way.... My sleep patterns have never recovered

    • @codeschool3964
      @codeschool3964 Před rokem

      Was looking for Sri Lankans in the comment section and here I am.

    • @nivaldolemos5280
      @nivaldolemos5280 Před rokem

      Well, what about the massacres in Sri Lanka, honey? Doesn't that affect us too?

    • @Nihalthegreat
      @Nihalthegreat Před 4 měsíci

      @@nivaldolemos5280 Me as a Bangladeshi be like: heheh boy.

  • @ThiagoVieira91
    @ThiagoVieira91 Před rokem +313

    Great to see everybody aboard the BLAZINGLY FAST train.
    Now I want a livestream with Fireship, Primeagen, Theo and TomDoesTech.
    (edit: typo)

  • @TheLuke1662
    @TheLuke1662 Před rokem +2

    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.

  • @adamd0ggg2
    @adamd0ggg2 Před rokem +87

    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 Před rokem +1

      These exams are vendor-specific for a reason. If you want a generic cloud exam take something like Cloud+ or CCSK/CCSP.

  • @xiaoshen194
    @xiaoshen194 Před rokem +33

    1:17 I love how Bangladesh is situated inside India 😂
    Edit: I think U meant Bangalore?🤔

  • @thepisewigeon
    @thepisewigeon Před rokem +85

    That flat earth moment got me rolling. Always a pleasure to watch your videos😁

    • @savage512
      @savage512 Před rokem +3

      Besides, everyone knows that the world is in the shape of a pyramid 🧑‍🔬

    • @madhououinkyoma
      @madhououinkyoma Před rokem

      They see me rolling..

  • @peopleofourtime2523
    @peopleofourtime2523 Před rokem +25

    "They get an image hosted from Bangladesh" proceeds to mark India

  • @FrankPerkins
    @FrankPerkins Před rokem +48

    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 Před rokem

      But when happens when that user wants to use his friends computer?

    • @adamajinugroho830
      @adamajinugroho830 Před rokem +20

      @@FalconTheFries install LAMP again in his friends computer

    • @ivanbulanov5754
      @ivanbulanov5754 Před rokem +1

      Just send them an exe.

    • @scottydog9997
      @scottydog9997 Před rokem +4

      Lol, cloud computing back to the client.

    • @jakedewey3686
      @jakedewey3686 Před rokem +19

      The solution was Javascript in the browser the whole time... who knew?

  • @MisterConscio
    @MisterConscio Před rokem +28

    That Primeagen reference was gold 👌😂

  • @vicradon
    @vicradon Před rokem +39

    This is a good introduction to edge deployment. Thank you Jeff.

  • @jonnyt3391
    @jonnyt3391 Před rokem +4

    Really enjoyed the practical demonstration of use cases and limitations. Up there in my all time fireship vids.

  • @TheTrueStyropor
    @TheTrueStyropor Před rokem +2

    Great mix of information and light comedy, without distracting from the subject, 10/10 !

  • @mahlerstitan3797
    @mahlerstitan3797 Před rokem +19

    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 Před rokem +4

      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 Před rokem

      Do you have an alternative name to suggest for the web development community?

    • @lukasr.2563
      @lukasr.2563 Před rokem +4

      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 Před rokem +1

      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.

  • @temoncher
    @temoncher Před rokem +44

    I love watching how my favourite content creators start to reference each other in their videos

  • @raniketram
    @raniketram Před rokem +32

    Thanks a lot for this awesome content!

  • @0xcoburn
    @0xcoburn Před rokem +1

    Jeff your content is always top notch, been watching your videos since 2019 and they just keeps getting better, you’re a legend !

  • @tekuni
    @tekuni Před rokem +7

    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.

  • @hunterwebapps5091
    @hunterwebapps5091 Před rokem +231

    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 Před rokem +21

      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 Před rokem +10

      @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 Před rokem +21

      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 Před rokem +1

      Another potential use case is to overcome the limitations of your CDN. For instance, introduce special routing towards origins.

    • @bamberghh1691
      @bamberghh1691 Před rokem +3

      @@nagoshi01 but why would you need the responces to be that fast for wildfire monitoring? Wouldn't just connecting to centralized server be enough?

  • @kerodfresenbetgebremedhin1881

    Most concise video on edge compute I have seen thus far, good man

  • @DaveSohan
    @DaveSohan Před rokem +70

    The Sri Lanka part caught me off guard 😂🔥

  • @UltimateKeyboardHero
    @UltimateKeyboardHero Před rokem +3

    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

  • @thamidudharshitha5515
    @thamidudharshitha5515 Před rokem +3

    Thank you for the shoutout for devs in Sri Lanka. Really means a lot.

  • @CodeWithAndrea
    @CodeWithAndrea Před rokem +1

    Amazing video! I’ve been wondering about this recently, and this made things much clearer!

  • @chaitanyabisht
    @chaitanyabisht Před rokem +1

    I love this channel for its subtle humour while being informative as welll

  • @leerob
    @leerob Před rokem +31

    Really good introduction to edge computing with some balanced takes! Nice work.

  • @dipbd1
    @dipbd1 Před rokem +8

    I am from Bangladesh and really happy that you pronounced it pretty well!

  • @jugzster
    @jugzster Před rokem +1

    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

  • @KT-tc9jr
    @KT-tc9jr Před rokem

    Thanks for your effort to measure all those results !
    I really appreciate that !

  • @gngn2973
    @gngn2973 Před rokem +15

    Lot of information to unpack in this one. Also, the doughnut shaped earth is a really interesting theory. Tell me more.

    • @LeFlamel
      @LeFlamel Před rokem +4

      It's technically physically possible with a perfect spin speed early in planetary formation. Probably not stable long term tho

  • @LimitedWard
    @LimitedWard Před rokem +4

    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 Před rokem

      Sadly nobody cares, better deploy features to stay ahead compettition, and obviously amass a victory among the twitter TODOs app experts

  • @dailymeow3283
    @dailymeow3283 Před rokem

    I can't really imagine how much i can learn from your short videos

  • @thatonebroski
    @thatonebroski Před rokem

    Keep up the work 👏
    It makes me so happy to watch one of your videos.

  • @ayushvyas3401
    @ayushvyas3401 Před rokem +48

    I can 'edge' on fireship content all day

  • @fizzdev
    @fizzdev Před rokem +22

    You explained edge computing very well, great video!

  • @lukafoxyflow584
    @lukafoxyflow584 Před rokem +1

    I'm from where you pointed in NZ ... saving for your course ... love what you do ... keep it up -- Kia ora.

  • @jaivaswani1817
    @jaivaswani1817 Před rokem +2

    Love all your videos! Very informative and helpful

  • @Guergeiro
    @Guergeiro Před rokem +11

    Can't wait for dev hour with Prime!

    • @roywastaken
      @roywastaken Před rokem

      i'm waiting for this one too... s/b really good

  • @talwu628
    @talwu628 Před rokem +12

    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.

  • @LeonelViera
    @LeonelViera Před rokem +2

    Well thought examples for benchmark. As always great content

  • @chaitanyadevale3665
    @chaitanyadevale3665 Před rokem

    Much awaited podcast with you and Prime!! Blazingly Fast!!

  • @amanueltigistu8268
    @amanueltigistu8268 Před rokem +14

    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.

  • @MunzirSuliman
    @MunzirSuliman Před rokem +9

    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 Před rokem +1

      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 Před rokem

      @@bringbackwindowsphone and D2 is incoming soon

  • @martapfahl940
    @martapfahl940 Před rokem

    You are amazing, no matter what programming topic I search for you have a video on it with expert knowledge shared, awesome.

  • @noahlodrigueza5172
    @noahlodrigueza5172 Před rokem

    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!

  • @tapu_
    @tapu_ Před rokem +14

    Teacher: Today we're gonna go to BangLadesh
    Kid named Ladesh:

    • @miles611
      @miles611 Před rokem

      .... cursed comment mate

  • @lmtr0
    @lmtr0 Před rokem +43

    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 Před rokem +1

      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 Před rokem

      @@neoxelox :(

    • @noneofyourbeeswax7296
      @noneofyourbeeswax7296 Před rokem

      Bottleneck is still gonna be the DB. That edge still has to talk to that DB in the Amazon data center.

    • @marknefedov
      @marknefedov Před rokem

      @@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 Před rokem

      @Avin Kavish yes, cloudflare pages are free for my use case

  • @bitwisedevs469
    @bitwisedevs469 Před rokem +1

    Thanks for the pro tip with Firebase Function, didn't know there is new runtime option for cold start.

  • @chadmwest
    @chadmwest Před rokem +2

    I'd never considered the database round trip issue before. That's good to keep in mind!

  • @luigigaminglp
    @luigigaminglp Před rokem +15

    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 Před rokem +1

      Neglegable, neglibigle or is it negligigle?

    • @luigigaminglp
      @luigigaminglp Před rokem +2

      @@goeland4585 I'm german lol

    • @goeland4585
      @goeland4585 Před rokem

      @@luigigaminglp sorry haha it's probably easier when you know the french word it comes from

  • @JohnJohn-tg8yj
    @JohnJohn-tg8yj Před rokem +3

    Cloudflare workers and Cloudflare D1 (SQLite) is a promising alternative to the issue of caching and db location, if used right

  • @azurius_
    @azurius_ Před rokem

    oh man the "catch the ice dude" clip gave me flashbacks to the last time i was happy. thanks for that

  • @mohammedzaid6634
    @mohammedzaid6634 Před rokem +1

    when you said Sri Lanka it warms my heart!!
    Hi from Sri Lanka!

  • @AdamEdwardsDBZ
    @AdamEdwardsDBZ Před rokem +3

    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 Před rokem +2

      Perhaps less complexity is better, as if you can't always stay connected to a network or don't want to.

  • @Jonathan1234000
    @Jonathan1234000 Před rokem +17

    Its fun to watch frontend devs figure out backend :D

    • @MaryamMaqdisi
      @MaryamMaqdisi Před rokem +9

      I actually prefer watching backend devs trying to make GUIs (I'm backend myself)

    • @Jonathan1234000
      @Jonathan1234000 Před rokem +2

      @@MaryamMaqdisi wanna watch me struggle with CSS for hours?

    • @DoctorSoulis
      @DoctorSoulis Před rokem +1

      @@Jonathan1234000 Hours. What about months? 🍻

    • @trashAndNoStar
      @trashAndNoStar Před rokem +1

      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.

  • @kurtiswright8915
    @kurtiswright8915 Před rokem

    Between the Earth shapes, Primes appearance and learning AWS is now on Tatooine. This was chefs kiss.

  • @dhess34
    @dhess34 Před rokem +2

    Came for the 'In 100 seconds' videos, stayed for the other great videos, like this one!

  • @ashbysan1820
    @ashbysan1820 Před rokem +5

    Edge computing is super interesting and super cool.

  • @syzore2
    @syzore2 Před rokem +21

    Man I have been "edging" for weeks now, it's amazing!

  • @Kennedy_
    @Kennedy_ Před rokem

    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.

  • @mnik0128
    @mnik0128 Před rokem +2

    Distributed Blockhain-based DB and edge functions = 🤯🤯

  • @LucidTyrant
    @LucidTyrant Před rokem +13

    I love edging, it makes my life so much easier, I'd recommend edging to literally everyone I know!

  • @ankitdas2197
    @ankitdas2197 Před rokem +4

    By the way i am blown away by the amount of information 😃

  • @danvilela
    @danvilela Před rokem

    Omg, thanks for this video! Was really insightful!

  • @goncalopereiradev
    @goncalopereiradev Před rokem

    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 😍

  • @dc22199x
    @dc22199x Před rokem +4

    I thought another framework was born, Blazingly fast EdgeJS

  • @some1csgo
    @some1csgo Před rokem +13

    You‘re really funny man, thanks!

  • @GreyDeathVaccine
    @GreyDeathVaccine Před rokem

    I don't want to code in JS, yet I still watch your channel 🙂 GJ

  • @jww0007
    @jww0007 Před rokem +2

    this is the most educational fireship video for me

  • @krellin
    @krellin Před rokem +74

    basically great to use for hello world examples nothing more
    90% of your app endpoints do one or more db interactions

    • @dhess34
      @dhess34 Před rokem +8

      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 Před rokem +10

      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 Před rokem +3

      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 Před rokem +1

      @@randxalthor haha sharding

    • @krellin
      @krellin Před rokem

      ​@@dhess34 and basically reinvent what cloud providers already do....

  • @Roman-of9pl
    @Roman-of9pl Před rokem +4

    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

  • @ransarajey
    @ransarajey Před rokem +1

    @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.

  • @smanqele
    @smanqele Před rokem

    I'm more confused now about Serverless Vs Edge. Thanks guys!

  • @nithinbhandari3075
    @nithinbhandari3075 Před rokem +13

    But api abstraction of next js is just great.
    Deployment is super simple.

  • @stevemcwinboi914
    @stevemcwinboi914 Před rokem +3

    Hey Jeff could you please do a video on the Nim programming language?

    • @dhess34
      @dhess34 Před rokem +1

      He needs to do Zig first!

  • @devmedia8272
    @devmedia8272 Před rokem +2

    Woah...FIRST SRI LANKAN to watch this..❤️❤️❤️ thanks JEFF for mentioning my country on your video..

  • @horhorou-8819
    @horhorou-8819 Před rokem +1

    Amazing explanation thanks again for this one !

  • @thezealousmuslim
    @thezealousmuslim Před rokem +17

    1:21 You referred to Bangladesh but the Edge logo is in India 😅

  • @amanmalakar8650
    @amanmalakar8650 Před rokem +12

    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 Před rokem +12

      He want to say Bangalore, but by mistake said Bangladesh

    • @maxterminatorx
      @maxterminatorx Před rokem

      He is American we can understand.

  • @Nasir_Haidari
    @Nasir_Haidari Před rokem

    So much infomation in only 8 minutrs. 🤯🤯🤯🤯 This is a web developers life...

  • @landonschlangen
    @landonschlangen Před rokem

    Nice job putting the primeagen reference in there!

  • @JonyBepary
    @JonyBepary Před rokem +6

    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 Před rokem +4

      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 Před rokem

      @@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 💪

  • @viraj_singh
    @viraj_singh Před rokem +5

    edge functions seems good for stateless services, but for stateful services I think every edge function will have their own state.

    • @groupkenya
      @groupkenya Před rokem

      Or you could store state info on the client? Ala JWTs

  • @reo101
    @reo101 Před rokem +1

    Loved the Primagen shoutout :D

  • @frodggy2714
    @frodggy2714 Před rokem

    love your videos dude hope you get 1.5 mil

  • @mrsrv7
    @mrsrv7 Před rokem +20

    Bro I thought they improved Microsoft Edge browser 🤣

  • @benjaminoppold9648
    @benjaminoppold9648 Před rokem +7

    Do a video on how the 4chan bros hacked hunters iCloud

  • @sky_kryst
    @sky_kryst Před rokem

    Thanks Jeff for being consistently good, and honestly I’m here just for the humour nowadays

  • @kewlv2k
    @kewlv2k Před rokem

    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.

  • @umgefahren818
    @umgefahren818 Před rokem +3

    However: as far as I know Cloudflare comes with a built in Key value store

  • @isaacclarke9741
    @isaacclarke9741 Před 2 měsíci +3

    Edging motivation

  • @f1dg37
    @f1dg37 Před rokem

    Love the Unauthorized Cleveland Tourism ad screenshot.

  • @debasishmishra198
    @debasishmishra198 Před rokem

    Man i just trust him for all my Developer News . Keep it up bro !!👍👍