# Should I use TCP option address (TOA) or proxy protocol for network acceleration?

TCP option address (TOA) and proxy protocol are both used for network acceleration and load balancing, but they have different use cases and considerations.

TOA is a technology that adds additional addressing information to the TCP header, including the object address and cluster ID, which allows network devices to more efficiently route and load balance traffic. TOA is often used in conjunction with a load balancer or application delivery controller (ADC) to optimize traffic flows and improve performance. TOA is transparent to the application and does not require any modifications to the application or server.

On the other hand, proxy protocol is a layer 4 protocol that adds metadata about the incoming client connection to the header of the forwarded request. This metadata includes information about the client IP address, protocol, and port, and allows the backend servers to see the original client information, even if the connection was terminated by the load balancer or proxy. Proxy protocol is used in situations where the load balancer or proxy needs to terminate SSL/TLS connections or when the backend servers need to see the original client information.

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.console.zenlayer.com/welcome/global-accelerator/faq/should-i-use-tcp-option-address-toa-or-proxy-protocol-for-network-acceleration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
