Introducing RIG – the Reactive Interaction Gateway
summary
RIG is a stateful gateway that holds frontend connections, consumes Kafka topics and routes events to connected devices across a cluster, enabling instant logout via a JWT blacklist and tearing down connections on blacklist propagation. It uses Phoenix Presence as an in-memory CRDT presence to track which user devices live on which node, exposes WebSocket, Server-Sent Events and long-poll fallbacks, requires no external database, is written in Elixir on Erlang/OTP, and reached a 1.0 feature set in under 600 lines of code.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 8:00Why Erlang VM
- 13:13What is leaky
- 13:29What is alex
- 14:57Phoenix Framework
- 16:26Summary
- 17:30Roadmap
- 20:05Questions
related talks
53mRSocket - future Reactive Application Protocol?
01h 22mreactive James Roper 4 21 16
58mRSocket – new Reactive cross-network Protocol
42mMessage passing for actors and humans with Raxx
40mReactive message driven service 2 service communication with RSocket
42mRSocket - Future Reactive Application Protocol
55mThe Reactive Revolution
30mRRR - React, RethinkDB, Raspberry Pi
