Enterprise API
The DeviceAtlas Enterprise API is a high performance interface to the DeviceAtlas JSON data file, which is designed to have minimal footprint in the server environment while delivering lightning fast recognition of visiting browsers.
International Patents are filed on the technology, which provide recognition of over 5M user agent string variations. The solution is highly extensible since additional rules can be added to address new variations in user agent model, without requiring existing deployments to be changed.
The API is on a slow evolution cycle, with the JSON structure on a faster evolution cycle, and the JSON data content on a daily update cycle. In this way, when integrated, minimal ongoing effort is required to manage a DeviceAtlas deployment. This is enhanced through the use of centralized data management, which obviates the need to maintain local patch files.
Due to their compact nature, the Enterprise API and JSON file are ideal for incorporating into other products and services, to bring full device awareness to them.
Enterprise API performance
The below results are based on tests with a single thread, and no caching, using a sample of 950,500 user agent strings extracted from real world goMobi log files. Test hardware was 3GHz Intel Core 2 Duo with 4GB RAM running Ubuntu Linux for all APIs except .NET which was run under Windows 7.
| API | Recognitions per second |
|---|---|
| PHP | 3,100 |
| Ruby | 3,200 |
| Python | 4,400 |
| .NET | 26,700 |
| Java | 50,100 |
| C++ | 1,600,000 (quad core, multi-threaded) |
Cloud APIs (Client APIs)
DeviceAtlas Cloud APIs are the easiest way to incorporate the power of DeviceAtlas into your website or application. The Cloud APIs allow you to drop code into your application or website and quickly add mobile device knowledge to it. Once this one step integration is complete no further effort is required to stay up to date—DeviceAtlas Cloud seemlessly updates its data in real time with the freshest information available from the cloud. This approach means that no further effort is required to ensure that your application is always aware of the latest phones and tablets released to the market.
The DeviceAtlas Cloud APIs are designed to be extremely easy to integrate. In most cases the only integration step required is to drop the API code into your application folder and enter the license key that we email to you. Once this is done you will then have access to DeviceAtlas data for every device within your application or site. Multiple language versions are available to ensure that most programming environments are covered: PHP, Java, .net, Python. In each case a sample program is supplied to show how to use the API.
DeviceAtlas Cloud APIs are fast and light—we use real-time requests to our cloud servers to fetch data. Depending on the language of the API, different caching mechanisms are utilized to ensure that response times are extremely fast. DeviceAtlas Cloud network requests are very compact and will not impact server bandwidth.
Cloud API performance
With a service, performance will vary based on network factors between your deployment and the nearest access point to the service (which is automatically selected). However, the below are guideline figures:
| API type | Speed w/o caching | Speed with caching |
|---|---|---|
| PHP | 3 per second | 2000 per second |
| Python | 3 per second | 2000 per second |
| Java | 3 per second | 2000 per second |