Re: Isolating slow and fast connections using apache/modjk

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

 



Gerhardus.Geldenhuis@xxxxxxxxxxxxxx wrote:
[...]
Not a real answer to your question, just some data.

VirtualHost's will use the same pool of Apache threads/children.
A VirtualHost is only a different "personality" that one Apache thread/child assumes temporarily to handle a request, depending on the "Host:" header of the request. All threads/children are identical, and can handle any request for any VirtualHost at any one time, and it is not so that there is one separate thread/child per VirtualHost.

But a thread/child that at any one time is "impersonating" a given VirtualHost can re-direct a request to a different "worker", or set of workers, and thus possibly a different set of back-end servers (be they different Tomcat instances on the same host, or different Tomcats on different hosts).

It is not really clear in your question what you mean by "stack A or B misbehave". I mean that if your "slow" back-end can handle 10 requests per second, and 20 requests come in, what would you really like to happen ?

Also, are "fast" and "slow" requests arriving on the same VirtualHost's (meaning hostnames), or is it so that there is one set of VirtualHosts that only receives "fast" requests and another that only receives "slow" requests ?


---------------------------------------------------------------------
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