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
When a TCP connection request comes in, all Worker processes compete for this connection, and eventually a Worker process will successfully establish a TCP connection with the client directly. Forwarded by the Reactor thread of the main process.
Does any know what exactly its meant here by "all Worker processes compete for this connection" ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there!
in SWOOLE_PROCESS mode - there is an easy to understand dispatch_mode setting that controls how requests are load-balanced to workers.
but dispatch_mode is not applicable to SWOOLE_BASE.
instead - I'm seeing this google-translated explanation of SWOOLE_BASE load balancing:
Does any know what exactly its meant here by "all Worker processes compete for this connection" ?
Thank you 🙏
Beta Was this translation helpful? Give feedback.
All reactions