Coder Social home page Coder Social logo

whiterookpl / elixir-fire-brigade-workshop Goto Github PK

View Code? Open in Web Editor NEW
17.0 5.0 12.0 9.9 MB

Workshop "Join the Elixir Fire Brigade - Level-up Your Elixir Debugging Skills" (ElixirConf US 2017)

License: Other

Elixir 90.42% Shell 1.23% JavaScript 1.67% CSS 0.02% HTML 0.80% Makefile 1.70% C 4.16%
elixir erlang beam tracing otp debugging workshop workshop-materials

elixir-fire-brigade-workshop's Introduction

Debugging Elixir in Production - Workshop

Join the Elixir Fire Brigade - Level-up Your Elixir Debugging Skills

Both Erlang and Elixir are praised for their "debuggability". It's true - there's a lot of tools and techniques that can be used, even on live, production systems. Not only that - they are easily accessible and freely usable. Together we're going to explore them in depth.

We're going to learn what exactly happens when you call a GenServer, how to "spy" on processes and introspection the VM internals. We're going to work with an example application - a basic key-value store built on top of plug, prepare a release for it and deploy it to production. Unfortunately, after the deployment we're going to discover some errors, we didn't anticipate. Fortunately, with the knowledge we gained earlier, we'll be able to diagnose and fix them - live in production!

Attendees should be familiar with syntax and basic features of either Elixir or Erlang. It is advised that all attendees complete the "Mix and OTP tutorial" before the workshop. Link is here: http://elixir-lang.org/getting-started/mix-otp/introduction-to-mix.html

Participants should have Elixir >= 1.5 and Erlang >= 19.3 locally installed, together with their favourite editor.

Editions

Prerequisites

  • Erlang - verified with 19.3 and above.
  • Elixir - verified with 1.5 and above.
  • Phoenix - verified with 1.3 and above.
  • Absinthe - verified with 1.4 and above.

For managing multiple Erlang and Elixir versions we recommend asdf.

How to use this workshop?

Moving through bugs

Explanation why and how to debug and narrow it down is inside materials.

Helpers

Feel free to use prepared helpers and scripts that will ease your pain when using this repository (please keep in mind that scripts requires curl, jq and coreutils). You will find them either inside application directory or inside commands.md file inside helpers directory.

Materials

If you were on one of editions mentioned above you should receive materials after the workshop in a dedicated email from us. Unfortunately rest of people will have to wait - stay tuned. ๐Ÿ˜‰

Authors

elixir-fire-brigade-workshop's People

Contributors

afronski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.