Ruby on Rails vs Node.js Performance

Поділитися
Вставка
  • Опубліковано 15 гру 2024

КОМЕНТАРІ • 256

  • @AntonPutra
    @AntonPutra  Місяць тому +5

    🔴 To support my channel, I'd like to offer Mentorship/On-the-Job Support/Consulting (me@antonputra.com)

  • @shingGOLDmonkey224
    @shingGOLDmonkey224 Місяць тому +61

    I would love to see a benchmark comparing traditional runtimes against Beam based ones. Maybe Node vs Elixir?

    • @AntonPutra
      @AntonPutra  Місяць тому +16

      ok i'll take a look

    • @MrVermont
      @MrVermont Місяць тому +1

      @@AntonPutra If you have time, it would be interesting to see Gleam with Wisp for web framework in the test. Gleam is a BEAM language.

  • @ryn__bsd
    @ryn__bsd Місяць тому +61

    Ruby on Rails vs Laravel

    • @AntonPutra
      @AntonPutra  Місяць тому +26

      i'll do php soon

    • @fsbgaming1588
      @fsbgaming1588 Місяць тому +6

      ​@@AntonPutrafpm , swoole, webman

    • @dave_jones
      @dave_jones Місяць тому +12

      Rails vs laravel vs Django!

    • @greendsnow
      @greendsnow Місяць тому +3

      Hahaha. Anything PHP is extremely controversial! Get ready for the comments section of that video

    • @ryn__bsd
      @ryn__bsd Місяць тому +2

      @@greendsnow 😂😂

  • @ghun131
    @ghun131 Місяць тому +20

    I think it can only be fair to compare Rails with Node framework like Express, Nest, Fastify, etc. Love your channel btw

    • @AntonPutra
      @AntonPutra  Місяць тому +3

      thanks you! make sense, initially i wanted to compare with django

    • @siddharthakhanal9424
      @siddharthakhanal9424 Місяць тому +3

      ​@@AntonPutrai would love a comparison between Django Rails and Laravel

    • @Bob-qz5yj
      @Bob-qz5yj Місяць тому +3

      @@AntonPutra I would be interested in django vs rails

    • @lipin007
      @lipin007 Місяць тому

      @@Bob-qz5yj A comaprison between all major mvc framework would be great!

  • @ewanjones9743
    @ewanjones9743 Місяць тому +40

    @AntonPutra really appreciate your videos however for tests like this (and 209 - Django vs. Go) there's a bit of an apples vs. oranges comparison.
    Both RoR and Django start with more than a server like NodeJS & Go. E.g. middleware, Django has CSRF protection, XSS etc. all enabled by default. This functionality is not enabled in Go/NodeJS without additional libraries or function calls so it creates an imbalance in functionality and skews the test.
    Would be great if you could either a) remove middleware and other niceities built into frameworks (although that is not how they are used) or, b) alternatively expand the Node & Go code to match the functionality. This way if a dev was trying to evaluate a framework in different languages on performance alone it would be a fairer comparison.
    Thanks & happy hacking

    • @ijazkhan3335
      @ijazkhan3335 Місяць тому +4

      Agree, he should have used something like Sinatra. But Ruby would still lose big time here.

    • @ha5anmukhlis
      @ha5anmukhlis Місяць тому +3

      make a PR on the repo

    • @AntonPutra
      @AntonPutra  Місяць тому +5

      make sense

    • @ewanjones9743
      @ewanjones9743 Місяць тому +1

      @@ha5anmukhlis I would love to if I had time. Unfortunately I don't but I wanted to flag it incase someone else did have the time as these benchmarks are very helpful.

    • @rusasd1
      @rusasd1 Місяць тому +2

      Exactly this. He compared a full-featured project with a minimal NodeJS skeleton with raw SQL query.. omfg

  • @jackiedo7370
    @jackiedo7370 Місяць тому

    Just want to say thank you, really helpful for me ❤
    Compare Rails vs other frameworks like Hanami if you have time

  • @ozan6959
    @ozan6959 Місяць тому +20

    Whenever I see a new video, I check it if its Elixir vs something else. :) Do you have a plan to have a stress test elixir against golang or node?

    • @AntonPutra
      @AntonPutra  Місяць тому +7

      i'll do elixir very soon 😅

    • @jsonkody
      @jsonkody Місяць тому

      ​@@AntonPutraamazing, thx 😅

  • @anykeyh
    @anykeyh Місяць тому +31

    Sadly, this video compare orange with apple. For example, the SQL insertion is made in one side using ORM ActiveRecord, and in another using raw INSERT query (unsanitized btw).
    Use ActionController::Metal, use PG driver and do the tests to compare orange with orange.
    Add YJIT, check for CoW for the workers (because it's not normal that it is using twice the ram for two workers btw) and then, yes, node will still be faster, but not by this crazy factor.

    • @AntonPutra
      @AntonPutra  Місяць тому +5

      thanks for the feedback

    • @Nick-yd3rc
      @Nick-yd3rc Місяць тому

      @@anykeyh I met so many people in the past couple years who recently migrated from Ruby and PHP to Go. Is Ruby really no more popular? Feels like it faded away momentarily after Heroku’s demise.

    • @anykeyh
      @anykeyh Місяць тому

      @@Nick-yd3rc Ruby faded away with SaaS gold rush. In 2010, building as SaaS was one of the best way to get rich quick. And RoR was praised to its quick development process, where all which matter is time to market.
      Ruby is a great language because of its syntax allowing DSL, and its awesome standard library. It's super useful for web, but also for scripting and devops. It is still well maintained and active, noticeably thanks to Shopify work later.
      The main competitor of Ruby is Python, and it gained a lot of traction because of AI and general academic use. I personally prefer Ruby for plenty of reasons. I think people should rationalize their need of performance in a web application.
      HTTP and Web has never been designed with performance in mind.
      While it's super great to have something going very fast, it's often a non-functional quality that you don't need.
      Most web servers are running application which are not exploited to their full potential, and if I spend 1 millions a year in cloud services, usually the part related to servicing web request is 10 to 20% max.
      Of course, if you plan to create a trading platform or a B2C platform and your revenue per request is extremely low, you might want to use faster language.
      I would never use Node as server-side language. Any serious application would ship with 1000+ NPM packages, which is insane and will cause you headache during maintenance and migration to newer versions. And javascript/node quirks and terrible std library (in my opinion) doesn't help to produce clean code, even using Typescript for example.
      Go is a great alternative, but the language is dull, by design (allowing easy maintenance). While I understand perfectly the approach of the language creator, I rather not spend 8 hours a day dealing with it. It's a question of personal choice here. Go is great, and if you like it, go for it.

    • @ristekostadinov2820
      @ristekostadinov2820 Місяць тому +2

      @@Nick-yd3rc i'm not from the United States but i used to follow their job market there around 3-4 years ago, idk about now but in the past there was such a labor shortage of Rails devs that you can get quite a bit higher salary than Laravel dev for example. Where i live if you know .Net or Spring, you can get job pretty much any time (most of the full stack/backend job offers are for those 2) after that it is Node+Express or Php with Laravel or symphony and very rarely Go (albeit we do have slow increase in job offers).

    • @germandavid2520
      @germandavid2520 Місяць тому

      ​@@AntonPutraUse the ORM Drizzle for Node.js

  • @ws8031
    @ws8031 Місяць тому +7

    you could consider announcing next test in advance: prepare the repo, give people some time to review and then run test with feedback applied

    • @AntonPutra
      @AntonPutra  Місяць тому +2

      i tried that, but it didn’t really work. i get the most valuable advice only when i release a video, people like to criticize, and i don’t mind 😊

    • @arkeynserhayn8370
      @arkeynserhayn8370 Місяць тому

      ​​@@AntonPutra
      People only start to care when they see their favourite framework/runtime gets devestated in a public benchmark 😆
      And only THEN they will bring their Sith-mastery optimization techniques with them.

    • @ws8031
      @ws8031 Місяць тому

      ​@@AntonPutra maybe you're right, it's easier to watch the video and criticise than review first and wait for the video. But honestly I've been watching your tests for a while and haven't noticed dedicated segment with an announcement of next test (what exactly will be tested, here link to repo, ideally after intro). On the other hand I haven't paid attention to it, and if I'm wrong you can disregard my thoughts :)

  • @ufferFirst
    @ufferFirst Місяць тому +8

    you compared the warm with the soft:
    - Rails is a framework with a full-fledged ORM, a large number of abstractions that simplify development
    - Node.js is just a JS runtime with a web server that does not even know how to work with cookies, there are no routes, you will not process the data from the form
    Perhaps we will see a comparison of Rails vs Nginx 😆
    But let's compare Rails vs Express (the popular Node.js framework, which is not even close to rails in terms of functionality) and it turns out to be slower, see techempower

    • @AntonPutra
      @AntonPutra  Місяць тому +1

      Yeah, my mistake, but I got two PRs with pure Ruby implementations, which I'll test next, as well as Rails 5-10 improvements, which I'll test alongside Django soon :)
      PR 1 - github.com/antonputra/tutorials/pull/330
      PR 2 - github.com/antonputra/tutorials/pull/335

    • @KerrickLong
      @KerrickLong Місяць тому +1

      This should've been a Rails vs Adonis comparison.

    • @KravetsFamily
      @KravetsFamily Місяць тому

      Express is died framework

    • @steshaw6510
      @steshaw6510 Місяць тому

      @@KravetsFamily What are Node.js folks using these days?

  • @bluestar1810
    @bluestar1810 Місяць тому +10

    Spring Boot Vs NodeJs

  • @D9ID9I
    @D9ID9I Місяць тому +6

    C# (minimal api) vs Node.js (with instance per core) would be nice

  • @tom_marsden
    @tom_marsden Місяць тому

    These videos are very interesting thanks for all your hard work!

  • @naomarik
    @naomarik Місяць тому

    Love seeing your vids pop up on my feed. Do Django vs Rails. A year ago I was getting similar throughput with a simple json response. This test was a bit unfair since node side was light weight, would have been more fair to compare against a basic ruby library like Hanami.

  • @HaydonRyan
    @HaydonRyan Місяць тому +5

    For each video comparing two interpreted languages I’d love to see a go, zig or rust baseline to drive the point home about interpreted languages vs compiled.

    • @AntonPutra
      @AntonPutra  Місяць тому +2

      noted

    • @HaydonRyan
      @HaydonRyan Місяць тому

      @@AntonPutra I'm loving these videos - keep up the great work!

    • @AGAU1022
      @AGAU1022 Місяць тому

      That seems a bit pointless because we know those are faster. Also, the graphs would become unreadable. On the contrary I think he should only be comparing things expected to have similar performance, so that we might actually learn something new if they don't.

  • @simpl1g
    @simpl1g Місяць тому +20

    Why do you compare large framework with millions line of code with pure runtime code without any dependencies? Rails can be compared only with Django, though it still has less functionality. Compare apples to apples, use pure Ruby API to compare with Node.js

    • @lovellllmm
      @lovellllmm Місяць тому +2

      😂 because of us, his audience wants to see

    • @AntonPutra
      @AntonPutra  Місяць тому +3

      true, it was mentioned many times, so i decided to test it

  • @Luisintosh
    @Luisintosh Місяць тому +1

    Thank you for the video 🙏

    • @AntonPutra
      @AntonPutra  Місяць тому +1

      my pleasure! i'll update this benchmark with pure Ruby implementation in a couple of days

    • @Luisintosh
      @Luisintosh Місяць тому

      @AntonPutra it would be great!!

  • @kojiko1681
    @kojiko1681 Місяць тому

    This is a fantastic comparison between Ruby on Rails's 'full-featured framework' and Node.js's approach of 'picking your own small frameworks and libraries.
    This is why I like JS ecosystem. Thank you!

    • @arkeynserhayn8370
      @arkeynserhayn8370 Місяць тому

      You didn't close the second single-quoted string.
      But good point.

    • @konung5
      @konung5 Місяць тому

      Take Agoo, Roda or Hanami - and your Ruby app will run circles around Node.js

  • @sysInt64
    @sysInt64 Місяць тому +7

    would be interesting to compare ror with django

    • @AntonPutra
      @AntonPutra  Місяць тому +2

      yes, those two frameworks are much closer to each other

  • @adriandrozman3404
    @adriandrozman3404 Місяць тому +3

    Do you have videos on how to setup those kind of metrics on Prometheus/Graphana?

    • @AntonPutra
      @AntonPutra  Місяць тому

      yes, i have a bunch of them, just search for prometheus on my channel

  • @WellKnown-ud3jt
    @WellKnown-ud3jt Місяць тому +1

    Балдежные видосы, удачи

  • @konung5
    @konung5 Місяць тому +2

    This is an incorrect comparison.
    Compare Rails vs something like Sails - that would be fair, and more "real life" - you would compare 2 full -fledged frameworks . Once you do - you will see your benchmark is going to be basicly the same for both.

  • @longtran12345678
    @longtran12345678 Місяць тому +4

    comparing a highly complex framework like Rails with nodejs is not fair. At least you should choose pure rack and write the code to see how different between ruby and runtime nodejs

    • @AntonPutra
      @AntonPutra  Місяць тому +7

      i understand, i'll do ruby on rails vs django soon

    • @voidwalker7774
      @voidwalker7774 Місяць тому

      @@AntonPutra Django on PyPy xD

  • @phamduytrung9163
    @phamduytrung9163 Місяць тому +11

    PHP 8 vs Python pls

  • @j3bb9z
    @j3bb9z Місяць тому +19

    Wow, didn't expect that big of a difference. It's interesting to see the progress in these ecosystems, both in terms of performance and developer experience.
    💚Node.js, 💛Bun, 🖤Deno, 💙TypeScript.

    • @j3bb9z
      @j3bb9z Місяць тому +3

      And in terms of DX, I personally ❤NestJS.

    • @AntonPutra
      @AntonPutra  Місяць тому +2

      i had to test rails at least once

  • @mrshafee95
    @mrshafee95 Місяць тому +7

    Pure php vs pure python . Laravel vs lumen. ❤

  • @arthurhuang9394
    @arthurhuang9394 Місяць тому +3

    I want to know Python - Fast API vs Other🤤

  • @browsermage
    @browsermage Місяць тому

    Love to see benchmark on PHP with database connection ❤

  • @dimap6793
    @dimap6793 Місяць тому +4

    I am not sure that it is fair to compare rails framework with bare bone nodejs, but still the difference is too high to blame it on that
    Maybe next time pure ruby vs pure bun, just to make it different from the current video

    • @AntonPutra
      @AntonPutra  Місяць тому +1

      true. i'll see if it makes sense to test ruby with anything else

  • @nishantsingh4929
    @nishantsingh4929 Місяць тому +2

    Any plans on RoR vs SpringBoot or Go?

    • @AntonPutra
      @AntonPutra  Місяць тому

      well maybe in the future

  • @pkarc
    @pkarc Місяць тому

    Anton! love your performance test videos, give us a lot of insights and a lot of questions as well. have you think about doing some test over cache services, Redis, valkey, dragonfly as they are "forks" of the original redis. let me know what you think about this one, also if there's a close example of a similar environment on your repo I could do a contribution on this one.

  • @victormarconi
    @victormarconi Місяць тому

    I like this comparison. For me, its a statement of how "good enough" for 99.9% of websites Rails can be.

  • @i.mahdihosseini
    @i.mahdihosseini Місяць тому +5

    Next, Elixir vs Go vs Bun

  • @7heMech
    @7heMech Місяць тому

    Surprising results.

  • @SzymonRuszaa
    @SzymonRuszaa Місяць тому +1

    I Hope for every developer that your app will get to the point, when it gets hundreds of request per second.

  • @Flothero
    @Flothero Місяць тому

    It would be nice to see performance comparison of JWT tokens (their creation and validation) in different languages such as NodeJS, Bun, Go, Rust

  • @krzysztofwawer6343
    @krzysztofwawer6343 Місяць тому +4

    When comparing Ruby on Rails, you should compare it with the whole framework in Node.js, like Ember.js. You can compare Node.js with a micro-framework like Sinatra, but even this is not okay. Sinatra with Express.js is more valid. You can compare Node.js to pure Ruby code, maybe with a small layer like rack..

    • @antonperelygin2833
      @antonperelygin2833 Місяць тому

      Ember is frontend framework, not a backend

    • @krzysztofwawer6343
      @krzysztofwawer6343 Місяць тому

      @@antonperelygin2833 Ruby on Rails is full-stack framework, so you can pick any full-stack framework in JS

    • @AntonPutra
      @AntonPutra  Місяць тому +2

      make sense, initially i wanted to compare with django

  • @lipin007
    @lipin007 Місяць тому

    Thank you ❤

  • @MrK92SK8
    @MrK92SK8 Місяць тому +1

    Can you please compare Rails to Roda and Hanami (other more lightweight ruby frameworks) as you did with node/bun/deno ?

    • @AntonPutra
      @AntonPutra  Місяць тому +2

      ok maybe in the future

  • @svetlinzarev3453
    @svetlinzarev3453 Місяць тому +2

    We need more rust videos.

  • @dazes0601
    @dazes0601 Місяць тому

    Could please make some benchmark about aws lambda with different runtimes? Thanks.

  • @germandavid2520
    @germandavid2520 Місяць тому +1

    Hi, many people are pointing out that RoR has features that the Node.js implementation does not have, instead of trying to replicate those features with libraries use an equivalent framework, I think NestJS (Nest with S, not X) or AdonisJS would be the right choice.
    Or maybe someone knows better alternatives.

    • @AntonPutra
      @AntonPutra  Місяць тому +2

      yes, pure nodejs was not the best choice for this comparison, my mistake

  • @7heMech
    @7heMech Місяць тому

    Do you think doing SvelteKit vs NextJS is possible? Or would that be going too deep into the JS ecosystem for you?

  • @ehfoss
    @ehfoss Місяць тому +1

    If the p99 latency is 17 seconds, then how can availability be 100% when the time limit is only 1 second?

    • @AntonPutra
      @AntonPutra  Місяць тому

      no, it's in milliseconds. prometheus uses seconds for measuring histograms and summaries, but ruby on rails active record events emit duration in milliseconds. i just missed it. Here is the source code for that event - github.com/antonputra/tutorials/blob/main/lessons/220/rails-app/app/subscribers/active_record_prometheus_subscriber.rb#L67

  • @luisweck5285
    @luisweck5285 Місяць тому +11

    next, Elixir vs Gleam

    • @AntonPutra
      @AntonPutra  Місяць тому +1

      noted, i'll do Elixir in near future

    • @jsonkody
      @jsonkody Місяць тому +1

      Elixir and Gleam both run on same Beam VM so it's not so interesting comparison. Much more impotant between them would be the dev experience.

  • @nonono9700
    @nonono9700 Місяць тому +1

    Have you tried to test python and php? I am currently working for a company uses those langs

    • @AntonPutra
      @AntonPutra  Місяць тому

      python, yes. i'll do php soon as well

  • @ar1i_k
    @ar1i_k Місяць тому

    That brutal, but tbf rails is much more feature complete and some of them would slow down node too.
    Would love to see Ruby on Rails vs Laravel benchmark (vs Laravel Octane would be even better if you could)

    • @AntonPutra
      @AntonPutra  Місяць тому

      my mistake

    • @ar1i_k
      @ar1i_k Місяць тому

      No problem - they are still “close enough” for this benchmark to be interesting and useful to people
      Great video overall

  • @Nojipiz
    @Nojipiz Місяць тому +3

    What about Scala vs Go?

  • @MergeSoft
    @MergeSoft Місяць тому +3

    interesting would be RoR vs Laravel?

    • @AntonPutra
      @AntonPutra  Місяць тому

      maybe, but i don't think people care about RoR anymore

  • @deadviny
    @deadviny Місяць тому

    Wonder if jruby would change results much

  • @scarlatum
    @scarlatum Місяць тому

    How about: SurrealDB vs PostgreSQL vs SQLite ?
    I know that they in different weight categories, but anyway it will be nice to see!
    SurrealDB seems nice, but not sure about it perfomance on a long run...

  • @acasualviewer5861
    @acasualviewer5861 Місяць тому +1

    I wonder if JRuby helps Ruby on Rails perform better

    • @AntonPutra
      @AntonPutra  Місяць тому

      i got a PR with a pure Ruby implementation, which i'll release in a few days; it makes a huge difference. also, i got a PR to improve rails by 5-10x, which i'll test alongside django.
      PR 1 - github.com/antonputra/tutorials/pull/330
      PR 2 - github.com/antonputra/tutorials/pull/329

  • @user-lj4lo7cx7m
    @user-lj4lo7cx7m Місяць тому +1

    Could you please try next, sveltekit and nuxt? Thanks and amazing content ❤

  • @kwhandy
    @kwhandy Місяць тому +1

    dude you should use nodejs framework too to make it apple-to-apple, it can be sailsjs or adonisjs
    if you use bare nodejs then you should use bare ruby, rails are heavier than the minimum ruby server

    • @AntonPutra
      @AntonPutra  Місяць тому

      totally agree, i made a mistake in this video. i just got a pure ruby implementation, which i'll test with the nodejs standard library as well in a couple of days to make it right
      PR - github.com/antonputra/tutorials/pull/330

  • @alexdimitrevski2629
    @alexdimitrevski2629 Місяць тому +1

    I'm interesting in Node.js VS Python FastAPI test :)

  • @sonant_bwolfe
    @sonant_bwolfe Місяць тому +1

    Would've been more interesting to see rails contrasted against a full-fat node framework like next.js, nest, or sails.
    Why even bother comparing a framework with that many levels of abstraction against a basic request router executing raw sql queries?

    • @AntonPutra
      @AntonPutra  Місяць тому

      makes sense. initially, i wanted to compare it with django

  • @mohagungnursalim8219
    @mohagungnursalim8219 Місяць тому +2

    Laravel vs Rails Please

  • @sidrem8617
    @sidrem8617 Місяць тому +1

    PHP Symfony next ?

  • @kleinmarb4362
    @kleinmarb4362 Місяць тому +3

    Python std vs flask vs fastapi

  • @superakaike
    @superakaike Місяць тому

    How about Spring Boot vs Go?

  • @MatthewKennedyUK
    @MatthewKennedyUK Місяць тому

    Was this running with the jemalloc setup on the Rails?

    • @AntonPutra
      @AntonPutra  Місяць тому

      no, i don't think so
      irb(main):001> RbConfig::CONFIG['MAINLIBS']
      => "-lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread "

    • @osiris2918
      @osiris2918 Місяць тому

      @@AntonPutrajemalloc can help keep memory pressure down in a long lived Rails app but the benefit tends to be fewer instances of long lived processes going OOM and crashing, and a drop of memory usage overall of about 10%. It’s an easy win if you’re hosting a Rails application but it wouldn’t have changed this test substantially

    • @MatthewKennedyUK
      @MatthewKennedyUK Місяць тому

      I’d also be interested to see the difference with the various jit’s in use.

  • @dave_jones
    @dave_jones Місяць тому +1

    Would like to see rails vs Django - more accurate framework usecase

    • @AntonPutra
      @AntonPutra  Місяць тому

      agree, it was my original idea... not sure why i used nodejs

  • @siya.abc123
    @siya.abc123 Місяць тому +1

    1200 requests per second is good for me even though I don't know anything about ruby.

  • @SantiagoMejia-nm1wx
    @SantiagoMejia-nm1wx Місяць тому +1

    Node js vs .net ?

  • @NathanielBabalola
    @NathanielBabalola Місяць тому +2

    I don't think this is a fair comparison, on the node.js side, I believe Nest.js will be a more closer comparison

    • @ijazkhan3335
      @ijazkhan3335 Місяць тому +1

      Adonis, I would not cast nest in framework category as it does not provide even quarter of what Rails offers.

    • @NathanielBabalola
      @NathanielBabalola Місяць тому

      @ijazkhan3335 hmmmmm that's true, Nest isn't batteries included like Adonis and I think Sails

    • @AntonPutra
      @AntonPutra  Місяць тому

      probably true; i'm unlikely to test rails with anything else

    • @seRko123
      @seRko123 Місяць тому

      @@AntonPutra with django thats the all batteries included framework and fair comparision

  • @feralaca123
    @feralaca123 Місяць тому

    I am proficient in both languages. I like javascript but I love ruby.

  • @jricardoprog
    @jricardoprog Місяць тому +1

    the ideal would be rails vs another similar framework that runs on nodejs

    • @AntonPutra
      @AntonPutra  Місяць тому

      makes sense. initially, i wanted to compare it with django

  • @falcon6157
    @falcon6157 Місяць тому +2

    Bun vs Tokio Tungstenite (maybe with tokio-postgres) vs uWebSockets : PostgreSQL Test PLEASEE SIR PLEASEEE (and maybe Go Gorilla) ❤
    uWebsockets have 2 lang Node.js/C++. I guess C++ is better.

    • @AntonPutra
      @AntonPutra  Місяць тому

      ok, i'll do it sometime in the future 😊

    • @falcon6157
      @falcon6157 Місяць тому

      Thank you very much, I am looking forward to it

  • @forKotlinsky
    @forKotlinsky Місяць тому

    php vs python vs node is still here :p

  • @DavidSmith-ef4eh
    @DavidSmith-ef4eh Місяць тому +1

    your blurring doesn't work mate. I can clearly see which is whic, even if you switched the colors :D

  • @GrzegorzDerebeckiXan
    @GrzegorzDerebeckiXan Місяць тому +1

    Its not fair to compare framework vs pure language. You should compare ruby vs node.js or frameworks vs frameworks like django sailsjs phonix

  • @kconfesor
    @kconfesor Місяць тому +1

    Please do dotnet vs node/bun

  • @rusasd1
    @rusasd1 Місяць тому

    Dis you really compare a full-featured and battery included project using Ruby on Rails and ActiveRecord with a barebone skeleton and minimal NodeJS?
    What could we expected from such comparison?
    What about oranges and apples next time?

  • @AntonPutra
    @AntonPutra  16 днів тому

    🍿 Benchmarks: ua-cam.com/play/PLiMWaCMwGJXmcDLvMQeORJ-j_jayKaLVn.html&si=p-UOaVM_6_SFx52H

  • @anakinskywalker192
    @anakinskywalker192 Місяць тому +46

    Wow, ruby is weak!

    • @conundrum2u
      @conundrum2u Місяць тому +3

      In a recent language perf test among all the major production languages, 72x slower, and python was around 50x

    • @sheko4515
      @sheko4515 Місяць тому +4

      But it gets the job done with Rails compared with Java and Spring, the productivity in Rails is up normal.

    • @MrK92SK8
      @MrK92SK8 Місяць тому +6

      Its not ruby, its rails that is a heavy framework

    • @AntonPutra
      @AntonPutra  Місяць тому +5

      it's mostly rails so slow

    • @unom8
      @unom8 Місяць тому +2

      Some how an event loop based framework for Ruby never really took off, the thread based sync approach really hurts it in tests like these

  • @R_Y_Z_E_N
    @R_Y_Z_E_N Місяць тому +1

    Sinatra vs Flask vs rails vs django

  • @mr.nobody4494
    @mr.nobody4494 Місяць тому +1

    ☝ Please, C# with .NET 9 vs (Java with Spring Boot and Python with FastAPI), all of these using PostgreSQL. Thanks in advance! 🙌

    • @AntonPutra
      @AntonPutra  Місяць тому +1

      thanks for the suggestion, just added to my list!

  • @codeline9387
    @codeline9387 Місяць тому +1

    a bit weird comarison, rails is really slow there is no secret in that, try ruby iodine

    • @AntonPutra
      @AntonPutra  Місяць тому +1

      ok, will do. rails is just the most popular framework in my mind, at least that's why i used it.

  • @SAsquirtle
    @SAsquirtle Місяць тому +1

    fastapi when? :3

  • @valeriehyun2512
    @valeriehyun2512 Місяць тому +1

    maybe u can try Elixir to counter the power of Nodejs

    • @AntonPutra
      @AntonPutra  Місяць тому

      yes i'll do Elixir vs go soon

    • @valeriehyun2512
      @valeriehyun2512 Місяць тому

      @@AntonPutra with Rust too for get more experience 😃😁

  • @jsonkody
    @jsonkody Місяць тому +1

    This is not so surpsiring .. I would love to see Elixir 😅 It would maybe loose on one PC but win on many.

    • @AntonPutra
      @AntonPutra  Місяць тому

      i'll do Elixir vs go soon :)

  • @seRko123
    @seRko123 Місяць тому

    The only fair comparission would be Rails vs Django since none of this js frameworks have everything those two have

  • @omri9325
    @omri9325 Місяць тому

    I think all the scales should be logarithmic for this one 😅

  • @georgehamilton1166
    @georgehamilton1166 Місяць тому

    Sir, Express.js vs Next.js please

  • @danimusbar
    @danimusbar Місяць тому

    Phoenix Framework vs Ruby on Rails

  • @DavidSmith-ef4eh
    @DavidSmith-ef4eh Місяць тому +2

    I don't think anyone actually uses ruby on rails. You promised PHP swoole bruh, yet you give us something nobody cares about.

    • @AntonPutra
      @AntonPutra  Місяць тому +1

      seems that way, but i used it myself many years ago and decided to try it out. so far, it's the slowest thing i've tested 😊

    • @HaydonRyan
      @HaydonRyan Місяць тому

      Fun fact gitlab (and I think GitHub) is ruby. Not sure if they’re rails though.

  • @carlhandy
    @carlhandy Місяць тому +1

    Laravel vs Ruby on Rails

  • @mantovani96
    @mantovani96 Місяць тому +1

    Ruby on Rails vs Elixir Phoenix vs Python Django vs PHP Laravel

  • @ZicaoWarr
    @ZicaoWarr Місяць тому +1

    PHP Swoole vs Node

    • @AntonPutra
      @AntonPutra  Місяць тому +1

      i'll do php soon

    • @ZicaoWarr
      @ZicaoWarr Місяць тому

      @@AntonPutra PHP has many runtimes, FPM, Swoole, Franken, similar to Ban, Deno and Node, maybe a comparison between runtimes first would be nice

  • @fdov4
    @fdov4 Місяць тому +1

    Why are you comparing a framework with a runtime, it makes no sense

    • @AntonPutra
      @AntonPutra  Місяць тому +1

      my mistake, just released the updated benchmark!

    • @fdov4
      @fdov4 Місяць тому

      @@AntonPutra Awesome, quality content

  • @gamerneversleep4200
    @gamerneversleep4200 Місяць тому +1

    ror vs laravel will be best

  • @sj441888
    @sj441888 Місяць тому

    ultimate-express vs spring boot

  • @helovescoding
    @helovescoding Місяць тому

    This comparison is totally absurd.
    It's just to stir up the discussion. To be fair, he'd have to implement the server using only Net::Http, without using Active Record (maybe only the pg gem), and thousands of other things that Rails provides. That project in Node.js only uses native runtime features while Rails is a full-fledged framework that provides a vast array of integrated tools and conveniences out-of-the-box. That was the most nonsensical comparison I've ever seen.

  • @ebuzertahakanat
    @ebuzertahakanat Місяць тому

    Spring boot vs jakarta ee

  • @everson_vinicius
    @everson_vinicius Місяць тому

    doesn't even make sense to compare a framework to a runtime. Try RoR vs NestJS or ExpressJS

  • @hooch912
    @hooch912 Місяць тому

    HTML5 vs BASIC vs Django

  • @bcassol
    @bcassol Місяць тому +2

    dam I thought RoR would be faster by 2024 since Shopify and GitHub threw millions of engineering hours trying to speed it up 😮
    looks like a horse vs car race

    • @ijazkhan3335
      @ijazkhan3335 Місяць тому

      They have far more complicated systems than simply relying on a single framework. Most of the system in modern world are always bottlenecked by databases and storage. You can scale rails if you have enough money, but dealing with databases, caching and other storage related stuff is going to be the most complicated process for any big software.

    • @AntonPutra
      @AntonPutra  Місяць тому +1

      yeah, rails out of the box is quite slow

  • @snatvb
    @snatvb Місяць тому +1

    interesting to see gleam :)
    compare maybe with go / nodejs
    seems I got answer why RoR "died"

  • @dzonialucard
    @dzonialucard Місяць тому +1

    once again node reigns supreme

  • @BarakaAndrew
    @BarakaAndrew Місяць тому +2

    Ruby is so bad. 50x difference? the dev productivity has to be at least 500x for me to even consider it, it should automatically write my code when I create new file otherwise I won't even bother.

    • @simpl1g
      @simpl1g Місяць тому +3

      there is nothing about Ruby in this video, it is Rails

    • @AntonPutra
      @AntonPutra  Місяць тому

      it's mostly rails that's slow