4

I'm using HAProxy to loadbalance TCP service. I would like to "tee" the same request to a different cluster (dev instance).

Does HAProxy have the "tee" feature?

The dev, prod clusters and the HAProxy are different subnets, so I can't use the "tee" feature in iptables.

slm
  • 7,615
  • 16
  • 56
  • 76
user390687
  • 161
  • 3

1 Answers1

2

I have not done this myself but if you don't need real-time copying you could use tcpdump to capture the traffic and wireplay to send it to the dev instance.

Edit: the answer is no.

Mark Wagner
  • 18,019
  • 2
  • 32
  • 47
  • tcpdump is not going to scale for me. I have ~30 GB data per day, and I need it realtime. Thanks for your comment. – user390687 Sep 06 '13 at 00:01