User Tools

Site Tools


no:resources

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
no:resources [2013/08/29 16:06] – [Présentations] fgmno:resources [2020/11/23 17:23] (current) – external edit 127.0.0.1
Line 4: Line 4:
   * Install: http://joyeur.com/2010/12/10/installing-node-and-npm/   * Install: http://joyeur.com/2010/12/10/installing-node-and-npm/
   * Wiki: https://github.com/joyent/node/wiki/   * Wiki: https://github.com/joyent/node/wiki/
 +  * [[http://gruntjs.com/|Grunt]]: Make for Node.JS
 ===== Packages ===== ===== Packages =====
  
 +  * Déboguage: [[https://github.com/node-inspector/node-inspector|Node Inspector]]
 +  * Injection de dépendances: [[https://github.com/bookalokal/omni-di|Omni-DI]]
   * Logging: [[https://github.com/bpaquet/log4node#readme|Log4Node]]   * Logging: [[https://github.com/bpaquet/log4node#readme|Log4Node]]
   * Middleware (catalogue d'autres middlewares assemblés): Connect   * Middleware (catalogue d'autres middlewares assemblés): Connect
Line 12: Line 14:
     * [[http://tjholowaychuk.com/post/664516126/connect-middleware-for-nodejs|Intro à Connect]]     * [[http://tjholowaychuk.com/post/664516126/connect-middleware-for-nodejs|Intro à Connect]]
   * Multi-process [[https://github.com/LearnBoost/cluster|Cluster]]   * Multi-process [[https://github.com/LearnBoost/cluster|Cluster]]
 +  * Profiling [[http://strongloop.com/node-js-performance/strongops/|StrongOps]] née Nodefly
   * Option parsing: [[https://github.com/substack/node-optimist#readme|Optimist]]   * Option parsing: [[https://github.com/substack/node-optimist#readme|Optimist]]
   * Support pour Rackspace Cloudfiles [[https://github.com/nodejitsu/node-cloudfiles|Node CloudFiles]]   * Support pour Rackspace Cloudfiles [[https://github.com/nodejitsu/node-cloudfiles|Node CloudFiles]]
 +  * Synchronisation
 +    * [[https://github.com/caolan/async|Async]]
 +    * [[https://github.com/kriskowal/q|Q]] (promises/A) 
   * Démonisation (cf NWD pp. 30-31):   * Démonisation (cf NWD pp. 30-31):
     * Debian     * Debian
Line 22: Line 28:
       * [[https://github.com/frodwith/node-init|Node Init]]       * [[https://github.com/frodwith/node-init|Node Init]]
       * Inclus dans Connect (cf supra)       * Inclus dans Connect (cf supra)
-    * NPM+    * Run: 
-      * [[http://github.com/nodejitsu/forever|Forever]]. [[http://blog.nodejitsu.com/keep-a-nodejs-server-up-with-forever|Intro]] +      * [[https://github.com/remy/nodemon|Nodemon]] plutôt pour dév. 
-      * [[https://github.com/pgte/fugue|Fugue]]+      * [[https://github.com/Unitech/pm2|PM2]] plutôt pour prod. 
 +      * [[http://github.com/nodejitsu/forever|Forever]]. plutôt pour prod, mais moins évolué que PM2[[http://blog.nodejitsu.com/keep-a-nodejs-server-up-with-forever|Intro]] 
 +      * [[https://github.com/pgte/fugue|Fugue]] abandonné
     * [[http://upstart.ubuntu.com|Upstart]]     * [[http://upstart.ubuntu.com|Upstart]]
       * [[https://github.com/shimondoodkin/nodejs-autorestart|Node.js Autorestart]]       * [[https://github.com/shimondoodkin/nodejs-autorestart|Node.js Autorestart]]
Line 33: Line 41:
 {{ :no:node-perf.png?300|}} {{ :no:node-perf.png?300|}}
   * [[http://al3x.net/2010/07/27/node.html|Scaling in the small vs scaling in the large]] (No silver bullet) Alex Payne - 2010-07   * [[http://al3x.net/2010/07/27/node.html|Scaling in the small vs scaling in the large]] (No silver bullet) Alex Payne - 2010-07
-  * [[http://nodejs.org/cinco_de_node.pdf|Cinco de Node]] - Ryan Dahl - 2010 
-    * Dans la présentation, 822 req/s. RAM node max: 60 Mo 
-    * Test sur Q6600, node 0.64, ab -n10000, RAM node max: 20 Mo, puis sur Core i7 2.3 GHz. 
  
 ^ -c   ^ req/s ^ ms/req ^ s/req concurrent ^ kB/s   ^ req/s ^ ms/req ^ s/req conc. ^  kB/s   ^ ^ -c   ^ req/s ^ ms/req ^ s/req concurrent ^ kB/s   ^ req/s ^ ms/req ^ s/req conc. ^  kB/s   ^
Line 49: Line 54:
 | 512  | 758    680   | 1,319            | 776521 | 1053  |  486.3 | 0.950       | 1078200 | | 512  | 758    680   | 1,319            | 776521 | 1053  |  486.3 | 0.950       | 1078200 |
 | 1000 | 692   | 1400   | 1,443            | 709524 |  986  | 1014.4 | 1.014       | 1009506 | | 1000 | 692   | 1400   | 1,443            | 709524 |  986  | 1014.4 | 1.014       | 1009506 |
 +{{ :no:cinco-i7.png?300|}}
  
 +  * [[http://nodejs.org/cinco_de_node.pdf|Cinco de Node]] - Ryan Dahl - 2010 
 +    * Dans la présentation, 822 req/s. RAM node max: 60 Mo 
 +    * Test sur Q6600, node 0.64, ab -n10000, RAM node max: 20 Mo, puis sur Core i7 2.3 GHz.
   * [[http://www.synchrosinteractive.com/blog/9-nodejs/22-nodejs-has-a-bright-future|Node.js has a bright future]] Dustin Mcquay, 2010-04   * [[http://www.synchrosinteractive.com/blog/9-nodejs/22-nodejs-has-a-bright-future|Node.js has a bright future]] Dustin Mcquay, 2010-04
   * [[http://four.livejournal.com/963421.html?thread=2542173|My next project]] Au commencement... - Ryan Dahl - 2009-02   * [[http://four.livejournal.com/963421.html?thread=2542173|My next project]] Au commencement... - Ryan Dahl - 2009-02
no/resources.1377792372.txt.gz · Last modified: 2020/11/23 17:23 (external edit)