Hi,
I have a site that has aprox. 3000-4000req/sec on static content that is served by 3-5 servers running tomcat.
And I guess that it is possible to do this much more efficient with nginx as i have tried it successfully on other installations.
Problem is that the URL that is something like blabla.com/2009/09/08/1000/000/21 then need to be translated to the actual file on the filesys, /data/static/10/100/20/30000/39/ we don't want the end user to be able to know anything about the file system layout.
This is done with java and tomcat today, but target is to reduce the servers to two and that one should be able to take all the load if needed. There is lots of files on the filesys up to 50miljons and 6TB of data so for every server that can be saved it makes a difference in money spent on storage.
Soo should I do this using rewrite and regex or is it possible to use a perl script to do the calculation of the url?