What is REALLY the Fastest Web Framework?

Поделиться
HTML-код
  • Опубликовано: 17 фев 2022
  • 🚀 If you're learning to code, check out my website 👉 codehawke.com/all_access.html 🔥
    📣 Other Social:
    / realchrishawkes
    / christopher-hawkes-130...
    github.com/chawk
    stackoverflow.com/users/83627...

Комментарии • 81

  • @realchrishawkes
    @realchrishawkes  2 года назад

    🔥 If you're learning to code, check out my website 👉 codehawke.com/all_access.html 🔥
    Learn more 👉 ruclips.net/video/fpp215OSRV0/видео.html

  • @WebDevCody
    @WebDevCody 2 года назад +31

    At some point, a framework is just matured enough to not need many updates. So a lack of changes on a framework doesn’t necessarily mean it’s dead.

    • @realchrishawkes
      @realchrishawkes  2 года назад +13

      I'm hoping. The creator of nest has been complaining about a lack of donations for a while now though. Which is understandable, he worked his ass off on it. The donations are a fraction of what he can make elsewhere.

    • @WebDevCody
      @WebDevCody 2 года назад +8

      @@realchrishawkes I hear you. We use a frontend state management library called cerebral js, and the maintainer just said he is no longer maintaining the library, so we either need to fork it and maintain our own copy, or try to find a way to get our company responsible for maintaining it. OSS is a thankless job

    • @2penry2
      @2penry2 2 года назад

      @@realchrishawkes I really hope he keeps up the good work! I think it's the most complete framework in the JS eco system which is nice. As close as the JS world will get to Rails or Laravel.

    • @anoh2689
      @anoh2689 2 года назад

      @@2penry2
      What about adonis Js
      I think it is the closest to rails and Laravel than nest Js

    • @Brajgamer
      @Brajgamer 2 года назад

      @@anoh2689 Adonis I think has missed the typescript train.

  • @dr99tm23
    @dr99tm23 2 года назад +28

    At the same load, you will need 2 EC2 instances Nodejs instead of 10 Django (just as an example) so it is cost-effective to choose a fast framework

  • @tylerbenton4495
    @tylerbenton4495 2 года назад +14

    Damn, man you never fail with the value you bring. I was reading a post somewhere on "Elixir vs Golang performance," and people in the comments were having a healthy conversation. A lot of them were in agreement with the runtime of a program not mattering as much compared to other things such as an active ecosystem, being able to quickly develop features, and being easy to use for those being introduced to it. I like how you talk about the stuff many of us would usually just search online for to find for ourselves.

  • @lorenzocabrini
    @lorenzocabrini 2 года назад +6

    I couldn't agree more. I use mostly use Gin. Go is "not as fast as Rust", "not as cool as Elixir", "not as Enterprisey as Java", but I really don't care. I'm comfortable with it. Of course, in an ideal world, I would only write code in LISP, but bills gotta be paid as well.

  • @shreyasjejurkar1233
    @shreyasjejurkar1233 2 года назад +10

    I surprised you didn't talk about aspnetcore which outperforms spring, Django and Node!
    I hope I don't have to talk about tooling of C#, you already aware of it! 😉

  • @gelmo81
    @gelmo81 2 года назад +6

    The power of NestJS is that it's a perfect match with Angular as the architectural approach is the same. The combo Angular-NestJS is also officially supported in the NX workspace. With NX it is possible to generate a full stack framework with the same structure. The paradox is that I think this is good for small/medium teams as they have just one paradigm to follow and one language (Typescript of course). What's your opinion about that? Cheers mate

    • @realchrishawkes
      @realchrishawkes  2 года назад +2

      I have no regrets choosing it for www.codehawke.com. Powers thousands of users and hundreds of streaming videos.

  • @noriller
    @noriller 2 года назад +2

    About nest... the best thing, like as opposed to using something like adonis, is that it by itself, does "nothing". It's but a wrapper framework where you can change all the parts to whatever fits your needs.
    Anyway... most companies would need traffic in the millions to have to start caring about a "fast" web framework, for most, literally any one of those is enough.

  • @IvanRandomDude
    @IvanRandomDude 2 года назад +7

    The "real" answer here is aspnet core. It is the fastest out of all "mainstream" frameworks. Sure, there are faster ones but nobody uses them and are literally made to be fast, not to be good.

    • @keatonhatch6213
      @keatonhatch6213 Год назад +1

      Oh man my current job uses a third party web app built in aspnet and it’s horrendous. I know performance is based on how well you write the code but based on my experience I wouldn’t even try aspnet.

    • @biledox5576
      @biledox5576 Год назад

      @@keatonhatch6213 i did a lot of aspnet in my classes, because it's pretty simple and yeah, it's fast if you don't send a lot of requests / if you don't have too many users at once. Comparing to like Phoenix and React, it's slower indeed. Maybe more secure tho? Not sure

  • @izzyisbusy3606
    @izzyisbusy3606 2 года назад +6

    personally i find django so easy to work with! love it

    • @realchrishawkes
      @realchrishawkes  2 года назад

      Yeah, a little steep to learn initially, but it does everything you need with similar patterns for the most part.

  • @rezadianaty
    @rezadianaty 2 года назад +1

    Hi Chris.Thanks for your video. In row 20 I see "php-ngx-pgsql" with 362,947 responses per second. Can you explain what kind of php that is? with this awesome speed. It is higher than go fiber in row 23.

    • @paulsanchez5030
      @paulsanchez5030 Год назад

      I think that is the framework stack, php-nginx-postgress, not sure. but It makes sense to me.

  • @zeeh7438
    @zeeh7438 2 года назад +5

    Good point. The website(s) I want to emulate all use frameworks that are not even in the top ten Web Frameworks in that list. I think it really comes down to priorities in some cases, for some it's speed while other it's getting something up and running to test in something that widely understood, so if something takes off then you don't have to worry about finding a very specific and specialized where as simply hiring more devs that all ready know most of the framework you use anyway.

  • @ericneo2
    @ericneo2 2 года назад +9

    I found with WordPress your server plays a big part in it.
    Loading the entire DB, site and caching solutions into RAM has a massive improvement on speed and latency.
    Then optimizing the site with the latest file formats and HTTP/2 Server Push made an incredible difference on the client side.

    • @realchrishawkes
      @realchrishawkes  2 года назад +4

      Exactly. These are the types of things every framework needs based on the use case.

    • @2penry2
      @2penry2 2 года назад +3

      I Still get PTSD about how WordPress is recommended. Shit out of the box is doing O(2^n) DB queries. Before any customisation and people are still like. "other developers are trash. just install jetpack bro". Shit is trash, you cannot support anything serious beyond Blogging / Static Marketing sites without giving yourself an early stroke,

    • @zeeh7438
      @zeeh7438 2 года назад +1

      The only upside to WP is decent SEO right off the bat but otherwise I think in this instance the speed and security would be a bad compromise. With that said, I used it to test a MVP .

  • @ummijaan1448
    @ummijaan1448 2 года назад +3

    I feel Drogon is going to get a bit popular after this video. Haha

  • @mahdisalmanizadegan5595
    @mahdisalmanizadegan5595 2 года назад +1

    good video chris, what is your technology stack idea for a streaming app?

    • @realchrishawkes
      @realchrishawkes  2 года назад

      Node

    • @mahdisalmanizadegan5595
      @mahdisalmanizadegan5595 2 года назад

      @@realchrishawkes thank you chris, actually gonna build a streaming app like twitch tv with node and socket io, any tips or documentation?

  • @JasonMitchellofcompsci
    @JasonMitchellofcompsci Год назад

    I think one argument for going for literally the fastest is if you've had a project that has existed for a long time. Some aspects of it are very set and simple and can be described in very generic terms. You need to refactor things to scale anyway, so since you are doing some rewrite you might as well target the thing that's going to perform best. And then knowing this thing that performs best (having migrated to it before) means that if you ever end up in the same situation again you have experience with this fast technology.
    Human productivity > performance in 95% of cases, but if you're spending years in an industry you will hit that 5%. And if the problem is simple and scale is big then the loss in human productivity is small. Not having to worry about it again and not having to re-optimize cost again is its own time saving that one runs into later in dev cycle.
    That's why I care about fast right now.

  • @icampabadals
    @icampabadals 2 года назад +5

    Chris do you think McGregor will fight again in 2022 after his devastating leg injury last year? Cheers.

    • @realchrishawkes
      @realchrishawkes  2 года назад +1

      Honestly, I don't enjoy watching it. Nothing against it, just sort of brutal. I prefer street fighting lol 😆

  • @larryluck7305
    @larryluck7305 2 года назад +1

    Which benchmark takes speed to market into account? In the current year that's priority over muh request throughput

    • @realchrishawkes
      @realchrishawkes  2 года назад

      .net core, spring, node, django, rails, laravel, flask and static html from any server where needed.

  • @everestshadow
    @everestshadow 2 года назад +3

    Simple. The fast ones are hard to use. Ultimately speed is coming from going down the level. And let's be honest web developers are not well known for their coding skill and knowledge of low level computing languages so it's always those slow but easy to use ones get popular.

  • @AnonymousAccount514
    @AnonymousAccount514 2 года назад +5

    All I care about is if it’s easy to work with…..Node and Python are a nightmare because the dependency management is hell and just gets worse as the project gets bigger….I’ll stick with Java Spring Boot

  • @gooseman5578
    @gooseman5578 11 месяцев назад

    you forgetting one more thing - multithreading is a bottle neck too
    for example: PHP-fpm have awful conception, it's creating process (not just a thread) for every conn

  • @arca5200
    @arca5200 2 года назад

    What you think about Vue tho

  • @ayyubayyyub9415
    @ayyubayyyub9415 2 года назад +2

    Hey Chris does the current events in the world stops you moving on with your daily goals for example like that one dream you want to achieve in the future, like what if there is ww3? What if we go back to the old ages like what is the point of breaking into tech industry because there could be war or something like that.
    Can you make a video out of this please?

    • @realchrishawkes
      @realchrishawkes  2 года назад +1

      I don't let it stop me and don't plan around it. If WW3 breaks out, it's game over for pretty much everything. Hoping cooler heads prevail. WW1 was started fairly easily. Things are not good for sure. I feel bad for those who will most definitely be affected. The world can be a shit place sometimes. Humans are just doing what they do.

    • @ayyubayyyub9415
      @ayyubayyyub9415 2 года назад

      @@realchrishawkes thank you for your quick response.

    • @ayyubayyyub9415
      @ayyubayyyub9415 2 года назад

      @@realchrishawkes you would make pretty damn good soldier also pentagon is not far away from you plus you have husky look.

  • @browaruspierogus2182
    @browaruspierogus2182 2 года назад +1

    make a framework with identical code on client and server and native to web all elements in dom without any stupid js
    that probably would mean creating separate browsers or browser cores for each framework

  • @milijanmosic5189
    @milijanmosic5189 2 года назад

    How do you decide which tool is right for the job? Since performance is for noobs, as you say, lol.
    I tend to believe you since I don't have much experience in the business.

  • @giuliomarcolin6292
    @giuliomarcolin6292 2 года назад

    the point is not between drogon any other really niche ultra fast minimal framework, the point is for example between nest js, netcode , or between fastapi and django.

  • @1873Winchester
    @1873Winchester Год назад +1

    I'm gonna check out some of the C based frameworks. I mean it sounds cool, I love C.

  • @SciMoTeAr
    @SciMoTeAr 2 года назад

    So which one

  • @berk473
    @berk473 Год назад

    Great!👍🏽

  • @KingTheRat
    @KingTheRat 9 месяцев назад

    The fastest framework rarely ever should be your first framework or your go-to framework. The typical framework I use would be Node-Express or Python Fast API. And those serves the majority of the use cases out there. However, I've ran into use cases where I need to handle massive concurrency and that's when I explore frameworks like Drogon or Actix.

  • @LukeAvedon
    @LukeAvedon 2 года назад +2

    Blazor WASM takes soooooo long to load. Blazor Server is pretty neat though.

    • @realchrishawkes
      @realchrishawkes  2 года назад +1

      Does it still have to download a bunch of .dll's to run?

    • @LukeAvedon
      @LukeAvedon 2 года назад +1

      @@realchrishawkes Correct.

    • @inferzard
      @inferzard 2 года назад

      @@LukeAvedon I remember them talking about treeshaking to bring down total payload size but I don't think its high on priority since its been two years lol

    • @LukeAvedon
      @LukeAvedon 2 года назад

      @@inferzard LOL doesn't seem like it. Blazor Server with SignalR pretty much fixes the problem.

    • @gppproton
      @gppproton 2 года назад

      I think there some work around with pre-rendering

  • @masterofthemash5310
    @masterofthemash5310 2 года назад

    All I care about is what I understand the best and what works

  • @mytechnotalent
    @mytechnotalent 2 года назад +1

    It's almost overwhelming how many options there are.

  • @SHONNER
    @SHONNER 2 года назад

    Just sent the stuff to the user side and let their app do the work. I kid.

  • @mahdisalmanizadegan5595
    @mahdisalmanizadegan5595 2 года назад +1

    just pick one technology stack and stick to it, this is currently the best option

  • @AmexL
    @AmexL 2 года назад +1

    Full HTML all the way down!

  • @2penry2
    @2penry2 2 года назад +5

    Bruh does anyone really care about the code speed in web dev? shit is always limited by I/O or DB?

    • @realchrishawkes
      @realchrishawkes  2 года назад +4

      Noob's do.

    • @2penry2
      @2penry2 2 года назад +1

      @@realchrishawkes Big up Nest. Was a bit of a learning stretch to get running with it's internal module system. But once you understand it you start to appreciate what it brings to the table.

    • @realchrishawkes
      @realchrishawkes  2 года назад

      @@2penry2 agreed, it saved me a ton of time. Great docs too.

    • @dovh49
      @dovh49 2 года назад

      But, really, if you build it correctly and put everything in memory with an actor based system. Perf isn't even a big deal deal anymore.
      But at the corporation I work at. The perf issue is in the database and in the code too. But mainly issues from making a ton of API calls, etc.

    • @2penry2
      @2penry2 2 года назад

      @@dovh49 That's a good point. At really high scale I guess reducing CPU time through a faster language starts to make sense. But yeah it's almost always DB for latency if your not FAANG

  • @aashayamballi
    @aashayamballi 2 года назад +1

    Django is ♥️

  • @ilyabykov2437
    @ilyabykov2437 Год назад +1

    Man up and learn what malloc is 😄

  • @KilgoreTroutAsf
    @KilgoreTroutAsf Год назад

    Trick question. Theyre all 1000x slower than C/C++

  • @rastaofcode4372
    @rastaofcode4372 Год назад

    frameworks written in code near machine code are are the fastest like c++

  • @srisaiswaroop
    @srisaiswaroop 8 месяцев назад

    Well, you made an entire video looking at the wrong tab of the results. You need to look at the composite scores tab not the fortunes tab.

  • @bharanikumar4020
    @bharanikumar4020 8 месяцев назад

    i don't want fast i want full freedom like c

  • @samucancld
    @samucancld Год назад

    Django is the best

  • @well.8395
    @well.8395 2 года назад

    For some reasons it keeps deleting my comment. No probs. Have a good day!

  • @basecamp5319
    @basecamp5319 2 года назад +1

    Lol “talent”