~/talk

Blazing-Fast Serverless MapReduce Indexer for Apache Solr

Talkat Berlin Buzzwords 2024 · 2024-06-09..06-11· [serverless]
links:none on file
slides:none on file

An indexer built as a serverless MapReduce pipeline uses AWS Lambda + Step Functions to fetch SQL query shards, write per-song intermediate files to S3, run parallel mappers that append to per-key files guarded by a DynamoDB lock table, and push batched updates to Apache Solr via SQS. It replaces 150 cumulative hours on three servers with a daily run under five hours, cutting runtime about 30x and cost to roughly 10% of the previous setup.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:02Speaker background and company overview
  3. 2:32Problem of indexing relational data
  4. 4:00Trivial solutions and their flaws
  5. 5:28MapReduce pattern explained
  6. 6:32Word count example with MapReduce
  7. 9:03Applying MapReduce to database records
  8. 13:01AWS serverless implementation overview
  9. 15:14Fetcher component details
  10. 16:42Splitting data into multiple files
  11. 18:11Map function and concurrent file access
  12. 20:21Locking mechanism with DynamoDB
  13. 21:45Reducer function and SQS batching
  14. 23:56Production results and improvements
  15. 25:24Summary and Q&A
~/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.