top | item 43376519 (no title) jupp0r | 11 months ago Rails is a hot ball of global mutable state. Good luck with threads. discuss order hn newest andrewmutz|11 months ago The default rails application server is puma and it uses threads jupp0r|11 months ago Yes, it does. Ruby has a global interpreter lock (GIL) that prevents multiple threads to be executed by the interpreter at the same time, so Puma does have threads, they just can’t run Ruby code at the same time. They can hide IO though. load replies (1)
andrewmutz|11 months ago The default rails application server is puma and it uses threads jupp0r|11 months ago Yes, it does. Ruby has a global interpreter lock (GIL) that prevents multiple threads to be executed by the interpreter at the same time, so Puma does have threads, they just can’t run Ruby code at the same time. They can hide IO though. load replies (1)
jupp0r|11 months ago Yes, it does. Ruby has a global interpreter lock (GIL) that prevents multiple threads to be executed by the interpreter at the same time, so Puma does have threads, they just can’t run Ruby code at the same time. They can hide IO though. load replies (1)
andrewmutz|11 months ago
jupp0r|11 months ago