Mass inserting data in Rails without killing your performance

Bráulio Bhavamitra brauliobo at gmail.com
Mon Jan 28 20:00:29 BRST 2013


The main benefit I've tested was the use of a transaction. It easily
integrates with rails and acumulates data to be executed in a batch,
greatly improving performance in a migration.
Em 28/01/2013 08:40, "Rodrigo Souto" <rodrigo at colivre.coop.br> escreveu:

> That's nice but smoothly dangerous. In such big applications as Noosfero
> with lots of relations and plugins connecting models, it might get
> much harder to see what kind of things can or cannot bypass the whole
> stack of an object creation (triggers, validations, sweepers, etc).
>
> Bráulio Bhavamitra escreveu isso ai:
> >
> http://www.coffeepowered.net/2009/01/23/mass-inserting-data-in-rails-without-killing-your-performance/
> >
> > Interesting article on performance and uses of activerecord.
> >
> > regards,
> > bráulio
>
> > _______________________________________________
> > Noosfero-dev mailing list
> > Noosfero-dev at listas.softwarelivre.org
> > http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/noosfero-dev
>
>
> --
> Rodrigo Souto <rodrigo at colivre.coop.br> :: 55 71 8131-7714
> Colivre - Cooperativa de Tecnologias Livres
> http://www.colivre.coop.br/
>
> _______________________________________________
> Noosfero-dev mailing list
> Noosfero-dev at listas.softwarelivre.org
> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/noosfero-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20130128/656061aa/attachment.html>


More information about the Noosfero-dev mailing list