Question: Can L4 tcp
proxy have same behaviour as udp
proxy with use_per_packet_load_balancing=true
?
#34965
Labels
tcp
proxy have same behaviour as udp
proxy with use_per_packet_load_balancing=true
?
#34965
Title: Per-packet
tcp
proxyDescription:
My app must receive a very high amount of data (300MBps) in a single
tcp
connection.I would like to be able to split the incoming data into individual "chunks" that my app understands (e.g. my app receives 10KB packets) and proxy the newly created chunks to N upstream servers. Typical
tcp
load balancer would not help, since they make a 1:1 connection between the client and an upstream server.My app would only reason by individual packets, so ordering is not an issue. Moreover, my app does not need to reply to the client (apart from the
tcp
ack). Basically my app is a sink for binary data that is serialized into 10KB packets (with a custom structure, with headers,crc
s and payload) and sent over atcp
connection.Reading the docs, I understood that
udp
proxy, when configured withuse_per_packet_load_balancing=true
, does exactly that.I realize
tcp
(connection-based) is very different fromudp
(connection-less), but I was wondering if something similar is achievable (maybe with some custom extension)?The text was updated successfully, but these errors were encountered: