4 ms·
> Multiple large clusters of servers distributed across the world, capable of serving over 75 million requests per minute That doesn't say anything at all sadl
by lakomen 4y ago
> Multiple large clusters of servers distributed across the world, capable of serving over 75 million requests per minute
That doesn't say anything at all sadly.
Ruby people seem to be sensitive when someone asks them about performance, my last question about that was downvoted heavily here.
I don't know any Ruby, I know how much Go can handle with the stdlib, a single non-parameterized route, returning "hello world". On my machine xeon e3-1275v5 with 8 threads 1000 concurrent wrk about 220k/ rps. Errors start appearing (aka non-200 results) between 5000 and 6000 concurrent.
Don't forget to ulimit -n 10000 or more before you start wrking.
Alternatively can you provide a simple single route hello world in Ruby so I can bench it myself with this Ruby 3.2 YJIT? Maybe also how to build and run?
Yes, I'm being serious.
I'm also guessing that Ruby with Rails has a large overhead compared to Go and just the stdlib. So that comparison wouldn't be fair, but I guess it is what it is, since we're talking semi real world scenarios (yeah don't get your ocd panties in a bunch) and Rails AFAIK is the standard for Ruby web development while the stdlib in Go is also used quite often.
- jrochkind1 4y ago> since we're talking semi real world scenarios A single non-parameterized route returning "hello world" is a real-world scenario? You have an interesting business domain!
- claudiug 4y agohe has a saas that return hello world.
- deleted 4y ago[deleted]
- djur 4y agoComplaining about downvoting, demanding that other people do work for you, and preemptively using demeaning language about people who might disagree with you are all ways to reliably get downvoted.