Skip to content
Discussion options

You must be logged in to vote

The "fast bypass path for local connections" is socket "splicing" (in the sense of the splice() system call) between a socket on the "host" (outside the container) and one inside the container. It's the orange appendage in this diagram, top left. That's what -T,12345 does, in your case.

At the moment, what you're doing is pretty much the best solution pasta can offer. We're working on a more flexible model for forwarding, based on a full-fledged flow table.

At that point, we can consider supporting multiple containers (network namespaces) within the same instance of pasta, and pasta could splice between separate containers directly. But I wouldn't expect much better throughput: what you h…

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@sbrivio-rh
Comment options

Answer selected by shunkica
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@Luap99
Comment options

@marinmo
Comment options

@Luap99
Comment options

@marinmo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants