Re:38% of bugs at Airbnb could have been prevented by using ...
by jashmatthews on Monday February 11, 2019 @07:28AM
(#19133908)
JRuby doesn't have a GIL to begin with so there's no requirement to use multiprocessing to host Rails apps etc.
They're an improvement over a single GIL but not by much. IIUC, they're like Racket's Places: a complete duplication of the VM but sharing an address space. The basic implementation doesn't really save much memory but it's a bit more convenient.
There's been a couple of attempts to implement subinterpreters for CRuby too.
Re:38% of bugs at Airbnb could have been prevented by using ...
by regularfry on Monday February 11, 2019 @10:10AM
(#19134954)
JRuby is an incredibly underrated piece of kit. That startup time, though...
Re:38% of bugs at Airbnb could have been prevented by using ...
by hardwaresofton on Monday February 11, 2019 @07:26AM
(#19133892)
A good article on them:
https://medium.com/lazy-engineering/node-worker-threads-b57a...
That makes me think they run in the same address space, but use separate runtimes. So it's more scalable than ruby and python threads or multiprocessing.