Lucene Server: From Erlang to Java and Back Again
summary
Builds an OTP application that runs Lucene inside a Java node and talks to it from Erlang via JInterface, shipping a Java gen_server-like behavior so Erlang can call into Lucene with normal gen_server calls. Adds geolocation fields and the ability to invoke Erlang functions from Lucene queries. Benchmarks show large binaries round-trip under 5 ms but lists of terms incur heavy encode/decode overhead; peak deployments hit ~1,000 queries/sec. Source and extensions are on GitHub.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 2:08Background
- 4:54Scene Service
- 6:38Pagination
- 7:25Goals
- 7:59Supervised
- 8:25Lossing
- 9:54Java Program
- 10:30LuceneServer
- 11:02LuceneServer Java
- 13:22LuceneServer Interface
- 15:52Lucene Extensions
- 16:12Lucene Query Extensions
- 17:27Handle Call Function
- 19:43Performance
- 24:21Encoding
- 25:23Future
related talks
37mShipping Lucene 10.0, 25 years in the making
41mApache Lucene and Java 9+ #bbuzz
01h 02mJava + LLMs (Build LLM Apps in Java with JakartaEE)
33mCrushing Application Latency with Vert.x
45mMy Journey with Erlang
57mPure Java Enterprise AI/LLM Integration (EAI 2.0)
51mReal World Lean Java Practices, Patterns, Hacks, and Workarounds
47mGenesis and Use of the New Java Client for Elasticsearch
