On Thu, 2004-07-15 at 20:28, jamal wrote:
> On Thu, 2004-07-15 at 11:55, Evgeniy Polyakov wrote:
> > > OpenBSD's CARP does load balancing through Source Hashing (SH), which
> > UCARP
> > > lacks support for.
> > Userspace can't in principle.
> > Current kernel implementation can't too, but it can. In principle.
> Easy with current traffic control extensions. We need an action written
> for this. User space dameon controls it.
Load balancing between different computers?
How nodes will know about each other using only tc extension?
Kernel traps packet, send info about it to userspace, it decides drop it
or not... Not very fast path.
Or you may hardcode parameters for packets to be sent through current
machine in it's rules, and userspace will decide only _when_ apply all
those rules. But if we want to change things we have following chain:
driver <-0-> stack <-1-> tc <-2-> userspace carp <-3-> stack <-4-> other
With kernel implementation we may avoid 2 and 3.
And the bigggest advantage of the CARP is that it may touch kernel bits.
For any situation that may occure in HA world and will require touching
kernel space we always need some inkernel agent and some state
machine/protocol to connect it to userspace...
CARP already may this.
Evgeniy Polaykov ( s0mbre )
Crash is better than data corruption. -- Art Grabowski
Description: This is a digitally signed message part