A Brief Introduction To Erlang
Upcoming SlideShare
Loading in...5
×
 

A Brief Introduction To Erlang

on

  • 1,091 views

A Brief Introduction To Erlang - Lighting Talk

A Brief Introduction To Erlang - Lighting Talk

Statistics

Views

Total Views
1,091
Views on SlideShare
1,082
Embed Views
9

Actions

Likes
1
Downloads
8
Comments
0

3 Embeds 9

https://si0.twimg.com 6
http://kred.com 2
https://twimg0-a.akamaihd.net 1

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • 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 A Brief Introduction To Erlang Presentation Transcript

  • A Brief Introduction to ErlangPhillip TrelfordLightning Talk 2012
  • 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
  • Open Source Erlang• RabbitMQ ▫ AMQP based messaging• CouchDB ▫ Document-oriented database• Riak ▫ Distributed database• Ejabberd ▫ XMPP based instant messaging (IM)
  • 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
  • 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;}
  • 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}||Rank<-Ranks,Suit<-Suits].Tuples=[{random:uniform(),Card}||Card<-Deck].[Card||{_,Card}<-lists:keysort(1,Tuples)].
  • 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)
  • Erlang Book Stack
  • Next Steps• Read ▫ Learn You Some Erlang For Great Good!• Watch ▫ Erlang: The Movie• Try ▫ Coding Katas• Get the T-Shirt ▫ #Erlang