[Info-vax] Integrity iLO Configuration?
Richard Maher
maher_rjSPAMLESS at hotmail.com
Fri Jun 25 23:11:43 EDT 2021
On 25/06/2021 8:52 pm, Arne Vajhøj wrote:
> 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
>
>
>
>
Or you could use something like Tier3 that handles all the Network Comms
and threading for you and you just have to provide an RTL in any 3GL
with 6 routines?
More information about the Info-vax
mailing list