Welcome! Log In Create A New Profile

Advanced

1M Files in One Directory using Nginx Cache. Need Resolved.

Posted by kshaikh 
1M Files in One Directory using Nginx Cache. Need Resolved.
January 27, 2010 01:23PM
We have 1M files being cached in one directory. We own a top 2,000 web site in the world with about 100 servers using Nginx.

We need to improve this such that it caches using the first 4 letters of an 8 digit unique code.

Like this

image_ABCDEFGH.jpg

should cache on the file system like

A/B/C/D/image_ABCDEFGH.jpg

Right now all 1 million files just are stored in one directory which under Linux isn't the best method for the file system (Ext3).

Please HELP! Paid job!
Re: 1M Files in One Directory using Nginx Cache. Need Resolved.
February 12, 2010 02:40AM
Hi,

Are you still looking for someone to do that? If yes, I can help.

Regards,
Samuel
Re: 1M Files in One Directory using Nginx Cache. Need Resolved.
April 09, 2010 05:06AM
@kshaikh: Would you share how this was solved, please?

http://www.linux-showroom.com
Re: 1M Files in One Directory using Nginx Cache. Need Resolved.
April 09, 2010 12:25PM
Nevermind, I found a solution to my similar problem: http://forum.nginx.org/read.php?11,68480,68480
Re: 1M Files in One Directory using Nginx Cache. Need Resolved.
May 14, 2010 03:21AM
I have trouble on dreamhost
can you handle dreamhost nginx configuration? and get the WP-MU proper working and also Stausnet
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 76
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready