Welcome! Log In Create A New Profile

Advanced

Re: Using proxy_store under heavy load.

May 20, 2009 01:52PM
On Wed, May 20, 2009 at 07:48:27PM +0300, zepolen wrote:

> I'm using proxy_store to act as a frontend mirror/cache to amazon s3 for my
> sites photos.
> Response times are slow, iotop reports ~10-15MB/s being written to disk by
> nginx.
> The website implements a 'latest' feature, any new photos will requested by
> many users at the same time.
> I'm thinking nginx is probably getting a request for a photo it doesn't
> already have, and while it is retrieving the file from s3, more requests
> come in for the same file, meaning more round trips and more temp files
> being created.
> Does proxy_cache handle it differently? (ie, does it know that a url is
> currently being retrieved from the backed, and block other requests for that
> url until the file has been retrieved)

No, proxy_cache does the same.


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

Using proxy_store under heavy load.

zepolen May 20, 2009 12:48PM

Re: Using proxy_store under heavy load.

Igor Sysoev May 20, 2009 01:52PM

Re: Using proxy_store under heavy load.

Dave Cheney May 26, 2009 09:23PM

Re: Using proxy_store under heavy load.

zepolen May 26, 2009 11:19PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 75
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready