Hi all,
Recently I have installed the great zenphoto as my personal gallery software, but I have also found that the performance is very poor, when loading a image, the CPU idle drops to ``0'', which could be very bad, now I am not a developer, and I could use some help here.
I have read the http://www.zenphoto.org/2008/06/performance-hacks/ performance guide. But it's not operational for me, either way, it will add more load to the server, and I don't have the additional software installed.
It seems that zenphoto trys to scan the album directory everytime an actrual album is accessed. Don't know anything more.
Thanks in advanced.
Your site seems indeed a little slow, but I can't reproduce it on my setups. Did you check if that is maybe with other script, too?
Indeed Zenphoto is filesystem based and will scan the albums folder if there are any new images, but once the images are cached (=Processd and the thumbs and sized images generated) it should not be that fast.
Please also read here: http://www.zenphoto.org/2008/08/troubleshooting-zenphoto/#22
Are you really sure that it's not your server that is slow itself?
Precaching all images can be slow especially if you have lost of big images.
http://www.zenphoto.org/2008/08/troubleshooting-zenphoto/#11
But there is actually no need to precache:
http://www.zenphoto.org/2008/08/troubleshooting-zenphoto/#22
Oh really, I read this
http://www.zenphoto.org/2008/06/performance-hacks/
And if gzip wouldn't help, what should I do to make a difference?
Thanks
Sorry, I misunderstood your original postings. I thought that since you were talking about directory searching and CPU load you were concerned about server side issues. Certainly adding an extra processing overhead to compress the web page before serving it could only make such matters worse.
But if the problem is that your connection is too slow, then compressing the served page would indeed be a help.