Thank you for the reply.

I will do some reading on Metal and I see there's a railscast on the 
subject too.
It won't be too "heavy" task as the file will be approx. 17-20 MB

Thanks again.

JohnM


Robert Walker wrote:
> John Mcleod wrote:
>> My project consists of a "Project" database and periodic imports (new
>> data) to the database. This import file will be a .csv file and it'll be
>> necessary to compare the entire database for similar titles and project
>> managers and then import the new data to the database. (Nice project for
>> a newbie, uh?)
> 
> This is just a suggestion, but you might look into separating this 
> import out to a separate "daemon" process. Maybe just a simple Rack 
> application or possibly use Rails Metal. The goal, of course, being to 
> offload this "heavy" task as to not interfere with normal request 
> processing in your main Rails application.
> 
> I also think I would try to skip ActiveRecord altogether for this task. 
> Unless you gain significant benefit by going through ActiveRecord.
> 
> Just some things to consider. Good luck and welcome to the Rails 
> community.

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to