none
REST calls to Locations API running very slowly RRS feed

  • Question

  • Our client side javascript calls to the Bing Maps API Locations REST API (we have an enterprise license key, no rate limiting) are coming back consistently in the 4 to 5 second range, super slow.  Relevant code is here:

    module.exports = function (opts) {
        _.extend(opts.data, {key: app.bing.credentials});
        return $.ajax({
            url: 'https://dev.virtualearth.net/REST/V1/Locations',
            data: opts.data,
            jsonp: 'jsonp',
            dataType: 'jsonp',
            success: function (data, textStatus, xhr) {
                var resources = ((data.resourceSets || [])[0] || {}).resources || [];
                if (opts.success) opts.success(resources, textStatus, xhr);
            },
            error: function () {
                if (opts.error) opts.error.apply(this, arguments);
            }
        });
    };

    We're seeing the slowness all at the Bing endpoints.  Any clues?

    Thursday, July 25, 2013 12:38 AM

Answers

  • I was actually using the service at the same time and doing a bunch of geocoding and didn't notice any performance issues with the service. Since you are an Enterprise customer you should contract the Bing Maps Enterprise support team as all Enterprise customers have access to them. You can find their email address in the Bing Maps portal on the left side panel. If you want you can cc me on the email at ricky_brundritt at Hotmail.com and I'll make sure you have the right email address.


    http://rbrundritt.wordpress.com

    Thursday, July 25, 2013 3:36 PM