Big issues with PPC and Cloud files
So, I have photopost and photopost classifeds running on my site. Both apps share EVERYTHING, and that means same web server, same file systems and even the same amazon cloud bucket.
I am using s3fs fuse cloud system mounted to an amazon cloud bucket. I have 288,000 images in photopost and when I access them via the app which reads offf of the amazon cloud, the response is acceptable considering what it has to do. No issues there. It takes 3 seconds to load the index page. Not the best but acceptable considering its a cloud.
However, the photopot-classifieds which from the looks of if is very similar to photopost, the page loads take 30 seconds to load and there are only 1200 images in that bucket as apposed to 288,000.
I have gone through the code and the issue is inside of the function get_imagethumb function.
Furthermore, as a side note, the calls to the function dirsize kill the system . I modifieed it just return 1. This is a bad thing with cloud files.
Does the latest version of the classifieds still use similar logic? Is there a work around for using cloud files besides the s3fs?
Last edited by jtorral; December 10th, 2011 at 01:19 PM.