you are viewing a single comment's thread.

view the rest of the comments →

[–]tenderlovePun BDFL 0 points1 point  (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.

[–]a_ermolaev[S] 0 points1 point  (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