Advice please - on Cloud API performance techniques

Questions about the WURFL Cloud service.
chum63
Posts: 33
Joined: Mon Oct 07, 2013 5:22 am

Advice please - on Cloud API performance techniques

Postby chum63 » Fri Oct 11, 2013 5:07 am

Hi - me again, but testing the local WURFL vs the Cloud - sorry :D

I have set up our system so I can switch from it using the local WURFL and WURFL in the cloud and am doing some comparisons. The service we have keeps track of how long it takes to process in milliseconds and this gets logged with each transactions. Obviously the service does more than just getting the device information, but I found that when using the local version my range of millisecs was from 18 to 27 millisecs - so pretty static. But when I switch to the cloud it ranges from 7 to 381 - obviously the 7 is nice, but I assume this is due to using cache rather than making a service request to you. My instinct is that when the service gets called after a while of downtime it takes longer to make the first request, but after that it gets quicker. I have been using about 3 different mobiles for the testing = 2 x android and 1 x windows.

I have attached snapshot picture from our db and you will see in the range of millisecs in the first column and 1 in the second column when the cloud is being used and a 0 when the local version is being used.

Do you have any advice or suggestions/references on server/coding that will remove the fluctuation in time taken for the cloud? Anything else I can try or do - to stop the 300 millisecs?

Cheers, Chris.
Attachments
Screen Shot 2013-10-11 at 11.00.44.png
Screen Shot 2013-10-11 at 11.00.44.png (17.14 KiB) Viewed 6048 times

kamermans
Posts: 393
Joined: Mon Jun 06, 2011 9:50 am

Re: Advice please - on Cloud API performance techniques

Postby kamermans » Fri Oct 11, 2013 9:00 am

Hi Chris,

Your assumptions are correct. The cloud can be faster than the OnSite API due to it's lightweight caching, but most requests will be longer. If your servers are in the US or Europe on a decent backbone, you should be averaging <100ms round trip for requests, however, some of your lookups will require a round-trip DNS request, this could effectively double the delay for some requests. Finally, there is always the issue of normal network issues since your requests are going across the public internet.
Thanks,

Steve Kamerman
ScientiaMobile

Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!

chum63
Posts: 33
Joined: Mon Oct 07, 2013 5:22 am

Re: Advice please - on Cloud API performance techniques

Postby chum63 » Sat Oct 12, 2013 7:48 am

OK - thank you for that - appreciated.

Cheers, Chris.


Who is online

Users browsing this forum: No registered users and 65 guests