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

Stepping into a new era: injecting Elixir in a Ruby app

Stepping into a new era: injecting Elixir in a Ruby app

Talk I gave at Rome Erlang Factory Lite 2017.

Andrea Leopardi

April 07, 2017
Tweet

More Decks by Andrea Leopardi

Other Decks in Programming

Transcript

  1. ELIXIR
    STEPPING INTO A NEW ERA:
    INJECTING
    ELIXIR
    INTO AN EXISTING SYSTEM

    View full-size slide

  2. @whatyouhide

    View full-size slide

  3. FORZA FOOTBALL

    View full-size slide

  4. INJECTING ELIXIR IS
    WORTH IT*
    (when appropriate)

    View full-size slide

  5. OUR USE CASES
    WHY/WHEN
    HOW

    View full-size slide

  6. OUR
    USE CASES

    View full-size slide

  7. PUSH CARTEL
    VGRABBER
    ODDBALL
    PITCH
    (DATA IMPORT)
    GLUE

    View full-size slide

  8. /
    WHY WHEN
    INJECTION

    View full-size slide

  9. EASIER TO BUILD
    BETTER SYSTEMS

    View full-size slide

  10. PERFORMANCE
    CONCURRENCY, I/O
    ROBUSTNESS
    FAULT TOLERANCE, IMMUTABILITY

    View full-size slide

  11. COMPLEXITY
    IMMUTABILITY, BEHAVIOURS
    RESOURCES
    LESS MEMORY, MORE CONCURRENCY

    View full-size slide

  12. NO
    MAGIC WAND

    View full-size slide

  13. NO
    ONE SIZE FITS all

    View full-size slide

  14. CONCURRENCY
    ISOLATION
    RESILIENCY
    SCALABILITY

    View full-size slide

  15. INJECT
    HOW TO

    View full-size slide

  16. P R E P A R E Y O U R
    SYSTEM

    View full-size slide

  17. SERVICES
    T H E Y ' R E G O O D ™

    View full-size slide

  18. INTERFACES
    THEY SHOULD BE SHARED

    View full-size slide

  19. INTEROP
    ...MEH

    View full-size slide

  20. P R E P A R E Y O U R
    COMPANY

    View full-size slide

  21. HAVE AN ELIXIR MASTER

    View full-size slide

  22. START SMALL
    SHOW SUCCESS

    View full-size slide

  23. OUR USE CASES
    WHY/WHEN
    HOW

    View full-size slide

  24. WHATYOUHIDE
    @

    View full-size slide