Rails performance tips
By Jiazhen Xie | 24 November 2016
Tags: ruby, rails, performance, optimization
> Remember, Ruby takes a large memory footprint. So, for example, to process 1G of data you might need 3G and more of memory. When use , rethink, is it good to load everything in memory? What if the table gets bigger and bigger. MongoDB . Use when creating lots of rows. It's not only protect data conformity but also perform batch actions. Has_many relation, use is faster than See if be able to use After use , remember to ActiveRecord > If you have a 1G of data in the table, ActiveRecord represen...
← Back to Home