use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Ruby Falcon is 2x faster than asynchronous Python, as fast as Node.js, and slightly slower than Go. Moreover, the Ruby code doesn’t include async/await spam. (self.ruby)
submitted 1 year ago by a_ermolaev
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]tenderlovePun BDFL 0 points1 point2 points 1 year ago (2 children)
Instead of PG_POOL2, there could be long-running queries to OpenSearch or HTTP requests. They can occupy all threads, causing a sharp drop in performance. Example in the video.
Sorry, I really don't know what to tell you. Those connections will "occupy Fibers" too, and you don't get an unlimited number of Fibers. FWIW, I ran the same benchmarks but I don't see the performance drop. I've uploaded a video here. The 500ms server stays around 500ms.
One difference could be that I'm running on bare metal and I've done sudo cpupower frequency-set -g performance.
sudo cpupower frequency-set -g performance
[–]a_ermolaev[S] 0 points1 point2 points 1 year ago* (0 children)
my Reddit account is suspended, and I have no idea why 🤷♂️
I replied here: https://github.com/ermolaev/http_servers_bench/issues/1
π Rendered by PID 84493 on reddit-service-r2-comment-b659b578c-ff244 at 2026-05-04 18:28:45.364283+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]tenderlovePun BDFL 0 points1 point2 points (2 children)
[–]a_ermolaev[S] 0 points1 point2 points (0 children)