Sorry if this seems silly, only been learning Ruby and Rails for 2
weeks, though I have been programming since the Commodore 64 came out.
I need to process an XML file once it is uploaded (currently using
The problem is that the files can be quite slow to process, up to 30
seconds for some. Once this processing is done, I need to save that
data to the model to which the file is attached.
So my question is, where is the best place to call the processing
Will the processing block mongrel? Should it go in a new thread? If
so, how do I do that?
And is there any speedier Library than REXML for processing XML?
Thanks for your help