Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Practical Look at Erlang

Concurrent, Fault Tolerant and Distributed Programming Language

  • Login to see the comments

Practical Look at Erlang

  1. 1. Hamidreza Soleimani Practical Look at Erlang   Concurrent, Fault Tolerant and Distributed Programming Language Tehran Linux User Group February 18, 2014
  2. 2. Strong Typing Functional Garbage Collected Runtime System Erlang Birthday:   1986 History &  Philosophy 
  3. 3. Fault Tolerant DistributedConcurrent History &  Philosophy 
  4. 4. 1. Concurrent Sequential Concurrent Parallel
  5. 5. 1. Concurrent Hamid RezaMajid Actor Model Async / Sync Immutable No Race Condition Reenterancy Light Process HiHi Fine? Hi Fine! Hi Light Hi Wear
  6. 6. 2. Fault Tolerant CorrectiveDefensive “ Let it crash! ”“ Try to survive! ”
  7. 7. 2. Fault Tolerant In Failure “ Doesn't Need Restart ”“ Needs Restart ” Human Hot Swapping Feature  Example: Apache Example: Yaws
  8. 8. 3. Distributed Load Balancer N1 N 4 N 3 N 2 N1 N 4 N 3 N 2 N1 N 4 N 3 N 2 Zone 2 Zone 3 Zone 1 Reliability Scalability Performance No Single  Point of  Failure 
  9. 9. 3. Distributed epmd Node 1 Hamid Port: 4369 Node 2 Majid Port: 42042Port: 42043 Erlang Port Manager Daemon Erlang Distributed Protocol No Need to IDL
  10. 10. Question? ­ Hamidreza.s@gmail.com

×