Ranjeet Jagtap

Rails 6 introduces insert_all / upsert_all methods

Having methods that can perform database operations in bulk is always a plus considering the amount of efficiency they add to such operations. Rails already had methods like update_all and delete_all to bulk update and bulk delete records respectively. But, Ruby on Rails developers always felt a need for similar methods to bulk insert records. …

Rails 6 introduces insert_all / upsert_all methods Read More »

Heroku memory issue

How we dealt with R14 – Memory Quota Exceeded errors on Heroku

1 – Investigation to zero in on the real culprit We started observing resource utilization graphs for our dynos. As we all know that worker dynos carry most of the heavy lifting. They are indeed used to perform such tasks. So worker dynos are more prone to such errors than others. Then we started observing …

How we dealt with R14 – Memory Quota Exceeded errors on Heroku Read More »