cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
269
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Gaurav Sandhir on 04-02-2009 05:13:36 PM
While using these queries, if a developer wants to find out the userid associated with multiple device (hypothetically speaking maybe 1000's of devices ), how long will it approximately take the API to return the result to the user ? Similarly if a user wants to know the device associated with multiple user id (hypothetically speaking huge number of user ids say 100's), how long will it take the API to return the result to the user.

The answers to these questions will help us determine whether we expose these APIs as synchronous or asynchronous methods in our Application.

Thanks,
Gaurav

Subject: Re: User and Device Query
Replied by: David Staudt on 04-02-2009 08:39:10 PM
There are no published performance numbers on this that I'm aware of. You may be misunderstanding the function of the Extension Mobility APIs however:

  • User Query returns the CM user currently logged into the specified device. This should only be one record
  • Device query returns the devices(s) that the specified user is currently logged into. This could be more than one, but in reality I wouldn't expect it to be more than a handful

Subject: Re: User and Device Query
Replied by: Gaurav Sandhir on 04-02-2009 09:10:54 PM
Thanks for the reply.

If I understand correctly, the UserQuery API will accept multiple devices in the request, so it is possible that an application may send a bulk request for multiple devices. Similiarly an application may chose to do a device query for multiple users. Does that sound correct ?

Thanks,
Gaurav

Subject: RE: Re: User and Device Query
Replied by: Michel Shuqair on 22-01-2010 02:00:15 PM
Yes the assumption about multiple id's in a batch is correct.
 
The performance is dependant on your network, db size and server capacity. So the only way to find out for your customer is to test it in his network. Write a script that runs 100 requests and measure the time. Based on the outcome decide to wrap it as sync or async.
 
 
 
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links