~/talk

Batch Job / Queue Processing Without a Message Broker

Talkat DevConf.CZ 2025 · 2025-06-12..06-14· [databases]
slides:none on file

Tolgee replaces external brokers by queuing jobs in PostgreSQL and using row locks to avoid double-processing, running workers inside the application (Kotlin/Spring Boot) and coordinating nodes with Redis pub/sub and caching. Jobs run inside a transaction with savepoints so failures update job state safely; a blocking queue abstracts local vs Redis-backed queues. Measured throughput is about 3,000 jobs/s without Redis and 2,000 jobs/s with Redis, and the system handles chunking, retries and websocket progress updates.

AI-written summary · about

  1. 0:00Introduction
  2. 1:27Batch jobs in TLG
  3. 4:48No Kafka or RabbitMQ
  4. 8:25TLG deployment options
  5. 10:17Redis in solution
  6. 12:50Demo setup and Spring Boot
  7. 13:55Job execution service
  8. 16:53Blocking queue and Redis Q
  9. 17:35Consistency with FOR UPDATE SKIP LOCKED
  10. 19:24Testing job locking
  11. 20:08Performance comparison
  12. 21:54Job status with Redis PubSub
  13. 23:19Resources and closing
  14. 24:33Q&A
  15. 26:22Q&A: Implementation
~/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.