I have a NodeJS application with the following situation: I receive a request from a user to calculate something that requires using a very complex mathematical formula. Currently, I run this entire process at that moment, figure out the value, then send it back to the user. Unfortunately, this isn't very asynchronous friendly :)
What I would like to do instead is run this entire operation in the background and once the task is complete, the worker comes back to me with whatever that computed value is, which I then send back to the user.
I've been looking at various job queues, including Kue, Celery, Resque and Beanstalk, but none of them seem to provide this feature. They work great for things like sending emails or running any kind of job that doesn't require receiving some kind of value back, just a plain was it successful or not, but there doesn't seem to be anything out there that allows for the worker to actually send a custom message back to the original producer that created the task.
Am I wrong in saying none of the above mentioned queues support this? If so, please point me to where in the docs I can learn about utilizing this feature. Otherwise, could you point me to any others that do support this functionality?