Forum Discussion

Mel_373733's avatar
Mel_373733
Icon for Nimbostratus rankNimbostratus
Oct 04, 2018

Duplicating certain HTTP request (Post/Get) from a server to another one

Im trying to have a pre-production environment, We want all request that containing certain word "API" that are sent to our prod environment to be duplicated with the payload to a different url or "pool", also I want this duplicated request to be fire and forget, I dont want my customers to have to wait for 2 responses

 

1 Reply

  • A TCP proxy is designed to create exactly two TCP connections - one client-side and one server-side, so it's not really (natively) possible to create two server-side TCP connections for a single client-side connection, and somehow aggregate the two server responses. If you don't care about the response from one of the pools, I'd suggest looking at using a sideband connection for that request. You'd basically set up the VIP to send traffic to one pool, but then include an iRule that sends a copy to another, but doesn't wait for its response.