3 ms·
I guess "buffering in a separate process" can be handy, esp. if you have strict performance requirements, but I guess using shared memory correctly can be trick
by yongjik 5y ago
I guess "buffering in a separate process" can be handy, esp. if you have strict performance requirements, but I guess using shared memory correctly can be tricky...?
(Without shared memory, I imagine you'll have one system call per log anyway - in which case it's not much different from calling one write() per line.)