Currently Im implementing a shared buffer between user space processes. For that, I have a library which opens a client UNIX socket for the client processes to dump events into the server socket. My root process opens a server socket and waits for the events from client sockets. Once message is received, my root process will dump the events on to the shared buffer.
I guess i am messing with client processes performance for logging, since the client process has to wait till the events are written into the client socket. I would like to know, if there is a way, i could handover the events to the library and return immediately, so that the library can take care of writing the events into the client socket.
Really appreciate your help.