Mix Python Twisted with multiprocessing?

前端 未结 3 1889
半阙折子戏
半阙折子戏 2020-12-03 11:37

I need to write a proxy like program in Python, the work flow is very similar to a web proxy. The program sits in between the client and the server, incept requests sent by

3条回答
  •  抹茶落季
    2020-12-03 12:09

    ampoule is the first thing I think when reading your question.

    It is a simple process pool implementation which uses the AMP protocol to communicate. You can use the deferToAMPProcess function, it's very easy to use.

提交回复
热议问题