Django+MongoDB vs Node.js+MongoDB

后端 未结 1 1743
执笔经年
执笔经年 2021-01-31 23:20

I have up and running a website with sync services that built using Python(Django)+MySQL. For a long time I\'m looking to the Node.js and MongoDB side. I\'m close to make a deci

相关标签:
1条回答
  • 2021-01-31 23:30

    If you're looking for performance, Node.js should have a better performance against Django. But Node.js runs async, you should prepare the code for that, if you need everything sync and up, maybe Django is the best choice, because you already have it running.

    But if you choose Node.js, make something that make the fact of beeing async is no problem for you and your data consistency, like message queues.

    Check this out, it has the pros and cons of each one

    switch python to node.js

    tornado, django and node.js benchmark

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