Is there a way to integrate this module with any of the image manipulation packages like CamanJS? My knowledge of node.js is basically on the "I know it is some kind of Javascript-on-server thing which can make some Drupal modules really fast" level, so I am talking mostly about server-side alternative to GD or ImageMagick.
Currently working on Drupal project with some heavy image uploading feature and this could be some kind of alternative to doing it conventional way. Of course, manipulation of images in front end is also discussed option.

Does anyone ever thought about this?

Comments

tizzo’s picture

The node.js integration module is mostly concerned with providing websockets for real time push updates from the server to the client. Node is faster than php mainly in cases where you can benefit from its concurrency (one process can be serving thousands of requests vs php where one process does one request at a time). Node also has the benefit of not having to re-bootstrap the application for each request the way PHP does which is especially expensive for Drupal.

For processor bound requests like image manipulation where the result can be cached and reused by apache (or even varnish) without needing any subsequent Drupal processing I don't think there's much of a case to be made for node. The integration would be complicated and I don't think it would be any faster.

tizzo’s picture

Status: Active » Fixed
PlayfulWolf’s picture

Thank you. You made a point.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.