~/talk

Scale Elasticsearch for Your Java Applications. Philipp Krenn. Java Fest 2020 Online

Talkat Java Fest 2020 · on Saturday, 2020-03-21· [databases, java]
slides:none on file

Shows a small Java injector that uses the Elasticsearch high‑level REST client and proves concrete wins: switching from single-document HTTP calls to bulk requests cuts 1,000 inserts from ~49s to ~11s (and can reach ~4s with tuning). Demonstrates changing the refresh interval for large imports, why default sharding moved to one primary+one replica, shard sizing guidance (avoid tiny shards, aim >10–50GB, limit shards per GB of heap), and replacing deep pagination with search_after or scroll. Uses Kibana monitoring and Rally for benchmarks.

AI-written summary · about

  1. 0:00Intro
  2. 0:12for Your Java Applications
  3. 1:38Terminology Cluster, Node, Index, Shard
  4. 5:02Disclaimer This is not a benchmark
  5. 13:40Stack Monitoring
  6. 20:43Optimal Bulk Size?
  7. 22:37index.refresh_interval Default is
  8. 28:08Load Distribution
  9. 30:27Topology Sniffing Cloud Proxy
  10. 31:18Distribution Round Robin Adaptive Replica Selection for searches
  11. 33:34Index Patterns Static vs Time-Based
  12. 39:23Pagination
  13. 42:37For Your Protection index.max_result_window: 10000
  14. 47:23Rally Macrobenchmarking Framework for Elasticsearch
  15. 48:02Nightly Benchmarks
~/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.