Page 1 of 2

Performance problems

Posted: 16 Jul 2008, 17:32
by marco963
After having installed V2 beta and 3 folders I had no particular problems: I could make thumbnails and averything was fine.
After that I uploaded my entire image collection (more than 5000 images categorized into several multilevel folders).

Now the situation is the following:

a) Loading the Gallery Home: http://www.marcobrivio.com/Portfolio/
takes much time, really too much

b) Accessing the admin panel is even worse. When there were a few folders I had no problems at all.

In my opinion (maybe I'm wrong), V2 calculates all the data related to the folder hierarchy (folder names, number of images loaded in each subfolder, etc...) and it takes definitely too much time to perform this task.

Regards,
Marco

Posted: 16 Jul 2008, 18:02
by Nick
You're right, but for extreme photographic case there are some ways of speeding up the task, like either not count amount of pictures in dirs or store that data in folderdata.xml for each dir.

Posted: 16 Jul 2008, 22:24
by markam24
You mean the galleries image count to display in the menu? Where is the function to do that? My apologies if I'm missing something obvious.

Posted: 17 Jul 2008, 01:49
by marco963
pain wrote:You're right, but for extreme photographic case there are some ways of speeding up the task, like either not count amount of pictures in dirs or store that data in folderdata.xml for each dir.
Nik, could you suggest an easy and fast way to cope the problem ?
I am not an expert of web sites and some essential guidelines would be highly appreciated. Speeding the task, in these cases is definitely mandatory.
Maybe other users have the same problem.

Regards,
Marco

Posted: 17 Jul 2008, 02:09
by Nick
We will release speedup soon, there are some ways to squeeze more speed, now it's obvious like 'why we didn't think of that before?' :shock:

Posted: 17 Jul 2008, 03:22
by marco963
pain wrote:We will release speedup soon, there are some ways to squeeze more speed, now it's obvious like 'why we didn't think of that before?' :shock:
Nick I really appreciate your efforts to improve this great product and I know very well that performance issues are the last ones to be addressed.

Anxiously waiting for your "speedup"...

Marco

Posted: 17 Jul 2008, 05:07
by mjau-mjau
Also looking forward to speeding things up ... We'll have an update on that shortly.

Posted: 18 Jul 2008, 13:23
by marco963
mjau-mjau wrote:Also looking forward to speeding things up ... We'll have an update on that shortly.
Karl, after having installed the latest beta, the issue is the same.
The speedup fix doesn't seem to work.

You can try: http://www.marcobrivio.com/Portfolio/

Posted: 19 Jul 2008, 02:57
by Nick
Sorry Marco, its not that yet, just some things became quicker, we'll inform you because I want to test on your site.

Posted: 19 Jul 2008, 05:12
by winph
i also have this problem.... www.sherwintan.com/gallery/

Posted: 19 Jul 2008, 05:28
by marco963
pain wrote:Sorry Marco, its not that yet, just some things became quicker, we'll inform you because I want to test on your site.
Nick, if it can help, I will give you my admin password in order to let you try directly on my configuration. Please let me know if you need it.

Marco

Posted: 19 Jul 2008, 06:24
by Nick
Not yet, actually its not a bug, we just need to rebuild some parts, frankly I wasnt expecting thousands of pictures. Give us few days.

Posted: 19 Jul 2008, 11:23
by dcylai
I just maxumum about 300 pcs. of picture. ....
but system is timeout of the make thumbnails. :?

Posted: 21 Jul 2008, 13:54
by marco963
I have installed the latest update (massive speedup).

Probably, the original issue has been fixed (I cannot check yet), but now the problem has moved to server side :(

With all the images loaded (almost 6000), the "clear cache" new function triggers a timeout error on my webserver, an error that happens (also in other contexts) whenever I usually run heavy scripts.

I decided to delete all the content, loading from scratch one image directory, then two (some hundreds total images). Everything was fine, but since each time the "clear cache" starts from scratch, when I load more image directories there will be a certain point when the same timeout issue will happen again.

Summarizing, the performance issue has been solved from a 'user' point of view, but not from an 'admin' point of view.

I think the only way to finally solve the problem would be to let the admin user to re-build the cache of selected folders, on demand (for instance managing only the modified/added ones), skipping the complete rebuild from scratch.

Marco

Posted: 21 Jul 2008, 14:20
by Nick
No, it's not that yet, Karl released it halway into what been planned for next update, you will be personally informed, as i said, because of vast image array, sorry for false alarm :/