Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing MultiProcessServer and MultiThreadServer #64

Open
frsyuki opened this issue Aug 23, 2016 · 0 comments
Open

Removing MultiProcessServer and MultiThreadServer #64

frsyuki opened this issue Aug 23, 2016 · 0 comments

Comments

@frsyuki
Copy link
Member

frsyuki commented Aug 23, 2016

Supporting Windows became one of the goals of ServerEngine since #50. But because fork
system call is not available on Windows, worker_type: process doesn't work. worker_type: spawn works but it has very different API set. Therefore, applications need to have quite different code for Linux and Windows.

It is also hard to maintain to keep MultiProcessServer and MultiSpawnServer behave consistently.

Idea here is to give up support of worker_type: process and thread so that any developers can write a single code to support both of Linux and Windows. And make ServerEngine library much smaller.

  • delete MultiProcessServer, MultiThreadServer, and MultiWorkerServer
  • MultiSpawnServer directly extends Server class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant