-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
We need to start handling images. I am not sure what the API should be for this. Like this?: http://datacache.org/dc/sync?source=http://datacache.org/dc/demo/file1.png&filter=convert&filterargs=-size 1024x768
Existing code should already be able to serve images. So I guess you want to process images like re-sizing?
Image processing is CPU consuming. Since Node.js is single-threaded, this might make the server unresponsive for incoming requests for a while. We might need to fork another Node.js instance to handle image processing.
We could just fork the processes to call a command line program. I am not sure if we should be doing
or if we should set up a separate service and do