News for hackers. Stuff that matters.
Re:Pitchfork: Rack HTTP server for shared-nothing architecture by tiffanyh on Wednesday October 12, 2022 @05:07PM (#33183208)
Do you think Ruby will ever be able to catch up to PHP in raw web performance? If so, when (months/years)?

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

Please don't take my comments as unappreciation for the hard work going into Ruby.

Re:Pitchfork: Rack HTTP server for shared-nothing architecture by tenderlove on Wednesday October 12, 2022 @05:43PM (#33183883)
Which part of raw web performance? These don't seem like web performance benchmarks. IOW I'm not sure how calculating digits of PI impacts serving HTML.

Seems like we need benchmarks for actual web workloads. :)

Re:Pitchfork: Rack HTTP server for shared-nothing architecture by tiffanyh on Wednesday October 12, 2022 @06:28PM (#33184527)
PHP vs Ruby in web benchmark across multiple frameworks (and even no use of a framework) linked below.

There’s nearly an entire order of magnitude difference in performance between the best of PHP vs best of Ruby (~400k vs ~50k rps)

https://www.techempower.com/benchmarks/#section=data-r21&l=z...

Re:Pitchfork: Rack HTTP server for shared-nothing architecture by hw on Thursday October 13, 2022 @02:11AM (#33187817)
Is that an apples to apples comparison taking ngx-php vs roda on puma, esp being on ruby 2.7? Would love to see embedded ruby in nginx instead.
Re:Pitchfork: Rack HTTP server for shared-nothing architecture by jbverschoor on Thursday October 13, 2022 @06:55AM (#33189425)
Benchmark is simply incomplete and manipulative. The "best" doesn't even use an ORM, and it's mostly php anyway. Barely any ruby variants.

Also, see https://news.ycombinator.com/item?id=26071181