> The problem in user space is i cannot get a new port
> as for every connection. If i get say 65000 requests
> and i have 10 real servers behind i cannot create more
> than 1024 sockets per application. Also my
> specification is that each real server will expect a
> unique 5 tuple src ip, src port, dst ip, dst port,
> protocol. So we have to tinker with the kernel code.
> Is there any way to get new ports from the application
> layer ?
Typically, if you are just gonna look up a table of <port, IP addr>
to distribute the load, your server should do well as an iterative server
itself. But if you find that performance is bad, you could spawn threads
to do the submission.
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to firstname.lastname@example.org
This archive was generated by hypermail 2b29 : Mon Apr 30 2001 - 21:00:29 EST