Toot

Written by Ben Sheldon (he/him) on 2024-11-27 at 19:48

@francois that's mostly what the topic centers around.

I guess the conclusion I'm circling around is: using Ruby Threads is performatively worse than using multiple processes. Because Ruby threads still uses OS kernel switching AND also has to do GVL locking/unlocking on top of that.

This is not quite a Unicorn vs Puma thing, but that's a lot of the context of these thoughts. Cause other than sharing resources (memory, db connections) multiple processes seems better for perf.

=> More informations about this toot | View the thread | More toots from bensheldon@ruby.social

Mentions

=> View francois@ruby.social profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113556646915727450
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
224.07947 milliseconds
Gemini-to-HTML Time
0.452001 milliseconds

This content has been proxied by September (ba2dc).