Error handling strategies, and what fallback state things fall into when the hot code breaks, would be great to hear about.
This has the advantage that reboots can be handled fairly seemlessly too (though there will be reconnections then of).
https://gist.github.com/kentonv/bc7592af98c68ba2738f44369208...
For those curious research "SCM_RIGHTS" (Socket-Level Control Message) and sendmsg/recvmsg
These elements can be allocated anywhere in (writable) memory, e.g.
heap, data segment or stack. They must not be moved while in use
(they may contain pointers to each other and to themselves).
Which you could probably get around with by just keeping track of offsets and using mmap
lkuty•4h ago