• Save
Erlang/OTP
Upcoming SlideShare
Loading in...5
×
 

Erlang/OTP

on

  • 2,271 views

 

Statistics

Views

Total Views
2,271
Views on SlideShare
2,271
Embed Views
0

Actions

Likes
3
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Adobe PDF

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

Erlang/OTP Erlang/OTP Presentation Transcript

  • Erlang/OTP BPStudy #34 2010-06-30 NAKAI Ryosuke Accense Technology, Inc.
  • Erlang Erlang OTP Mnesia
  • @voluntas 21 Erlang 3 Python Erlang
  • Erlang Erlang 3
  • Erlang RabbitMQ ejabberd MochiWeb CouchDB ErlyVideo
  • RabbitMQ AMQP Advanced Message Queueing Protocol VMWare http://www.rabbitmq.com/
  • ejabberd XMPP eXtensible Messaging and Presence Protocol Google Talk http://www.ejabberd.im/
  • MochiWeb Web MochiMedia Facebook CouchDB http://github.com/mochi/mochiweb
  • CouchDB DB IBM T-Mobile BBC http://couchdb.apache.org/
  • ErlyVideo RTMP 1 ... http://github.com/erlyvideo/erlyvideo
  • WebSocket Server (Erlang) (HTML5) WebGL (HTML5) DEMO @MiCHiLU + @webos_goodies
  • Erlang ?
  • spawn(Module, Function, Args) spawn(Fun) (Fiber?) 2~3
  • top top - 11:15:39 up 4 days, 23:43, 6 users, load average: 0.44, 0.71, 0.53 Tasks: 178 total, 1 running, 177 sleeping, 0 stopped, 0 zombie Cpu0 : 92.1%us, 0.3%sy, 0.0%ni, 7.6%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu1 : 91.3%us, 0.3%sy, 0.0%ni, 8.4%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu2 : 92.3%us, 0.3%sy, 0.0%ni, 7.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu3 : 94.4%us, 0.0%sy, 0.0%ni, 5.6%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu4 : 94.1%us, 0.7%sy, 0.0%ni, 5.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu5 : 94.1%us, 1.0%sy, 0.0%ni, 4.9%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu6 : 85.8%us, 0.9%sy, 0.0%ni, 13.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu7 : 92.6%us, 1.3%sy, 0.0%ni, 6.1%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 8259008k total, 4047528k used, 4211480k free, 78508k buffers Swap: 6369272k total, 0k used, 6369272k free, 2475444k cached
  • spawn spawn(fun() -> end) DEMO Pid ! Terms ok. DEMO
  • A = 10 A = 20 A = 10 A = 10 DEMO
  • DEMO
  • DEMO if case ... of DEMO
  • Erlang Python Erlang OTP
  • OTP Open Telecom Platform OTP > Erlang loop
  • OTP gen_server, supervisor, application 3 DEMO gen_event, gen_fsm behaviour
  • Mnesia Erlang DB
  • DEMO QLC SQL activity/2, activity/4
  • R14A 2010-06-16 binary crypto NIF gen:do_call eprof 9 R14B
  • Q and A Erlang Windows, Linux, Unix, Solaris, VxWorks escript R14A OMake OMake