search

Home  >  Q&A  >  body text

ruby-on-rails - python脚本如何给ruby后台传递message?

PHPzPHPz2892 days ago386

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-18 09:22:58

    This is typical inter-process communication, there are many methods:

    1. The website backend provides an HTTP API for scripts to call and send the status there

    2. Use the file directly, the script is in the file writing state, and the website background reads the file

    3. Use redis

    4. Use message queue

    5. Use database

    reply
    0
  • Cancelreply