• Hello

    We have been using gmedia for months and have purchased albumsgrid and some other plugin.
    Always been very happy with how it functions!

    However we have come accross a pretty major problem. We have a very busy website and our database admin has optimized nginx to be completely integrated with supercache, everything loads lightning fast on our quad core xeon servers.

    The only bottleneck that is causing ALL of the slowdowns right now is gmedia.
    It is making php requests like crazy while the albums remain the same and I was hoping they would also be cached.
    This is an excerpt of whats happening while only 1/5th of our audience is online:
    https://paste.ee/p/EBxdj#VMHMizHxpT4G5duTqE7E7t7EC7ZCyZKC

    it causes the cpu’s to go to 100% all the time and is causing the rest of the website to come to a crawl.

    I really hope I can make this work somehow as we spent months building a database of images. It would absolutely suck to move away from gmedia.

    Thanks for your help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter michaelsamo

    (@michaelsamo)

    Might it be the albumsgrid plugin we purchased ? is it not doing constant querries to get the albums (we have a albums grid querie for every letter in the alphabet)

    • This reply was modified 6 years, 1 month ago by michaelsamo.
    • This reply was modified 6 years, 1 month ago by michaelsamo.
    Plugin Author Rattus

    (@pasyuk)

    Some AJAX gallery modules load content after the page load complete, so the gallery images loading separately via AJAX call. I’m working on adding cache to this AJAX calls. As for now you can try to switch to some other non AJAX gallery module.

    Thread Starter michaelsamo

    (@michaelsamo)

    What do you mean, switch to another ajax gallery module ? Any more info on this ? We can’t simply switch from gmedia with this HUGE library we built up.

    Plugin Author Rattus

    (@pasyuk)

    Gmedia gallery plugin has a lot of different gallery modules to display your images. To switch gmedia module you just can select gallery(ies) on Gmedia Gallery page and in Action dropdown choose “Change module/preset for Galleries”.

    Be sure you have installed other modules at Gmedia Modules page -> Add New section.

    Thread Starter michaelsamo

    (@michaelsamo)

    Ok, we purchased ALBUMSGRID module to show people in A-Z list.
    For instance, PAGE A shows all people starting with A. Albumsgrid was the only module able to show a gallery as a list of images leading to different albums.

    album__in=181,69,296,266,70,346,351,312,71,179,184,180,319,207,314,299,186,283,182,340,193,72,73,174,74&order=ASC

    Would for instance load these albums in the list of people starting with the letter A.

    I can see albumsgrid uses ajax calls so you think that is the major slowdown ?

    I don’t see any other solution for our problem though, how can we do what we do without this module ?

    Thread Starter michaelsamo

    (@michaelsamo)

    Enabling any other module ends up showing all the albums’ pictures in one big mess instead of showing an album cover with the images behind it.

    Any way I can pay you to do the ajax call cache ? It would GREATLY improve performance because the albums/covers and images in the albums remain static, I don’t see why it is not cached in the first place. Seems really inefficient.

    Thread Starter michaelsamo

    (@michaelsamo)

    Also, if you get around to answering the above, does supercache also have something to do with the “load more, 3 dots” button reloading the same images over and over instead of the remaining other pictures?

    Thread Starter michaelsamo

    (@michaelsamo)

    @pasyuk

    any updates ?

    My nginx log still shows hundreds of ajax.php requests because of gmedia, its absolutely tearing my server apart. (even after the latest update that said stuff can now be cached)

    Thanks !

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Gmedia not working with cache, causing main slowdown, urgent’ is closed to new replies.