O'Reilly logo

Elasticsearch in Action by Matthew Lee Hinman, Roy Russo, Radu Gheorghe

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Improving performance

This chapter covers

  • Bulk, multiget, and multisearch APIs
  • Refresh, flush, merge, and store
  • Filter caches and tuning filters
  • Tuning scripts
  • Query warmers
  • Balancing JVM heap size and OS caches

Elasticsearch is commonly referred to as fast when it comes to indexing, searching, and extracting statistics through aggregations. Fast is a vague concept, making the “How fast?” question inevitable. As with everything, “how fast” depends on the particular use case, hardware, and configuration.

In this chapter, our aim is to show you the best practices for configuring Elasticsearch so you can make it perform well for your use case. In every situation, you need to trade something for speed, so you need to pick your battles: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required