Observing Elixir in Production
Mark Ericksen introduces a method to use Fly networking and Observer, a WxWidgets graphical interface for observing running Erlang nodes, to monitor Elixir applications in production. By setting up a secure WireGuard tunnel between the local machine and the servers on Fly, developers can run Observer locally and connect to remote Elixir nodes. This allows them to inspect individual processes or even kill them if necessary. The process is demonstrated using a multi-region Tic-Tac-Toe game created with Elixir. By observing the application in production, developers can identify issues, test system recovery from unexpected failures, and improve user experience during crash recovery.
Company
Fly.io
Date published
June 14, 2021
Author(s)
Mark Ericksen
Word count
934
Language
English
Hacker News points
None found.