node js asynchronous i o for fun and profit
play

Node.js: Asynchronous I/O for Fun and Profit Stefan Tilkov @ QCon - PowerPoint PPT Presentation

Node.js: Asynchronous I/O for Fun and Profit Stefan Tilkov @ QCon London 2011 Friday, March 11, 2011 Stefan Tilkov @stilkov stefan.tilkov@innoq.com http:/ /www.innoq.com Friday, March 11, 2011 Concurrent Request Processing Friday, March


  1. HTTP/1.0 connect send request send response close connection connect Client Server send request send response data Friday, March 11, 2011

  2. HTTP/1.0 connect send request send response close connection connect Client Server send request send response data ... Friday, March 11, 2011

  3. HTTP/1.0 connect send request send response close connection connect Client Server send request send response data ... send response data Friday, March 11, 2011

  4. HTTP/1.0 connect send request send response close connection connect Client Server send request send response data ... send response data close connection Friday, March 11, 2011

  5. HTTP/1.1: Content-length Client Server Friday, March 11, 2011

  6. HTTP/1.1: Content-length connect Client Server Friday, March 11, 2011

  7. HTTP/1.1: Content-length connect Connection: keep-alive Client Server Friday, March 11, 2011

  8. HTTP/1.1: Content-length connect Connection: keep-alive send request Client Server Friday, March 11, 2011

  9. HTTP/1.1: Content-length connect Connection: keep-alive send request send response Client Server Friday, March 11, 2011

  10. HTTP/1.1: Content-length connect Connection: keep-alive send request send response Content-length: xxx Client Server Friday, March 11, 2011

  11. HTTP/1.1: Content-length connect Connection: keep-alive send request send response Content-length: xxx Client Server ... Friday, March 11, 2011

  12. HTTP/1.1: Content-length connect Connection: keep-alive send request send response Content-length: xxx Client Server ... send request Friday, March 11, 2011

  13. HTTP/1.1: Content-length connect Connection: keep-alive send request send response Content-length: xxx Client Server ... send request send response Friday, March 11, 2011

  14. HTTP/1.1: Content-length connect Connection: keep-alive send request send response Content-length: xxx Client Server ... send request send response Content-length: yyy Friday, March 11, 2011

  15. HTTP/1.1: Content-length connect Connection: keep-alive send request send response Content-length: xxx Client Server ... send request send response Content-length: yyy close connection Friday, March 11, 2011

  16. HTTP/1.1: Transfer-encoding: chunked Client Server Friday, March 11, 2011

  17. HTTP/1.1: Transfer-encoding: chunked connect Connection: keep-alive Client Server Friday, March 11, 2011

  18. HTTP/1.1: Transfer-encoding: chunked connect Connection: keep-alive send request Client Server Friday, March 11, 2011

  19. HTTP/1.1: Transfer-encoding: chunked connect Connection: keep-alive send request send response data Client Server Friday, March 11, 2011

  20. HTTP/1.1: Transfer-encoding: chunked connect Connection: keep-alive send request send response data Transfer-encoding: chunked Client Server Friday, March 11, 2011

  21. HTTP/1.1: Transfer-encoding: chunked connect Connection: keep-alive send request send response data Transfer-encoding: chunked xxx ↵ [data] Client Server Friday, March 11, 2011

Recommend


More recommend