I've written code to upload files a la Agile Web Development with
Rails Second edition. The thing is, its awfully slow.
In my tests, I was processing an uploaded image using RMagick. My new
project doesn't require me to process image files--it just needs Ruby
to process the file and save it to the server. The trouble is there
could be a large number of files.
So my question is, is Ruby viable to use in this context? There are
significant advantages to writing most of the site in Ruby, except for
this part. Is it possible to write the file processing script in
another, faster language and have Ruby hand over the file processing
and saving to that script?
I've written code to upload files a la Agile Web Development with
Rails Second edition. The thing is, its awfully slow.
In my tests, I was processing an uploaded image using RMagick. My new
project doesn't require me to process image files--it just needs Ruby
to process the file and save it to the server. The trouble is there
could be a large number of files.
So my question is, is Ruby viable to use in this context? There are
significant advantages to writing most of the site in Ruby, except for
this part. Is it possible to write the file processing script in
another, faster language and have Ruby hand over the file processing
and saving to that script?