Skip to content
Discussion options

You must be logged in to vote

In order to start understanding the proxy, understanding tower, one of the core libraries it uses, will be very helpful. If you read through those docs, you'll start to get a sense about how different layers and stacks compose to make any of the various "services" that you'll see in the proxy code.

As for the outbound TCP-related code in the proxy, you'll want to start in linkerd/app/outbound/src/lib.rs, specifically in fn mk_proxy. You can see how we start with creating the logical and forward stacks, and then use those to create a single stack that handles things like discovery and instrumentation.

If you're not familiar with Rust, I'd recommend working in an environment with the Rust l…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@NikitaSkrynnik
Comment options

@kleimkuhler
Comment options

Answer selected by NikitaSkrynnik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants