I heard about celery and I really like it. But now I'm writing an application with node.js and I have to manage (asynchronous) tasks and I want to use celery to this. I've installed it in my development environment and played around with some python scripts. It all works well but I want to "call" the tasks with node.js. Has anyone tried to do something like this (with any programming language)?
I saw this example, but the base of this HTTP Gateway idea is a django application and I don't want to create a django app to only handle these calls.
I thought about creating a SimpleXMLRPCServer and use the node-xmlrpc module to connect with that. What do you think? There is a better way to do this? Is there another app or service that works natively with node.js?
Thanks in advance.
It's quite common to mix and match programming languages to play on each one's respective strengths. E.g., for a web application, I might be using PHP, JavaScript/jQuery, and SQL all on the same page.
Having evolved into a go-to programming language, Rust has seen an increase in its adoption. Although Python holds a firm place in the machine learning and data science community, Rust is likely to be used in the future as a more efficient backend for Python libraries. Rust has huge potential to replace Python.
Celery will force you to inherit a whole Python stack for a simple message queue - seems like a messy pain to me. Check out coffee-resque for a simple and native solution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With