RSSAmplifier

Alex Dowad Computes · Nov 28, 2024

Fast Bulk Record Updates in Rails

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

Today I investigated a performance issue in a client’s Rails application. The problem code was taking about 40 seconds to create and/or update several thousand database records, resulting in HTTP request timeouts. After taking some measurements, reorganizing the code a bit, and applying some standard optimizations, that went down to 8 seconds. A 5× speed boost isn’t bad, and the client would…

Read on /bulk-record-update-in-rails/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.