Wildhoney / Magento-on-Angular

Angular.js application using Magento as the backend API
360 stars 120 forks source link

Implement Node.js clustering with Redis socket.io sessions #52

Closed Wildhoney closed 10 years ago

Wildhoney commented 10 years ago

Reference: http://adamnengland.wordpress.com/2013/01/30/node-js-cluster-with-socket-io-and-express-3/

aonic commented 10 years ago

From your comment in #54

I plan on implementing Node.js cluster to delegate to other CPU cores. However currently most requests are completed in <5ms with 1,000 concurrent users. For Node.js monitoring you could use something like NewRelic.

If 1,000 concurrent users are being handled under 5ms I'm not sure it is a good idea to create additional complexity in a young project. Perhaps it would be a bit over engineering.

Wildhoney commented 10 years ago

@aonic Agreed! I'm a little hesitant to implement the cluster module at the moment, as it's still very much in the experiemental stage.