Home  >  Q&A  >  body text

nginx - the meaning of middleware spawn-fcgi

I built a webpy and nginx environment and used spawn-fcgi. I don’t understand what the role of spawn is? Middleware as buffer? After looking at the spawn source code, it is just an exec job. Why not communicate directly with webpy and nginx?

Please indicate

PHP中文网PHP中文网2712 days ago528

reply all(1)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-05-16 17:28:20

    spawn-fcgi feels like forking out multiple processes, which can also be replaced by uwsgi. Webpy also supports native fastcgi support, but it seems that it can only be a single process

    reply
    0
  • Cancelreply