Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Giocci Live: Offloading Computation Across the ...

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →

Giocci Live: Offloading Computation Across the Edge in Real Time: Second part How to migrate Supervision Trees

Presentation material of the second part of "Giocci Live: Offloading Computation Across the Edge in Real Time" in the informal space of Code BEAM EU 2026.
Abstact: A step-by-step live demo of Giocci, a resource-permeating computing platform for wide-area distributed systems that uses Zenoh-based pub/sub to move heavy work off underpowered edge devices. You'll watch a server come up from prebuilt Docker images, an Elixir client get built, and then the fun part: a handful of Giocci API calls that offload and migrate functions and whole processes to another machine. Real hardware will be on the table, so you can watch functions and whole processes move between machines live, right in front of you.
https://github.com/biyooon-ex/giocci_platform

Avatar for kikuyuta

kikuyuta

October 22, 2026

More Decks by kikuyuta

Other Decks in Programming

Transcript

  1. Giocci Live Offloading Computation Across the Edge in Real Time

    How to migrate Supervision Trees Kikuchi Yutaka (@kikuyuta)
  2. How to migrate a single GenServer from :afo to :bar

    NODE :afo Connected with Zenoh use GenServer NODE :bar use GenServer start/3 to start a GenServer :code.get_object_code/1 to get the module stop/3 to stop this GenServer terminate/3 returns final (reason, state) KIKUCHI Yutaka CodeBEAM Europe 2026 :code.load_binary/3 to load the module start/3 with the state as the initial value 4
  3. Supervision Tree • Supervision: Parent processes can monitor and restart

    their child processes • Supervision tree: A tree structure formed by the recursion of parent-child relationships • The tree consists of two types of processes ◦ ◦ Supervisor Worker (GenServer, ...) Supervisor GenServer GenServer KIKUCHI Yutaka CodeBEAM Europe 2026 Supervisor GenServer GenServer 5
  4. Demonstration Devices S V LED Matrix KIKUCHI Yutaka CodeBEAM Europe

    2026 Illuminace Sensor Buzzer G S G S Control Logic Timer 6
  5. Count up every second Dynamic LED lighting Buzzer pitch changes

    based on illuminance Launching the source of migration G S Application G S Handoff Application Migrator S V G S G S G S LED Illuminance Buzzer Matrix sensor KIKUCHI Yutaka CodeBEAM Europe 2026 0 G S Control Logic G S Timer LED Illuminace Matrix Sensor Buzzer 7
  6. Preparing the Migration Destination • • G S Application Preparing

    I/O Device Processes Preparing Processes for Migration Application G S G S Handoff G S Migrator S V G S G S G S LED Illuminance Buzzer Matrix Sensor KIKUCHI Yutaka CodeBEAM Europe 2026 0 G S Control Logic G S Timer G S G S G S LED Illumination Buzzer Matrix Sensor 9
  7. Migration Operation (Networking) G S Application G S Application G

    S G S S V G S G S G S LED Illumination Buzzer Matrix Sensor KIKUCHI Yutaka CodeBEAM Europe 2026 3 G S Control Logic G S Timer G S G S G S LED Illumination Buzzer Matrix Sensor 10
  8. Migration Operation (Source) G S Application G S Application G

    S G S S V G S G S G S 3 G S G S G S G S G S 3 LED Illumination Buzzer Matrix Sensor KIKUCHI Yutaka CodeBEAM Europe 2026 Control Logic Timer LED Illumination Buzzer Matrix Sensor 11
  9. Migration Operation: (Destination) G S Application 3 G S Application

    G S G S G S G S LED Illumination Buzzer Matrix Sensor KIKUCHI Yutaka CodeBEAM Europe 2026 Continuous Count-Up Every Second Dynamic LED Lighting Changing Buzzer Pitch Based on Illuminance G S S V G S G S G S LED Illumination Buzzer Matrix Sensor G S G S Control Logic Timer 12
  10. Assumed Network Configuration NAPT/FW NAPT/FW BEAM VM Nerves :afo KIKUCHI

    Yutaka CodeBEAM Europe 2026 :bar BEAM VM Nerves In this demo, the devices are on the same LAN 14
  11. To Do: Put it all together Current status In the

    near future SV Tree migration Giocci Giocci With SV mig. Stay tuned SV Tree Migration pico New Giocci Regular BEAM (e.g. Nerves) KIKUCHI Yutaka CodeBEAM Europe 2026 Zenohexpico AtomVM 17
  12. Thank you! @takasehideki Associate Professor The University of Tokyo •

    https://hex.pm/packages/giocci • https://github.com/biyooon-ex/giocci_platform @kikuyuta Project Professor Kochi University of Technology @ShintaroHosoai KIKUCHI Yutaka CodeBEAM Europe 2026 @matsusato3 Technical Meister SoftBank Corp. @nishiuchikazuma 18