2026-09-23 19:03 UTC
@kboyd@phpc.social the part where ruby doesn't have a modern async runtime, so you have to run multiple processes, each with multiple GIL-interlocked threads, holding multiple postgres connections, which are quite heavy
also from what I heard, background job processor can't run too many threads concurrently, so you have to run multiple copies of those, but I haven't retested that on modern versions
@GossiTheDog@cyberplace.social @WTL@mastodon.social
Replies (1)
-
@kboyd@phpc.social 2026-09-23 19:11
@mo@mastodon.ml @GossiTheDog@cyberplace.social @WTL@mastodon.social Ah, so I wouldn't gain very much from rewriting it in PHP. Except for a newfound appreciation of headache medication. (tbh I'm using PHP in this example because it's my favourite language, but this headache problem would even be true for rust or go)