~/talk

Elasticsearch Do's, Don'ts and Pro-Tips

Talkat NDC London 2017 · 2017-01-16..01-20· [databases]
slides:none on file

Ransomware is wiping publicly reachable Elasticsearch clusters — about ~5,000 exposed clusters are known — so lock down network.host, disable HTTP on master/data nodes, put Kibana behind VPN or auth, and disable dynamic scripting on versions <5. Use the snapshot API and schedule snapshot every 5–10 minutes for cheap recovery; use reindex/shrink/rollover APIs in ES5 for maintenance. Aim for shard sizes near 1M docs / 5–10GB, run exactly three master-eligible nodes, avoid deep paging and use search_after or scroll.

AI-written summary · about

  1. 0:00Intro
  2. 1:19Agenda
  3. 4:55Protecting your cluster
  4. 11:18Index Management Patterns
  5. 17:32Elasticsearch 2 x 5.0
  6. 18:30Document oriented design
  7. 25:50Document-oriented design
  8. 27:15Query-based design
  9. 28:10Console
  10. 28:52Query latency
  11. 31:56Design for efficient queries
  12. 34:18Deep paging
  13. 42:05Don't use NGrams for search
  14. 44:55Query explanation
  15. 46:44Named queries
  16. 47:25Mappings
  17. 50:03Do you really need types?
  18. 51:48Cluster management
  19. 53:34Re-balancing is your enemy
  20. 55:06Optimal shard size
  21. 56:30Debugging tools
  22. 57:31Cluster topology
  23. 59:36Geographic distribution
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.