Performance 23000 addresses

New home Forums Pro Add-on Troubleshooting Performance 23000 addresses

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • #58591
    jkdbjj
    Participant

    I read you regularly test 50000 address maps with no problem.
    Upon page load it take about 10-20 seconds for the 3 dots to stop thinking, then the map seems to work just fine.

    I have the markers only set to appear upon search query. Still I imagine all the markers are loading up front.

    Is there anyway to increase the speed of this page load as I fear people will just leave thinking it is broken.

    Please tell me what info you need. I have the Pro addition.

    I would rather not publicly display the webpage if I don’t have to, so please let me know.

    I am using Google API, basic addresses, no images, imported using JSON files.

    #58592
    jkdbjj
    Participant

    Well here is the address I will just delete it when this discussion is done if that is possible so it is not just sitting out there.

    http://dev.eaacorp.com/find-a-dealer/

    Thank you

    #58606
    Perry
    Moderator

    Hi there

    Thank you for getting in touch, Perry here from the development team.

    We do regularly load test to identify bottlenecks and the plugin is quite capable of handling 50,000 markers client side.

    It sounds like you might have a little bit of a bottleneck server side, if you want to bring load times down as low as possible we can suggest

    – Disabling the marker listing
    – Using a REST cache
    – Using caching in general
    – Using a CDN
    – Using a more powerful host

    Whilst the plugin is capable of 50,000, 100,000 and even 250,000 markers, we conduct load testing on dedicated development machines. This kind of load is quite a big ask of smaller servers, for instance, shared hosting. A VPS or dedicated server should handle this easily, or even shared hosting with a properly set up cache and CDN should work just fine.

    Does that help?

    Kind regards
    – Perry

    #58613
    jkdbjj
    Participant

    Thanks Perry, we are using Liquid Web Hosting which is a higher end host. I did speak with them already to see if they can adjust anything and they did, but I can go back to share this info and see what they say.

    If you are sure it is a server side issue, then I will see what I can find. I tried them first and they weren’t showing any lags or bottlenecks, so I am just bouncing back and forth at this point.

    I will report back what I find out and see if there is some resolution.

    Talk soon

    #58614
    jkdbjj
    Participant

    Also, what is the easiest way to stop markers so I can try that out? This is my first time using this plugin so thank you.

    #58615
    jkdbjj
    Participant

    Hi also while we are discussing, what about the option of turning the map off completely, so a person can just enter their zip or state etc and get the listing returned, and not see a visual map.

    Is this a simple option inside the plugin? I am not sure this is what I want to do, but it might be an option if it is easy to turn on or off to try it out.

    #58625
    Perry
    Moderator

    Hi there

    I’m positive this is a server side issue, if you look at the network panel you’ll see the marker request takes 30 seconds to complete.

    Initially adding the markers on the map is a very fast process, it’s even faster on this site as I can see you’ve selected “Hide all markers until a search is performed”, so we can effectively rule out client side issues here.

    If you are able to share a copy of your wp_options and wp_wpgmza_* tables with us (or a database backup generally) then we will run a full server side profile to see if there are any bottlenecks in our code, I’d be quite glad to do that if it would help. With that said, these are the load times I would expect for a shared host serving up this amount of marker data up.

    The payload is only 2mb, I’d suggest using a REST cache (Acato’s REST cache plugin is good) or a CDN to speed this up, both would make an enormous difference.

    There is no built in way to stop markers from loading however you could override the marker fetch function like so:

    WPGMZA.ProMap.prototype.fetchMarkers = function() {}

    Please note that this may have unexpected behaviour. If you intend to use the listing, you may want to do the following

    WPGMZA.ProMap.prototype.fetchMarkers = function() {
    this.initMarkerListing();
    }

    You can insert that in Maps -> Settings -> Advanced under Custom JS.

    Please note this is untested code and as such may result in unexpected behaviour – however it will do what you’ve asked and no markers will be loaded.

    We don’t support turning the map off out of the box, you could do the above and use CSS to hide the map to give the same appearance, if that helps?

    Kind regards
    – Perry

    #58729
    jkdbjj
    Participant

    So, I have been waiting on my host to optimize a few things. I am not on a shared host at all, but they did optimize a few things.
    Problem I am facing now, is when I hit “search” nothing at all happens anymore.

    I have done nothing to the page or plugin since talking last week as I’ve been waiting on my host to respond.

    Can you please take a look and tell me why it won’t even work now at all?

    Thanks

    #58772
    Perry
    Moderator

    Hi there

    I’m terribly sorry for any inconvenience caused, we’ve identified a widespread issue with Pro 8.0.26 which we have fixed, and will release a patch for with in 24 hours.

    If you need an immediate solution, you can downgrade to 8.0.25 temporarily.

    Please bear with us on that.

    Did the optimizations at your end help at all?

    Kind regards
    – Perry

    #58840
    jkdbjj
    Participant
    This reply has been marked as private.
    #58841
    jkdbjj
    Participant
    This reply has been marked as private.
    #58843
    jkdbjj
    Participant

    and thank you for helping with this. I have 10 days to resolve this issue before my deadline.

    Really appreciate anything you can help with.

    #58846
    Perry
    Moderator

    Hi there

    I’m sure we can resolve this within ten days, we will, of course, resolve this with you as soon as humanly possible.

    Are you absolutely sure the CDN and REST cache are configured properly?

    The marker REST URL is still taking a very long time to download from my end. It’s 16mb, which is large, but I’d expect a CDN to serve that up within seconds.

    Kind regards
    – Perry

    #58847
    jkdbjj
    Participant

    Hi Perry, configured correctly, I can’t say for sure. I am for sure not an expert with those two areas, but the Rest Cache I used the recommended one you mentioned earlier and it was pretty straight forward implementing it, so I am not sure what else to do with it.

    As for CDN I am using Cloudflare, and I “think” it is set up correctly. I haven’t had problems before with it. We’ve had it for a couple years now for the old websites.

    I’ve been trying everything everyone says, and I hate bugging people, I am just not sure what else to do.

    I guess I can google how to setup CDN properly and check my work, but other than that I am stuck.
    I will work on that now and see if I can figure something out.

    thank you

    #58848
    Perry
    Moderator

    Hi again,

    Just to further that, could you please share your marker data by going to Maps -> Advanced -> Export, then attaching the file?

    I’d like to import that at our end and run full performance diagnostics and find out exactly where the bottlenecks are here, that should complement caching and CDN systems nicely.

    Kind regards
    – Perry

Viewing 15 posts - 1 through 15 (of 23 total)
  • You must be logged in to reply to this topic.