envoyproxy/envoy

Kernel TLS Offload (kTLS) support in Envoy

Open

#23,968 建立於 2022年11月12日

在 GitHub 查看
 (7 留言) (7 反應) (0 負責人)C++ (5,373 fork)batch import
area/tlshelp wanted

倉庫指標

Star
 (27,997 star)
PR 合併指標
 (平均合併 8天) (30 天內合併 378 個 PR)

描述

Title: Kernel TLS Offload (kTLS) support in Envoy

Description: kTLS was added into the kernel lately and it enables high performance use cases such as using sendfile to send data. It also supports potential hardware/NIC offloads to make things even faster. It would be really nice to have this feature in Envoy also. I looked up previous issues and found ~2 issues briefly mentioning kTLS, but the discussions didn't advance further. I'm wondering whether there are plans to support this?

I thought about it and maybe we can have an IoHandle abstraction that hides away the kTLS offloading, or maybe integrate it into the transport socket... 🤔

[optional Relevant Links:]

貢獻者指南