Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Erlang: TL;DR
1. Erlang
TL;DR edition for busy
ruby peoples
A short presentation :D
• with bullet points :(
and no lolcats :(
in a default keynote theme :(
by Vaughan Allan :D
http://github.com/vorn
@vornstar
2.
3. Erlang in 2 minutes
• Functional
• Built for reliability (nine nines)
• Some nice adjectives include:
• concurrent, distributed, “soft real-time”
• fault tolerant
• scalable (cloud-scale, web-scale)
• green (sort of)
4. Erlang in 2 minutes
• Gotchas include:
• It looks a lot like Prolog
• Immutability
• No “loops” (use tail recursion, or map funs)
• Strings are weird-ish
5. OTP in 5 minutes
• It’s an application framework
• Release handling (sort of), hot code-swapping
• Supervision Tree
• Patterns (behaviours)
9. WTFBRO this ain’t Ruby
• You might be using it already (hello, CouchDB?)
• Integration options:
• Ruby-Erlang bridge (erlectricity, experimental)
• ZeroMQ
• DIY (REST/socket APIs are easy *)
• It runs on Heroku **
• https://github.com/vorn/ChicagoBoss-on-Heroku
10. Build Something
• rebar - a build tool (on steroids)
• ChicagoBoss - (Rails-like MVC Framework)
• for immediate gratification
• webmachine by Basho (a “REST Toolkit”)
• Emacs! (?)
12. Read Something
“Don't
drink too
much
• http://learnyousomeerlang.com Kool-Aid”
• “Programming Erlang” (pragprog.com)
• “Erlang Programming” (O’Reilly) - good for learning OTP
• “Erlang and OTP in Action” (Manning)
• “7 Languages in 7 weeks” (pragprog.com)
13. Erlang Pizzafest
• Every 2mths @ RocketBoots
• Next meetup Tues 5th June
• http://bit.ly/erl_syd
• No experience necessary (pizza xp assumed)