[Info-vax] Integrity iLO Configuration?
Arne Vajhøj
arne at vajhoej.dk
Fri Jun 25 08:52:50 EDT 2021
On 6/24/2021 6:38 PM, Dave Froble wrote:
> I need to develop a better method of handling lots of socket connect
> requests. I also need to see if my ideas will work Ok.
>
> Current thoughts are a single listener that validates requests, accepts
> the connection, and passes it off to a worker process, then drops it's
> own connection to the socket. Involves some inter-process
> communications. Listener might get rather busy, but will spend little
> time on each request.
If you write the listener in a language that supports threading, then
it could be done relative simple.
client---(TCP)---multi threaded listener---(IPC)---N worker processes
The multi threaded listner has:
- 1 thread that accepts connections and put them in queue
- N handler threads that in a loop take connection from queue
and does passthrough between client and worker process until
client is done
Optionally you could add another tread monitoring queue length
and handler thread activity.
Arne
More information about the Info-vax
mailing list