Que diferença entre [multi_accept] e [accept_mutex]?

1

multi_accept

If multi_accept is disabled, a worker process will accept one new connection at a time. Otherwise, a worker process will accept all new connections at a time.

accept_mutex

If accept_mutex is enabled, worker processes will accept new connections by turn. Otherwise, all worker processes will be notified about new connections, and if volume of new connections is low, some of the worker processes may just waste system resources.

As definições de docs são muito semelhantes.

    
por Max Zueff 16.03.2016 / 16:04

1 resposta

1

Parece que accept_mutex controla se 1 conexão pode ativar vários trabalhadores , enquanto multi_accept controla se 1 trabalhador pode aceitar vários conexões .

    
por 16.08.2016 / 00:03

Tags