On Mon, Jun 30, 2008 at 10:56:54AM -0500, Randy Evans wrote: > I am trying to get a very rough idea of how many simultaneous > connections (to apache servers) > ldirectord could handle using "direct routing", assuming gigabit > connections and decent > hardware. > > Unless you are running an Amazon or Sourceforge, I wouldn't think you > would never need to > worry about ldirectord being the bottleneck. > > However, if this assumption is incorrect, is it even possible to run > 2+ instances of ldirectord, > all managing the same virtual IP?
It is actually IPVS aka LVS that handles connections and not ldirectord. If you have reasonably modern hardware then the limitation is likely to be the gigabit network and not LVS. And the limitation is likely to be packets (or perhaps connections) per second, not the number of simultaneous connections. The only real limit on the number of simultaneous connections is memory, as each one requires something like 128 bytes of kernel memory. So if you had 2,000,000 of them, then they would be taking up in the order of 256Mb of memory. Which is a very large number of connections in what is not really that much memory. -- Horms _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
