Runtime Modes and Plugins in Erlang | Ulf Wiger | Code BEAM Europe 2022

Conference: Code BEAM Europe 2022

Year: 2022

This video was recorded at Code BEAM Europe 2022 - https://codesync.global/conferences/code-beam-sto-2022/ Runtime Modes and Plugins in Erlang | Ulf Wiger - Erlang Developer ABSTRACT Aeternity Foundation decided to introduce runtime modes (maintenance mode, dev mode, ...) and plugins in the already mature Aeternity Core blockchain system. Drawing on experiences from the old Ericsson AXD 301 system, Ulf introduced `app_ctrl`, a highly configurable application controller extension, and combined it with `setup`, a modular tool for installing and configuring systems. This allowed us to add exciting new functionality to a very stable system. In this talk, we describe some core OTP principles as well as some dirty tricks employed to make things work. OBJECTIVES Highlight OTP principles, describe some core OTP features and introduce new possibilities. AUDIENCE Erlang developers and architects. • Timecodes 00:00 - 00:58 - Intro 00:59 - 03:37 - The Problem 03:38 - 07:06 - AXD 301 - Early Days 07:07 - 10:18 - RCM - Runtime Configuration Manager 10:19 - 14:55 - AXD301 sysInstall 14:56 - 17:08 - Use of Setup in Aeternity 17:09 - 18:28 - app_ctrl in Aeternity 18:29 - 20:01 - app_ctrl Implementation 20:02 - 21:24 - The Big Hack 21:25 - 22:35 - Progression 22:36 - 24:45 - Plugin Configuration 24:46 - 26:21 - TODO • Follow us on social: Twitter: https://twitter.com/CodeBEAMio LinkedIn: https://www.linkedin.com/company/27159258 • Looking for a unique learning experience? Attend the next Code Sync conference near you! See what's coming up at: https://codesync.global • SUBSCRIBE TO OUR CHANNEL https://www.youtube.com/channel/UC47eUBNO8KBH_V8AfowOWOw See what's coming up at: https://codesync.global