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.
Like a star wars episodeNuno Paz
Agenda• About me• Node.js & I/O• Star Wars episode• Basic server• Conclusão
About me…nunopazz@gmail.com@npaz
Objectivo
Node.js ?!?• Plataforma construida sobre “V8 Javascript Engine”• Paradigma “Event-driven”• Ryan DahlNode standard libraryV...
Custo I/OAcessoCiclos deprocessadorCache L1 3Cache L2 14RAM 250Disco 41 000 000Rede 240 000 000http://goo.gl/ZmO7x
WaitingEncaminhamento dopedidoQuery DB ProcessamentoDos resultadoslog Envio daresposta
Threads/processos• Podemos ter quatro pedidos concorrentes
Star Wars episodeYoda
Star Wars episode...Obi-Wan Kenobi Anakin Skywalker
Star Wars episode...
Star Wars episode...
Star Wars episode...
Star Wars episode...
Voltando ao Node.js
Basic servervar http = require(http);http.createServer(function (req, res) {res.writeHead(200, {Content-Type: text/plain})...
WTF ?!?( Why this framework ) ?!?
Why this framework ?• Objetivo• E concorrência com este modelo?
Under Construction
? ?obrigado
Upcoming SlideShare
Loading in …5
×

Iseltech13 – Node.Js Like a Star Wars episode

905 views

Published on

Node.Js Like a Star Wars episode presentation for Iseltech13

Published in: Entertainment & Humor
  • Be the first to comment

  • Be the first to like this

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

×