4 ms·
It seems like rails in 2.1 has improvements in garbage collection, definitely need to learn more to high scale rails.
by nexitlabs 12y ago
It seems like rails in 2.1 has improvements in garbage collection, definitely need to learn more to high scale rails.
- javiayala 12y agoI think you mean ruby 2.1
- adymo 12y agoRuby 2.1 has a very important property: GC scales linearly with the amount of memory allocated. Before 2.1 GC performance increased polynomially. So, for example, processing 10k rows from the table could take 10 seconds, and 100k would never finish. With 2.1 everything I do actually finishes :)
- obiefernandez 12y agoRuby 2.1 is a huge step forward. Surprised that more people aren't talking about it.
- adymo 12y agoAnd I also like the fact that GC in 2.1 no longer takes 50-60% of execution time. Usually it's more like 30-40% now.