3 ms·
> What kind of speedup is available for big Rails applications? When working with both ActiveRecord and Mongoid, I noticed that the vast majority of time spent
by tomphoolery 4y ago
> What kind of speedup is available for big Rails applications?
When working with both ActiveRecord and Mongoid, I noticed that the vast majority of time spent outside of the database is in runtime type-checking and type conversion. That is, when an object is passed in from the DB, it takes the model a bit of time to get all of the data set up correctly. This doesn't become a huge problem unless you have a lot of embedded data in the record, which tends to happen more frequently in MongoDB.