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

Why You Should Build Your Next Application in Erlang

Why You Should Build Your Next Application in Erlang

Social networks, cloud computing, messaging systems and multi-player gaming platforms, to mention but a few, share requirements such as distribution transparency, massive concurrency, scalability, hot-code upgrades and fault-tolerance. These are all peculiarities natively provided by Erlang/OTP. In this talk we will explain how Erlang/OTP can help you building applications for the next decade - Maya permitting -. A hands-on tutorial about Distributed Erlang will conclude the session.
Copyright 2012 - Erlang Solutions Ltd. (http://www.erlang-solutions.com)

Roberto Aloi

March 24, 2012
Tweet

More Decks by Roberto Aloi

Other Decks in Technology

Transcript

  1. Do you need a distributed system? Do you need a

    scalable system? Do you need a reliable system? Do you need a fault-tolerant system? Do you need a massively concurrent system? Do you need a distributed system? Do you need a scalable system? Do you need a reliable system? Do you need a fault-tolerant system? Do distributed system? Do you need a scalable system? Do you need a reliable system? Do you need a fault-tolerant system? Do you need a massively NEED ERLANG? DO YOU
  2. ERLANG IS NOT DIFFICULT TO LEARN - O N C

    E Y O U G E T PA S T T H E I N I T I A L H E A D A C H E - YOU WON’T BE ABLE TO LIVE WITHOUT IT
  3. ERLANG MAKES YOUR LIFE EASIER - N O T T

    H E O T H E R WAY A R O U N D - HAVE A LOOK TO OTP
  4. ERLANG IS ALSO FUN - B U T D O

    N ’ T T E L L Y O U R B O S S - OR YOU’LL GET PAID LESS
  5. AND SEND A MESSAGE TO IT Pid2 Pid1 Pid2 !

    {self(),msg} Message Passing
  6. AND SEND A MESSAGE TO IT Pid2 Pid1 Pid2 !

    {self(),msg} {Pid1,msg} Message Passing
  7. Let It Crash convert(Day) -> case Day of monday ->

    1; tuesday -> 2; wednesday -> 3; thursday -> 4; friday -> 5; saturday -> 6; sunday -> 7; Other -> {error, unknown_day} end.
  8. OTP

  9. OTP Servers Finite State Machines Event Handlers Supervisors Applications Less

    Code Less Bugs More Solid Code More Tested Code More Free Time
  10. erlang.org github.com/erlang/otp erlang-solutions.com www.learnyousomeerlang.org elearning.erlang-solutions.com Erlang Programming Erlang and OTP

    in Action Official Home Page Sources Binary Packages, News, Events Best Online Tutorial Commercial e-learning solution Best book about basics Best book about OTP