20k MRuby devices in production
summary
Replaces a full CRuby runtime with mRuby and runs it for years across 40,000 terminals in production, processing roughly $1B TPV. Implements on-device payments: ISO 8583 and EMV flows, PIN entry and key management, with PCI‑PTS constraints. Uses a custom CLI and func IoT framework to cross‑compile bundles, a binary webstart protocol over persistent TLS/GPRS with inflate/deflate chunks for updates and push, shares code between CRuby and mRuby, uses two threads for UX, and traces memory with mark/free counters.
AI-written summary · about
chapters (11)
- 0:00Intro
- 0:53Brazilian
- 5:50Topics
- 9:45mruby-cli
- 10:57da_funk
- 14:09WebSocket
- 16:28Communication
- 18:09Security and Crypto
- 24:34Memory and leaks
- 26:06Concurrency
- 29:03Open Source TODAY








