Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 24. Nov 2024, 16:43

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: 4. Sep 2007, 18:26 
Offline

Joined: 16. May 2006, 17:15
Posts: 53
Location: Rio Claro - SP - Brazil
My gallery has more than 13000 pictures today.
Everything is working fine, except that the TopX of the main folder takes more than 4 minutes to load. :(

_________________
http://www.skooterweb.com/fotos/
http://www.skooterweb.com/


Top
 Profile  
 
 Post subject:
PostPosted: 4. Sep 2007, 19:11 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
on my connection it took almost 2 minutes as well when acessing the frist time.
I know about this - and this will change a lot in 1.7. Right now the topx are fully calculated again an again.
I'm changing this right now that I already make cache files that have precalculated results. This will already speed up everything a lot! If you even allow TWG not to show actual data but e.g. topx that are recalculated once a day (I will create this then too) the topx will be shown as fast as a gallery page.

I'm currently working on integrating image magic - optimizing topx is the next step - If you like you can test the changes as soon as it is implemented.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 4. Sep 2007, 19:14 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
which server are you using? how fast?
because once the top x is loaded the xmls are loaded - the 2nd time it is much faster. Seems your cpu needs really long to process the xml files.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 4. Sep 2007, 19:28 
Offline

Joined: 16. May 2006, 17:15
Posts: 53
Location: Rio Claro - SP - Brazil
I'm running an Apache/PHP Server (last version of both), Windows XP Professional on a Pentium 4 3.2 GHz and 2GB RAM.

_________________
http://www.skooterweb.com/fotos/
http://www.skooterweb.com/


Top
 Profile  
 
 Post subject:
PostPosted: 4. Sep 2007, 19:37 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
then it's maybe your connection - I almost never get a good bandwith when I connect to you.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 4. Sep 2007, 19:41 
Offline

Joined: 16. May 2006, 17:15
Posts: 53
Location: Rio Claro - SP - Brazil
My upload speed is only 300kbps.

But I believe the issue is not related with it because my tests were done in another PC in the same network, thus with a 100mbps Ethernet connection.

_________________
http://www.skooterweb.com/fotos/
http://www.skooterweb.com/


Top
 Profile  
 
 Post subject:
PostPosted: 4. Sep 2007, 23:39 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I know - loading time of the images are not related to the time needed to calculate the topx - like I said - 1.7 will solve this problem.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 4. Sep 2007, 23:46 
Offline

Joined: 16. May 2006, 17:15
Posts: 53
Location: Rio Claro - SP - Brazil
Thanks Michael

_________________
http://www.skooterweb.com/fotos/
http://www.skooterweb.com/


Top
 Profile  
 
 Post subject:
PostPosted: 6. Sep 2007, 14:42 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
implemented the caching yesterday - you want to test?
Now a background process generates the top in a given interval (I think I'll set this to 6 hours or so - can be set in the config anyway) and saves them in the cache. My server is not good for testing - "only" 2000 images and generation here takes only a second ...
copying images to my server does not help much because every images has to be viewed at least once ;).

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 6. Sep 2007, 16:30 
Offline

Joined: 16. May 2006, 17:15
Posts: 53
Location: Rio Claro - SP - Brazil
Sure, I can test it. :)

_________________
http://www.skooterweb.com/fotos/
http://www.skooterweb.com/


Top
 Profile  
 
 Post subject:
PostPosted: 27. Sep 2007, 05:54 
Offline

Joined: 27. Sep 2007, 05:52
Posts: 3
Looking forward to 1.7 then, I only have 2 or 3 thousand on mine but when trying to load top 13, I get Fatal Error: maximum execution time of 30 seconds exceeded in filefunctions.inc.php on line 2670

>_<

_________________
http://www.gasbanditry.com


Top
 Profile  
 
 Post subject:
PostPosted: 27. Sep 2007, 08:45 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
look when I release 1.7 dev4 - there the whole caching is already included and tested.

But if you have only 2-3 thousand images - make sure the cache is on! (right lower corner)

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 27. Sep 2007, 15:41 
Offline

Joined: 27. Sep 2007, 05:52
Posts: 3
TinyWebGallery wrote:
look when I release 1.7 dev4 - there the whole caching is already included and tested.

But if you have only 2-3 thousand images - make sure the cache is on! (right lower corner)

/Michael


Aha! I thought I had caching already going because I'd hit "generate cache" but I guess I was wrong... I found the setting and now it works. Thanks!

_________________
http://www.gasbanditry.com


Top
 Profile  
 
 Post subject:
PostPosted: 27. Sep 2007, 15:44 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
there is a howto about the caching - TWG has several levels of caching to get best user experience with the lowest server load ;).

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 27. Sep 2007, 20:14 
Offline

Joined: 18. Oct 2006, 23:57
Posts: 12
Ill play with it. Ive got 30k+ photos.

http://photos.thepackhams.com/photos/

any caching that I can get is good


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy