bytedance / libtpa

Libtpa(Transport Protocol Acceleration), a DPDK based userspace TCP stack implementation.
https://bytedance.github.io/libtpa/
BSD 3-Clause "New" or "Revised" License
87 stars 8 forks source link

support ssl? #2

Open Chithesus opened 6 months ago

Chithesus commented 6 months ago
  1. libtpa support SSL or how to ?
  2. fstack vs. libtpa ? what is the diff?
yuanhanliu commented 6 months ago

We have no plans for SSL yet.

Question 2 is a huge topic. I'll try to make it short.

The key difference of Libtpa and F-Stack (and all other open source userspace TCP stacks I'm aware of) is that Libtpa can coexist with the Linux kernel networking stack. More info can be found here.

Besides that, F-Stack is built on top of FreeBSD, therefore, it has a mature TCP implementation. It's one of the very few TCP stacks that do not support multiple thread mode. It does support multiple process mode though.

Libtpa is built from scratch, therefore, it's lightweight and high performance: Libtpa has native zero copy read and write support since the beginning. It's designed mainly for data center usage; it doesn't even support IP fragments, therefore, it might not be a good option for public internet.

Chithesus commented 6 months ago

thanks, 多谢老铁! i want to deploy libtpa on aws ec2; have u ever tested on ec2 of aws?

yuanhanliu commented 6 months ago

Unfortunately, Libtpa should not work on ec2 as it relies on a NIC feature. Libtpa currently works with Mellanox and Intel E810 NIC only.

Chithesus commented 6 months ago

Unfortunately, Libtpa should not work on ec2 as it relies a NIC feature. Libtpa works with Mellanox and Intel E810 NIC only.

好,多谢老铁热忱回答;