envoyproxy/envoy

EPOLLEXCLUSIVE support

Open

#14,718 创建于 2021年1月15日

在 GitHub 查看
 (10 评论) (0 反应) (1 负责人)C++ (5,373 fork)batch import
area/listenerenhancementhelp wanted

仓库指标

Star
 (27,997 star)
PR 合并指标
 (平均合并 8天) (30 天内合并 378 个 PR)

描述

In current implementation of envoy (if no configuration for REUSEPORT), multiple working threads would share the same LISTENING fd (to do accept),

In this case, there is the thundering bird problems if EPOLLEXCLUSIVE is NOT set, like this listening fd would wake up many worker to do accept but only 1 worker would succeed.

I was just wondering why envoy haven't support EPOLLEXCLUSIVE flag, is that because libevent don't have EPOLLEXCLUSIVE support or it's actually not a performance problem?

Thanks.

贡献者指南