RE: routing requests to two different servers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Wm.A.Stafford [mailto:stafford@xxxxxxxxxxxxxxxxxx] 
> Sent: Monday, October 29, 2007 6:18 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject:  routing requests to two different servers
> 
> I would like to have Apache send incoming requests to two locations.  
> Our Apache is currently configured as a reverse proxy to send 
> requests 
> to a production server.  I would like to send the same 
> request to a test 
> driver that will forward the request to one or more servers 
> undergoing 
> testing so these servers can be driven by the same load seen by the 
> production server.

Ok - but where is the response supposed to go?

Remember that HTTP is about a client sending a *request* and the server
returning a *response*. The whole idea implies a one-to-one mapping
between client and server. If you somehow clone a request and fan it out
to another server, you create two responses to the same request. How is
the client supposed to handle this? If you're talking about a purely
research environment, you could invent a client that handles two
responses, but no real-world browser can handle this.

Maybe you plan to trap the response from the test server and short it to
ground? Then you'd need to configure the test server (at the TCP/IP
level - not HTTP) to route all outgoing traffic to a machine that
terminated the TCP/IP traffic (ie, acknowledged it) but didn't deliver
it further. That would be a router, I guess... by now you're into
network-layer programming and have left HTTP behind.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> The test driver will reside on a completely different machine 
> and have 
> no association with the Apache that is forwarding requests so I don't 
> think a simple reverse proxy configuration will handle this.
> 
> Any guidance or ideas appreciated,
> -=beeky
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux