Toot

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

Can anyone help me understand, from a performance standpoint, how switching between two Ruby processes (at the OS/Kernel level) is different than switching between two threads within the same Ruby process?

Cause Ruby Threads are OS/Kernel-level threads right? So it seems like it would be same same, perf wise (to me?).

(Assume I don't care at all about shared memory; just CPU cycles)

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

Mentions

Tags

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

This content has been proxied by September (ba2dc).