Skip to content

yubeiluo/nodefun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

nodefun

Keep notes of everything about node v

Prototype and Inheritance

  1. Simple Javascript Inheritance

All the Mighty Event Loops

  1. the-javascript-event-loop-explained
  2. nodejs 异步之 Timer &Tick
  3. process.nextTick should be cleared after every v8 invocation

Asynchronous Programming Patterns

  1. nodejs-callback-hell
  2. callbacks-promises-and-coroutines-oh-my-the-evolution-of-asynchronicity-in-javascript
  3. fibers-and-threads-in-node-js-what-for
  4. node-fibers
  5. nodejs-introducing-fibers

Garbage Collection

  1. Node.js学习笔记:内存控制
  2. Managing Garbage Collection
  3. How to prevent memory leaks in Nodejs?
  4. A tour of v8: Garbage Collection

Performance Tuning

  1. how-come-q-deferreds-are-so-slow-on-node-js
  2. Make a dump of the v8 heap for later inspection
  3. node.js-runnable v8.log processor

V8

  1. 為什麼新的V8引擎這麼快

Control Flow Libraries

  1. introduction to async for better control flow

Useful Packages

  1. process usage lookup with nodejs
  2. streams 1. split 2. through 3. concat-stream 4. nodejs Stream使用手册 5. stream-handbook
  3. Interfaces for IO using Q promises in JavaScript on Node

Streams

  1. Practical Examples of the New Node.js Streams API

Gulp

  1. Grunt vs Gulp - Beyond the Numbers
  2. The stream build system
  3. And just like that Grunt and RequireJS are out, it’s all about Gulp and Browserify now
  4. An introduction to gulp

Browerify

  1. Browserify lets you require('modules') in the browser by bundling up all of your dependencies

Useful Tools

  1. Modern HTTP benchmarking tool

Write testable code

  1. Testable Apis with NodeJs
  2. Dependency Injection in nodejs
  3. Testable Javascript
  4. Essential Nodejs patterns and code snippets

Scaling and HA

  1. Horizontally Scaling NodeJs and Websocks with Redis

Benchmark

  1. How to measure execution time in Nodejs

Redis Libraries

  1. auto sharding in your nodejs app

Figures

  1. http://cm.bell-labs.com/who/dmr/mdmpipe.html
  2. Doug Mcilroy

Misc

  1. Experimenting with Node
  2. Stackless Python
  3. EVE Online Stackless Python Upgrade Q&A
  4. Scrolling Elasticsearch using Node.js and Promises
  5. Why should you use CoffeeScript instead of JavaScript?
  6. node version manager

About

Keep notes of everything about node

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published