Transactional actors with Eclipse Vert.x
summary
Shows how Narayana-based Software Transactional Memory plugs into Eclipse Vert.x to give volatile, persistent and nested transactions for actor-style components. Demonstration wires a theater booking example to a Vert.x HTTP endpoint, runs 10 Vert.x instances across 2 JVMs, and fires concurrent requests (100 per stress run) to prove shared state consistency. Code uses STM containers that return transactional proxies, transaction demarcation is explicit, and the demos commit successfully with consistent booking counts under load.
AI-written summary · about
chapters (15)
- 0:00Introduction to talk
- 1:33What the talk covers
- 2:59Actor model overview
- 4:44Transactions and STM basics
- 8:35Software transactional memory
- 13:10Eclipse Vert.x overview
- 17:07Narayana STM implementation
- 23:26Mike's introduction and code walkthrough
- 28:44Integrating STM with Vert.x
- 31:34Demo 1: Vertical scaling with volatile STM
- 39:16Code breakdown of Demo 1
- 42:05Demo 2: Persistent STM across JVMs
- 46:10Demo 3: Stress testing concurrency
- 48:41Demo 4: Composing STM transactions
- 49:27Resources and Q&A start
