- 100 million search queries per day
- Thousands of requests per second
- Latent results being delivered in a user-facing, revenue-generating, e-commerce platform
- Utilize Elasticsearch training and support for efficient, seamless rollout
- Achieve 10x faster query response time
- Lower TCO by reducing capacity requirements up to 5x
Germany-based AutoScout24 is the largest online car market in Europe. In addition to the more than 40,000 European dealers using the site, almost 20 million individuals offer more than 2 million new and used vehicles for sale every year.
AutoScout24's web applications get over a billion page views per month from real browser users, and 4x that number in bot-generated traffic. The site receives about 100 million search queries per day.
"Our main business case is meeting demand with offer," explains Florentin Zorca, Lead Architect Search, AutoScout24. "A very important part is searching for the best offer. This is where good search functionality makes a difference."
"Before Elasticsearch we used Endeca," he recalls. "With peaks measured in thousands of requests per second, latency is the enemy – and we had query latency problems with Endeca. These latency problems forced us to apply a lot of performance tricks, which in turn brought more complexity. This latency was the main reason to switch the search engine to Elasticsearch."
Elasticsearch now powers AutoScout24's classifieds search – one of the company's most important products – and other features, such as car dealer search. All new AutoScout24 products requiring search functionality use Elasticseach and the company's flexible index building pipeline.
AutoScout24's experience with Elasticsearch support is great. Our issues were quickly solved by very helpful Elasticsearch contacts, and the response time is short.
By using Elasticsearch's recommended rollout methodology – training, development support, and production support – AutoScout24 achieved an extremely smooth deployment and has had exceptional performance.
"The whole rollout was almost completely incident-free and ran even better than expected," Zorca states. "I found Elasticsearch on-site training to be a very useful start. It provided an extensive overview of the Elasticsearch capabilities."
"During the Elasticsearch migration project, we often used Elasticsearch development support with success," Zorca adds. "We still use production support for the live platform – mostly for new features, as we rarely have issues with Elasticsearch. AutoScout24's experience with Elasticsearch support is great. Our issues were quickly solved by very helpful Elasticsearch contacts, and the response time is short."
"Latency of query response time was the main reason to migrate to Elasticsearch," Zorca confirms. "Before Elasticsearch, we had an average of 200 milliseconds per query. Elasticsearch responds at least ten times faster for the same data and functionally-equivalent queries."
Indexing speed is another important advantage AutoScout24 gained from Elasticsearch. AutoScout24 indexes around 2.2 million documents for the classifieds search which represents one of our main Elasticsearch use cases. Around one million updates to the classifieds happen daily at AutoScout24, and some classified ads are updated multiple times a day. AutoScout24 registers daily high peaks of 12,000 updated records per minute in Elasticsearch.
"All of the database updates eventually land into an Elasticsearch index," Zorca explains. "We capture the database changes and update the Elasticsearch index every two minutes. We also build a whole index from scratch every time we release changes to the index for new product features at AutoScout24. Updating the index runs smoothly on our installation, and Elasticsearch has no problem coping with our update volume and frequency."
Compared with the previous Endeca-based solution, AutoScout24 has reduced the number of virtual machines needed to handle their search queries by a third, the number of dedicated CPU cores by 5x, and the reserved memory by 6x. With the current setup, they still maintain capacity for more than 5x the current peak traffic.
"By using Elasticsearch for our main search functionality, we got the performance we needed and enough capacity for steep traffic growth," Zorca says. "In addition, Elasticsearch enabled us to cut costs, simplify the architecture, speed up the time-to-market, and even enable new search and analytics products.
"Hard figures show reduced costs with Elasticsearch, due to lack of license costs and reduced usage of computer resources," Zorca continues. "With a capacity largely exceeding our current peaks, we do not need to plan for additional solution costs in the near future."
Hard figures show reduced costs with Elasticsearch, due to lack of license costs and reduced usage of computer resources. With a capacity largely exceeding our current peaks, we do not need to plan for additional solution costs in the near future.
With its low search latency, Elasticsearch renders the earlier complex performance optimizations obsolete, further simplifying the overall solution architecture.
For the migration from Endeca to Elasticsearch, AutoScout24 focused on automating and speeding up the release process. They now have a release pipeline to roll out a new Elasticsearch index anytime and, if needed, multiple times a day.
"We did everything to ensure a reliable, deterministic, automated, and flexible release pipeline for Elasticsearch indices," Zorca says. "We benefit from the automated release with each change rollout and we have successfully reused this pipeline for various projects. Elasticsearch helps with easy installation and an excellent REST API, which every developer quickly finds familiar."
"With its easy setup, quick document indexing and automatic cluster management, Elasticsearch simplifies the system architecture of the AutoScout24 search funnel. With its low search latency, Elasticsearch renders the earlier complex performance optimizations obsolete, further simplifying the overall solution architecture."
"The greatest advantage Elasticsearch has over the rest of the search engines is developer friendliness", according to Zorca. "Every developer at AutoScout24 can quickly download, install, and interact with Elasticsearch."
"Being able to quickly set up an Elasticsearch cluster and release changes and new features provide big time savings," says Zorca. "Additionally, with Elasticsearch we now have the possibility to create new products based on more advanced Elasticsearch features, such as free text analysis, the percolator, analytics, and scoring functionality."