mercredi 6 avril 2016

GraphicsMagic for NodeJS spawns processes

I'm going use GraphicsMagic in NodeJs to process hundreds of requests per second (currently about 150 req/s). GM module spawns processes for each image processing (Asynchronous GraphicsMagick For Node). It seems to be heavy solution. I think it would be more correct to (1) create a microservice in separate server that will process only image manipulation (2) this microservice should be written in some language that has GraphicsMagic native support. By "native support" I mean .so module so that no need for spawning of external process. I thought to write it either in (1) perl or (2) c++/c (kore framework for Http for C for example).

Am I wrong somewhere?




Aucun commentaire:

Enregistrer un commentaire