$30 off During Our Annual Pro Sale. View Details »

Elixir @ Evercam

Elixir @ Evercam

Slides for the "One project rebuilt 4 times: .NET, then Ruby, then Node ... and now Elixir" talk given on the ElixirConfEU: http://www.elixirconf.eu/elixirconf2015/milos-mosic

Miloš Mošić

April 23, 2015
Tweet

More Decks by Miloš Mošić

Other Decks in Programming

Transcript

  1. View Slide

  2. But Node.js is Web Scale?

    View Slide

  3. Elixir is Utility Scale.

    View Slide

  4. View Slide

  5. View Slide

  6. Tech Before After
    Elixir
    Elixir
    Elixir
    Elixir
    Websockets
    Background Jobs
    Long Requests
    Crash Recovery Upstart
    Pusher
    Sidekiq
    Node.js

    View Slide

  7. defp get_version do
    version = :os.cmd('git describe --always --tags')
    |> List.to_string
    |> String.strip(?\n)
    |> String.split("-")
    case version do
    [tag] -> tag
    [tag, _commits_since_tag, commit] -> "#{tag}-#{commit}"
    end
    end

    View Slide

  8. git checkout {current_commit_sha}
    mix do deps.get, compile, release
    git checkout {new_commit_sha}
    mix do deps.get, compile, release

    View Slide

  9. Good Things / Bad Things

    View Slide

  10. View Slide

  11. github.com/evercam
    github.com/markmeeus/ExEvercam

    View Slide

  12. View Slide