Hi - me again, but testing the local WURFL vs the Cloud - sorry
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.
Advice please - on Cloud API performance techniques
Advice please - on Cloud API performance techniques
- Attachments
-
- Screen Shot 2013-10-11 at 11.00.44.png (17.14 KiB) Viewed 6050 times
Re: Advice please - on Cloud API performance techniques
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.
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!
Steve Kamerman
ScientiaMobile
Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!
Re: Advice please - on Cloud API performance techniques
OK - thank you for that - appreciated.
Cheers, Chris.
Cheers, Chris.
Who is online
Users browsing this forum: No registered users and 65 guests