Node.js Presentation Rotterdam.PHP

1,547 views

Published on

A short presentation on Node.js

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

  • Be the first to like this

No Downloads
Views
Total views
1,547
On SlideShare
0
From Embeds
0
Number of Embeds
84
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
















































  • Node.js Presentation Rotterdam.PHP

    1. 1. node.js evented I/O for V8 javascript
    2. 2. the Problem
    3. 3. the Problem
    4. 4. the Problem
    5. 5. the Problem
    6. 6. the Problem file uploads
    7. 7. the Problem file uploads long database transactions
    8. 8. the Problem file uploads long database transactions external web resource
    9. 9. blocking I/O
    10. 10. solutions
    11. 11. solutions
    12. 12. solutions worker queues
    13. 13. solutions worker queues poll for results
    14. 14. event-driven I/O
    15. 15. event-driven I/O
    16. 16. event-driven I/O nginX + Lua
    17. 17. event-driven I/O nginX + Lua Twisted (Python)
    18. 18. event-driven I/O nginX + Lua Twisted (Python) EventMachine (Ruby)
    19. 19. node.js
    20. 20. node.js
    21. 21. node.js Google’s V8 engine + async I/O
    22. 22. node.js Google’s V8 engine + async I/O CommonJS modules
    23. 23. demo time
    24. 24. simple HTTP server
    25. 25. start it
    26. 26. simulate wait
    27. 27. benchmark
    28. 28. HTTP remote fetch
    29. 29. HTTP proxy
    30. 30. advantages
    31. 31. advantages
    32. 32. advantages JS has event-handling built-in
    33. 33. advantages JS has event-handling built-in clean-room design w/o blocking APIs
    34. 34. advantages JS has event-handling built-in clean-room design w/o blocking APIs small memory footprint
    35. 35. advantages JS has event-handling built-in clean-room design w/o blocking APIs small memory footprint fast
    36. 36. advantages JS has event-handling built-in clean-room design w/o blocking APIs small memory footprint fast shareable code
    37. 37. drawbacks
    38. 38. drawbacks
    39. 39. drawbacks chained callbacks
    40. 40. drawbacks chained callbacks larger codebase maybe hard to maintain
    41. 41. frameworks
    42. 42. frameworks
    43. 43. frameworks connect
    44. 44. frameworks connect express
    45. 45. frameworks connect express persevere
    46. 46. what’s next
    47. 47. what’s next
    48. 48. what’s next coroutines / continuations
    49. 49. what’s next coroutines / continuations real concurrency
    50. 50. what’s next coroutines / continuations real concurrency Erlang / Haskell
    51. 51. questions?

    ×