2 ms·
I am actually surprised GitHub still has OOBGC, which I thought was made redundant in 2014/2015 when Ruby 2.2 had incremental marking, and further improvement i
by ksec 8y ago
I am actually surprised GitHub still has OOBGC, which I thought was made redundant in 2014/2015 when Ruby 2.2 had incremental marking, and further improvement in GC 2.3, 2.4 and now 2.5.
In 2.6 they are introducing something similar called Sleepy GC
https://bugs.ruby-lang.org/issues/14723 https://bugs.ruby-lang.org/issues/14723
There are even better memory default for 2.6 using less memory. ( Or better switch to Jemalloc )
https://bugs.ruby-lang.org/issues/14718 https://bugs.ruby-lang.org/issues/14718
I cant find the thread, but there also a test showing how on Alpine Linux memory and performance were much better for Ruby Apps.
Meanwhile we are waiting for Truffle Ruby as a true drop in replacement, that should take lots of Ruby Pain point away. ( Native Image deployment, Better Memory handling and GC, Much faster JIT )