You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
andthread
so that any developers can write a single code to support both of Linux and Windows. And make ServerEngine library much smaller.The text was updated successfully, but these errors were encountered: