2 ms·
Shared memory to a background process is better, in that it can survive most classes of process crash.
by cma 7y ago
Shared memory to a background process is better, in that it can survive most classes of process crash.
- gpderetta 7y agoYes it is significantly more robust, the downside is that you have to copy everything, including static vars and format strings. An option is to fork early on process startup and possibly share some memory. We simply catch all signals and do a best effort attempt to flush the queue before aborting.