Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Elasticsearch performance tips

653 views

Published on

Some essential Elasticsearch Performance Tips I talked about at the Munich Search Meetup

Published in: Software
  • Be the first to comment

Elasticsearch performance tips

  1. 1. codecentric AG 17.12.2014 Seite 1 Essential Elasticsearch Performance Tips
  2. 2. codecentric AG BULKING 17.12.2014 Seite 2 Why doesn‘t anyone bulk?!?
  3. 3. codecentric AG INDEXING SPEED 17.12.2014 Seite 3 Change your configuration during important events
  4. 4. codecentric AG MAPPING 17.12.2014 Seite 4 Y‘all need to think more abour your mappings
  5. 5. codecentric AG FILTERS AND CACHES 17.12.2014 Seite 5 Filters instead of Queries as often as possible
  6. 6. codecentric AG FILTERS ORDERING 17.12.2014 Seite 6 What comes first? The Chicken or the Egg? The Query or the Filter?
  7. 7. codecentric AG QUERIES 17.12.2014 Seite 7 So much room for optimizations!
  8. 8. codecentric AG AGGREGATIONS 17.12.2014 Seite 8 Aggregations are expensive!
  9. 9. codecentric AG DOC VALUES 17.12.2014 Seite 9 Store field data on disk instead of on the heap
  10. 10. codecentric AG UPDATES 17.12.2014 Seite 10 There‘s no such thing as an update
  11. 11. codecentric AG IDENTIFIER 17.12.2014 Seite 11 Use friendly IDs !
  12. 12. codecentric AG SHARDING 17.12.2014 Seite 12 Choose a sharding strategy!
  13. 13. codecentric AG ROUTING 17.12.2014 Seite 13 Avoid distibuted searches by routing
  14. 14. codecentric AG CLIENTS 17.12.2014 Seite 14 Use the right client!
  15. 15. codecentric AG SERVER CONFIGURATION 17.12.2014 Seite 15 There are plenty of essential configurations
  16. 16. codecentric AG FINAL WORDS 17.12.2014 Seite 16 Tuning: Measure, don‘t guess!
  17. 17. codecentric AG FINAL WORDS 17.12.2014 Seite 17 One change at a time!
  18. 18. codecentric AG CHRISTIAN UHL CHRISTIAN.UHL@CODECENTRIC.DE @CHRISUHLCC HTTPS://BLOG.CODECENTRIC.DE/ QUESTIONS? 17.12.2014 Seite 18
  19. 19. codecentric AG • HTTPS://WWW.FLICKR.COM/PHOTOS/TURATTI/6322618398/ • HTTPS://WWW.FLICKR.COM/PHOTOS/BILLDPIX/15294289120/ • HTTPS://WWW.FLICKR.COM/PHOTOS/63541243@N04/14214457280/ • HTTPS://WWW.FLICKR.COM/PHOTOS/AMORTIZE/527435776/ • HTTPS://WWW.FLICKR.COM/PHOTOS/JAREDZIMMERMAN/1392753867/ • HTTPS://WWW.FLICKR.COM/PHOTOS/JONSEIDMAN1988/6155279037/ • HTTPS://WWW.FLICKR.COM/PHOTOS/FORNAL/424716302/ • HTTPS://WWW.FLICKR.COM/PHOTOS/EDYSON/107902861 • HTTPS://WWW.FLICKR.COM/PHOTOS/JMCPHOTOS/2131206015/ • HTTPS://WWW.FLICKR.COM/PHOTOS/AUTOWITCH/4271929/ • HTTPS://WWW.FLICKR.COM/PHOTOS/MRMUSKRAT/3637703614/ • HTTPS://WWW.FLICKR.COM/PHOTOS/PHOTOLIBRARIAN/7578139852/ BILDNACHWEISE 17.12.2014 Seite 19

×