Forum: Ruby on Rails File Upload over AWS - performance problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Giant C. (Guest)
on 2007-06-17 03:49
Hi,

I allow my users to upload files over an Action Web Service, the service
uses attachment_fu with amazon s3 storage. My application is server with
a combination of apache 2.2 with a 4 mongrel cluster.

When a user is uploading a file, does the mongrel thread lock? If
another user's request is assigned to this mongrel thread while the
original upload is taking place, will they potentially be waiting for
the upload to complete?

I am trying to track down the cause of a performance issue that I am
experiencing. From time to time mongrel threads seem to lock until I
restart the mongrel cluster. While this is happening, any requests that
are assigned to these dead mongrel threads timeout.

I would appreciate if anyone could provide any insight here.

Thanks,
GiantCranes
This topic is locked and can not be replied to.