0
Large scale    Fault TolerantDistributed application
Supervision tree
Behaviour
Non functional code
Functional Code
application gen_server (client/server)gen_fsm (finite state machine) gen_event (event handling)         supervisor
Event Handlerslang_event_handler.erl
echo_server.erl
superVISORecho_supervisor.erl
Applicationecho_app.erl echo.app
2> application:load(echo).ok3> application:loaded_applications().[{echo,"A dummy echo server with a simple slang detection...
Monitoring
Thank you!toff63
Open Telecomunication Platform (OTP)
Open Telecomunication Platform (OTP)
Upcoming SlideShare
Loading in...5
×

Open Telecomunication Platform (OTP)

300

Published on

Published in: Self Improvement, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
300
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Open Telecomunication Platform (OTP)"

  1. 1. Large scale Fault TolerantDistributed application
  2. 2. Supervision tree
  3. 3. Behaviour
  4. 4. Non functional code
  5. 5. Functional Code
  6. 6. application gen_server (client/server)gen_fsm (finite state machine) gen_event (event handling) supervisor
  7. 7. Event Handlerslang_event_handler.erl
  8. 8. echo_server.erl
  9. 9. superVISORecho_supervisor.erl
  10. 10. Applicationecho_app.erl echo.app
  11. 11. 2> application:load(echo).ok3> application:loaded_applications().[{echo,"A dummy echo server with a simple slang detection :p", "0.0.1"}, {kernel,"ERTS CXC 138 10","2.14.3"}, {sasl,"SASL CXC 138 11","2.1.9.3"}, {stdlib,"ERTS CXC 138 10","1.17.3"}]4> application:start(echo).Starting supervisor.Alarm handler switched.Supervisor configuration:{ok, {{one_for_one, 3, 10}, [{echo_server1, {echo_server,start_link,[]}, permanent,5000,worker,[echo_server]}]}}echo_server startingok5> echo_server:echo("fuck you son of a bitch").=INFO REPORT==== 12-Aug-2012::18:26:23 ===Dont send slangs mother fucker!=INFO REPORT==== 12-Aug-2012::18:26:23 ===Dont send slangs son of a bitch!"fuck you son of a bitch"
  12. 12. Monitoring
  13. 13. Thank you!toff63
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×