Digital Agencies

Leading digital agencies need to keep up to date with the latest trends and tool sets to ensure your clients get the best results can be a challenge when you are busy managing the day to day demand from clients.

Using 51Degrees you can adapt online content to maximise the potential of online conversions and steer the end user purchase path.

Plugin us into yours and your clients’ web platforms and see a more granular level of detail about the devices used for clients site.

CMS

51Degrees provides the fastest and most accurate device information, including 217 device properties such as retail price, vendor, device age, screen size and more to allow more granular analytics and better content optimisation

APIs

Property Dictionary

Browse the full list of properties available in 51Degrees device detection solutions. Find out what values are supported in the Lite, Premium and Enterprise data sets, including full descriptions and advice on how they can be used.

Mobile Emulators

Blog

Published on Monday, October 2, 2017

51Degrees: More Than Three Times Faster!

51Degrees compares performance of our enhanced algorithm on three different commodity hardware platforms.

51Degrees is regularly evaluated against competitors DeviceAtlas and WURFL from ScientiaMobile for performance, accuracy and memory consumption. Plenty of resources to help engineers evaluating device detection solutions are available on this web site including migration guides plus API benchmarks. This blog post builds on the previous performance blog from 2016 with the same commodity hardware; 1) a Raspberry Pi, 2) a low-end desktop PC and 3) a high-end multi CPU server, but using our enhanced algorithm.

Enhanced Algorithm

In September 2017 we announced the launch of our new enhanced device detection algorithm. Delivering performance improvements with faster detections per second and reduced memory requirements compared to other high-performance algorithms. The enhanced algorithm offers better than 99.9% matching accuracy, 114 MB fully initialised main memory requirement and a caching overhead as low as 1MB of memory. This amounts to a marked increase in performance, as detailed further in our press release. The enhancement is easy to deploy for developers as it uses the same interface as our existing APIs. If you would like to find out more, please Contact Us.

Performance Matters

Device detection only provides benefits if it's so fast there is no noticeable overhead. It needs to be accurate to correctly identify the device, browser and operating system. As such the number of device combinations (device, operating system and browser version pairings) is an important measure of how comprehensive a device detection solution is. However, the larger the number of device combinations the larger the data file and therefore the more data needs to be searched in a finite period of time. This can lead to large demands on computer hardware in computation and sufficient memory. This blog post examines the performance characteristics of 51Degrees' enhanced algorithm which overcomes these issues.

The Test

The performance test was carried out using 3 commodity hardware platforms, the same ones as before;

The source data used on all three platforms is a random sample of 1 million User-Agents representative of real world data, a sample of 10 million User-Agents from the previous test was also used in benchmarking platform three, the high-performance server. In all cases, the source data was loaded into memory so as to negate any variables caused by disk caching.

The Raspberry Pi was tested with 1 million User-Agents and the Enterprise data file. During the previous round of tests, we found an issue due to memory constraints where the Raspberry Pi's one gigabyte of RAM fell just short of the roughly 1.2 gigabytes needed to run the full tests using the Enterprise Data File and the old algorithm without the new enhancements. As the enhanced algorithm is very memory efficient, we had no trouble running the full test.

As Platform 3 has a significantly large amount of memory, we also tested using the same sample of 10 million User-Agents from the previous round of performance tests in November 2016. The difference in performance between 1 and 10 million User-Agents is characterised by the sample data itself, shorter User-Agent strings can be faster to evaluate. A larger number of short User-Agents strings, usually those of bots and crawlers, could bring down the average time to evaluate the source data.

Comparison

Detections per Second for each platform

Detections Per Dollar

Detections Per Dollar Chart

Again, despite the performance difference shown in the previous graph, the chart shows that the lowest cost device is the most efficient in terms of computing power.

Conclusion

In the previous round of tests, we noticed that the Raspberry Pi has issues with thermal throttling when running high intensity workloads. While we did find a cooling solution for the Pi, this setup is still unlikely to be used in a production environment.

Raspberry Pi cooling solution

Platform 2, a low-end desktop PC, has shown that even with ageing hardware (the cpu is 9 years old) you can still achieve decent results. Testing has shown that, compared to our previous run of tests in November, the enhancements have increased detections per seconds around 3 times on average. This means that the overhead of integrating 51Degrees device detection libraries into your application will be even lower than before.

Performance increase.

For businesses like Adtech companies processing 10s of billions of advertising events per day, this enhancement will translate into cost savings and increased profits through a large increase in capacity and efficiency improvements.