~/talk

You Don't Know Node.js

Talkat JSConf Iceland 2016 · 2016-08-25..08-26· [nodejs, javascript]
slides:none on file

Dives into concrete Node.js mechanics with runnable examples: readFileSync vs readFile shows blocking behavior, streams process an 8MB infographic so streaming endpoint returns far faster, and buffers hit limits around gigabyte-sized files. Demonstrates process/global APIs, event emitters for composable callbacks, scaling with PM2 vertical scaling and cluster/master-worker, handling async errors with process uncaughtException and domain, and building C++ addons via node-gyp configure and build to expose native methods.

AI-written summary · about

  1. 0:00Intro
  2. 0:19You Don't Know Node Quick Intro to 5 Core Features
  3. 2:14Starting with basics: Why Use Node?
  4. 2:30Input/output is one of the most expensive type tasks ( CPU)
  5. 3:00Node has non- blocking I/O
  6. 8:17Blocking systems have to be multi- threaded
  7. 15:28Who likes and understands callbacks?
  8. 19:42Streams Abstractions for continuous chunking of data
  9. 20:12Streams Inherit from Event Emitter
  10. 20:48Input typically comes from the keyboard used to start the process.
  11. 21:55Data written to standard output is visible on the command line.
  12. 22:58What data type to use for binary data?
  13. 24:46How to scale a single threaded system?
  14. 27:50How to handle async errors?
  15. 30:42C++ Addons
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.