A Brief Introduction to ErlangPhillip TrelfordLightning Talk 2012
Erlang in Industry• Amazon ▫ SimpleDB for Amazon Elastic Compute Cloud (EC2)• Yahoo! ▫ Delicious social bookmarking (50 mi...
Open Source Erlang• RabbitMQ ▫ AMQP based messaging• CouchDB ▫ Document-oriented database• Riak ▫ Distributed database• Ej...
Why Erlang? Wooga Case StudyBefore                        After•   Social Games              • 1 App Server*•   Millions o...
Blackjack functionC#                               Erlangpublic static                    isBlackjack([A,B]) when A+B==21 ...
Coding Erlang  Text                REPL   Winning Editor
Card Shuffle in Erlang REPLRanks=["A","1","2","3","10","J","Q","K"].Suits=[clubs,diamonds,hearts,spades].Deck=[{Rank,Suit}...
Why learn Erlang?• Money ▫ Erlang will instantly net you a $100,000 salary• Power ▫ 99.9999999% Reliability• Respect ▫ Sca...
Erlang Book Stack
Next Steps• Read ▫ Learn You Some Erlang For Great Good!• Watch ▫ Erlang: The Movie• Try ▫ Coding Katas• Get the T-Shirt ▫...
Upcoming SlideShare
Loading in …5
×

A Brief Introduction To Erlang

1,124 views
1,015 views

Published on

A Brief Introduction To Erlang - Lighting Talk

Published in: Technology, News & Politics
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,124
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
10
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • http://en.wikipedia.org/wiki/Erlang_(programming_language)
  • http://smyck.net/2012/04/22/why-erlang/http://www.wooga.com/games/
  • Tennis Kata:http://pastebin.com/sxaJxfJUTennis Kata: http://pastebin.com/7c8QTWkM
  • http://www.businessinsider.com/10-tech-skills-that-will-instantly-net-you-100000-salary-2012-8?op=1http://pragprog.com/articles/erlanghttp://akka.io/http://moiraesoftware.com/blog/2012/01/22/FSharp-Dataflow-agents-I/
  • http://learnyousomeerlang.com/http://www.youtube.com/watch?v=uKfKtXYLG78http://codingdojo.org/cgi-bin/wiki.pl?KataCataloguehttps://twitter.com/#!/search/%23erlang
  • A Brief Introduction To Erlang

    1. 1. A Brief Introduction to ErlangPhillip TrelfordLightning Talk 2012
    2. 2. Erlang in Industry• Amazon ▫ SimpleDB for Amazon Elastic Compute Cloud (EC2)• Yahoo! ▫ Delicious social bookmarking (50 million users)• Facebook ▫ Chat service (100 million users)• T-Mobile ▫ SMS and authentication systems• Ericsson ▫ Support nodes in GPRS & 3G mobile networks
    3. 3. Open Source Erlang• RabbitMQ ▫ AMQP based messaging• CouchDB ▫ Document-oriented database• Riak ▫ Distributed database• Ejabberd ▫ XMPP based instant messaging (IM)
    4. 4. Why Erlang? Wooga Case StudyBefore After• Social Games • 1 App Server*• Millions of daily users• 80 – 200 App Servers• 5000 – 7000 RPS * Actually 2 for redundancy
    5. 5. Blackjack functionC# Erlangpublic static isBlackjack([A,B]) when A+B==21 -> bool IsBlackjack(int[] ranks) true;{ isBlackjack(_) -> return false. ranks.Length == 2 && ranks[0] + ranks[1] == 21;}
    6. 6. Coding Erlang Text REPL Winning Editor
    7. 7. Card Shuffle in Erlang REPLRanks=["A","1","2","3","10","J","Q","K"].Suits=[clubs,diamonds,hearts,spades].Deck=[{Rank,Suit}||Rank<-Ranks,Suit<-Suits].Tuples=[{random:uniform(),Card}||Card<-Deck].[Card||{_,Card}<-lists:keysort(1,Tuples)].
    8. 8. Why learn Erlang?• Money ▫ Erlang will instantly net you a $100,000 salary• Power ▫ 99.9999999% Reliability• Respect ▫ Scala Akka ▫ F# Agents ▫ TPL DataFlow (TDF)
    9. 9. Erlang Book Stack
    10. 10. Next Steps• Read ▫ Learn You Some Erlang For Great Good!• Watch ▫ Erlang: The Movie• Try ▫ Coding Katas• Get the T-Shirt ▫ #Erlang

    ×