Combining node.js and Python

后端 未结 7 1729
迷失自我
迷失自我 2020-11-30 16:06

Node.js is a perfect match for our web project, but there are few computational tasks for which we would prefer Python. We also already have a Python code for them. We are h

相关标签:
7条回答
  • 2020-11-30 16:50

    I'd recommend using some work queue using, for example, the excellent Gearman, which will provide you with a great way to dispatch background jobs, and asynchronously get their result once they're processed.

    The advantage of this, used heavily at Digg (among many others) is that it provides a strong, scalable and robust way to make workers in any language to speak with clients in any language.

    0 讨论(0)
提交回复
热议问题