0% found this document useful (0 votes)
26 views8 pages

Functional Programing Intro Dengan Erlang

The document provides an introduction to functional programming with Erlang. It defines functional programming as using expressions instead of mutable state, and discusses Erlang's support for concurrency, fault tolerance through letting processes crash, hot code upgrading, and message passing model. It recommends using Erlang for building scalable and real-time systems like chat servers that require high uptime, and provides examples of companies like WhatsApp and Facebook using Erlang.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views8 pages

Functional Programing Intro Dengan Erlang

The document provides an introduction to functional programming with Erlang. It defines functional programming as using expressions instead of mutable state, and discusses Erlang's support for concurrency, fault tolerance through letting processes crash, hot code upgrading, and message passing model. It recommends using Erlang for building scalable and real-time systems like chat servers that require high uptime, and provides examples of companies like WhatsApp and Facebook using Erlang.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Functional

Programing ?
With Erlang
Me ?
● Computer Science Graduate from this University
● Opensource community participant (http://github.com/freezmeinster)
● Member of POSS-UPI since 2008
● A Husband
● And A Proud father of Dhuha
What’s FP ?
● Program are executed by evaluating expression.
● FP avoid using mutable state.
● Function is first-class (can pass to other function and can return as result ).
● In pure FP there’s no side effect.
● Lazy Evaluation.
● Look like complex system at first, but ….

What’s Erlang ?
● Not some god from Journe To The West Mythology
● Highly Concurrent and Distributed
● Fault Tolerance (let’s it crash)
Why ?
● Hot Code Upgrade
● Have their own distributed relational database called mnesia (what, realy ?).
● Highly Concurrent (not so good in parallerizm tho)
● Horizontal Scalability (ability to distribute jobs across machine boundaries)
● Vertical Scalability (ability to use all avaliable processing power easly)
● Message Passing.
● Are you learning some Distributed system? Then learn this bad ass.
When use it ?
● You want to build something scalable and realtime (chat server, game server).
● Need uptime 99.999999999 %

When not use it ?


● Writing device driver
● In paralelizm task
Who ?
● Whatsapp using erlang VM for their backend
● Facebook using erlang for chat engine
● Amazon using erlang for their SimpleDB
● Yahoo using erlang for their Delicious
Sneak Peek
That’s all folks

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy