Ddsv5 VMs Sped up Indexing Over Both Dsv3 and Ddsv4 VMs with Previous-Generation Processors
Microsoft Azure Kubernetes Services (AKS) offers flexibility and agility to organizations running Elasticsearch workloads on Kubernetes clusters in the cloud. Which VM type offers the best level of performance for these workloads? To find out, we compared the Elasticsearch performance of three instance types in a Kubernetes containerized environment:
- Microsoft Azure Ddsv5 VMs with 3rd Gen Intel® Xeon® Scalable processors
- Microsoft Azure Ddsv4 VMs with 2nd Gen Intel® Xeon® Scalable processors
- Microsoft Azure Dsv3 VMs with Intel Xeon E5-2673 v4 processors
To quantify Elasticsearch performance, we used the Rally 2.3.0 benchmark tool, which acts as a load generator and records and stores telemetry metrics in Elasticsearch during search workloads to find performance problems for comparison across clusters. Using two datasets from Rally, nyc_taxis (a transport analytics dataset) and http_logs (a Web services dataset), we found that Azure Ddsv5 VMs with 3rd Gen Intel® Xeon® Scalable processors indexed up to 2.49 times as many documents per second with as much as 69 percent shorter search times vs. an Azure Dsv3 VM cluster. Additionally, the Ddsv5 VMs outperformed the Ddsv4 VMs by up to 30 percent in indexing throughput with 29 percent shorter search times. For more information about Rally and the workloads we used, see below.
This shows that across multiple Elasticsearch workloads, selecting Azure Ddsv5 VMs with the latest processor technology can offer better Azure Kubernetes Services performance than VMs built on two previous processor generations. By indexing content faster, organizations get the data they need in less time to make vital business decisions.
Index Data Faster to Gain Quicker Insights with Azure Ddsv5 VMs
While organizations use Elasticsearch for many use cases, including application performance monitoring, application searches, and business analytics, we compared the indexing throughput for a transport analytics workload and a typical Web services workload (see Figure 1).
Using the nyc_taxis dataset, which stores 2015 NYC taxi ride data and runs search scenarios, Ddsv4 VMs with 2nd Gen Intel® Xeon® Scalable processors indexed 53 percent more documents/second (docs/s) than the Dsv3 VM cluster. Azure Ddsv5 VMs with 3rd Gen Intel® Xeon® Scalable processors improved performance even more, offering 91 percent more docs/s than the Dsv3 VMs.
On the http_logs dataset, which uses example HTTP server log data and runs search scenarios, the VM types again showed similar performance scaling over the Dsv3 VMs. Azure Ddsv4 VMs had 92 percent more throughput, while Ddsv5 VMs enabled by 3rd Gen Intel® Xeon® Scalable processors had 2.49 times as much throughput, for significantly faster indexing.
Keep Search Times Down with Azure Ddsv5 VMs
The Rally benchmark also captured search latency while running Elasticsearch workloads. Shorter search times mean that organizations don’t have to wait as long to gain insights from their data. Figure 2 compares the normalized search latency the VMs experienced for both the nyc_taxis and http_logs datasets. Ddsv4 VMs with 2nd Gen Intel® Xeon® Scalable processors reduced search latency by 33 percent and 44 percent, respectively. The latest Ddsv5 VMs with 3rd Gen Intel® Xeon® Scalable processors shrunk wait times even further, reducing search latency by 56 percent and 69 percent, respectively, compared to the Dsv3 VMs.
No matter your particular use case for Elasticsearch, indexing more content per second can lead to quicker insights. Tests show that selecting Microsoft Azure Ddsv5 VMs featuring 3rd Gen Intel® Xeon® Scalable processors to run Elasticsearch on Kubernetes clusters can improve indexing throughput and search times for multiple use cases.
If the cloud instance type you choose can index more data in less time for faster data insights, it may also reduce the number of instances you need to purchase, potentially improving your operating costs.
To begin running your Elasticsearch workloads on Microsoft Azure Ddsv5 VMs, visit https://docs.microsoft.com/en-us/azure/virtual-machines/ddv5-ddsv5-series.
To learn more about Elastic, visit https://www.elastic.co/.
To use the Rally benchmark tool, visit https://github.com/elastic/rally. You can find both datasets used in testing at https://github.com/elastic/rally-tracks/tree/master/http_logs and https://github.com/elastic/rally-tracks/tree/master/nyc_taxis.