Iseltech13 – Node.Js Like a Star Wars episode

811 views
715 views

Published on

Node.Js Like a Star Wars episode presentation for Iseltech13

Published in: Entertainment & Humor
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
811
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Iseltech13 – Node.Js Like a Star Wars episode

  1. 1. Like a star wars episodeNuno Paz
  2. 2. Agenda• About me• Node.js & I/O• Star Wars episode• Basic server• Conclusão
  3. 3. About me…nunopazz@gmail.com@npaz
  4. 4. Objectivo
  5. 5. Node.js ?!?• Plataforma construida sobre “V8 Javascript Engine”• Paradigma “Event-driven”• Ryan DahlNode standard libraryV8Threadpool(libeio)Eventloop(libev)
  6. 6. Custo I/OAcessoCiclos deprocessadorCache L1 3Cache L2 14RAM 250Disco 41 000 000Rede 240 000 000http://goo.gl/ZmO7x
  7. 7. WaitingEncaminhamento dopedidoQuery DB ProcessamentoDos resultadoslog Envio daresposta
  8. 8. Threads/processos• Podemos ter quatro pedidos concorrentes
  9. 9. Star Wars episodeYoda
  10. 10. Star Wars episode...Obi-Wan Kenobi Anakin Skywalker
  11. 11. Star Wars episode...
  12. 12. Star Wars episode...
  13. 13. Star Wars episode...
  14. 14. Star Wars episode...
  15. 15. Voltando ao Node.js
  16. 16. Basic servervar http = require(http);http.createServer(function (req, res) {res.writeHead(200, {Content-Type: text/plain});res.end(Hello Iseltech 2013n);}).listen(1337);console.log(Server running at http://127.0.0.1:1337/);
  17. 17. WTF ?!?( Why this framework ) ?!?
  18. 18. Why this framework ?• Objetivo• E concorrência com este modelo?
  19. 19. Under Construction
  20. 20. ? ?obrigado

×