# File Upload over AWS - performance problem

**URL:** <https://www.ruby-forum.com/t/file-upload-over-aws-performance-problem/107038>\
**Category:** Rails\
**Created:** [June 17, 2007, 1:49am UTC](https://www.ruby-forum.com/t/file-upload-over-aws-performance-problem/107038 "2007-06-17T01:49:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![giantcranes](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ecd19e/32.png) [@giantcranes](https://www.ruby-forum.com/u/giantcranes)\
**Post date:** [June 17, 2007, 1:49am UTC](https://www.ruby-forum.com/t/file-upload-over-aws-performance-problem/107038/1 "2007-06-17T01:49:22Z")

</div>

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
