multithreading or multiprocessing

后端 未结 8 849
野的像风
野的像风 2021-02-02 03:14

I am designing a dedicated syslog-processing daemon for Linux that needs to be robust and scalable and I\'m debating multithread vs. multiprocess.

The obvious objection

8条回答
  •  滥情空心
    2021-02-02 04:14

    Well, we finally implemented it as a multi-processed system with pipes for IPC and a bookkeeper that spawns processes as needed. Similar to the Apache httpd. It works perfectly.

提交回复
热议问题