[DGD] Implementing hotbooting

Shentino shentino at gmail.com
Sun Jul 8 17:37:06 CEST 2012


On Sun, Jul 8, 2012 at 3:23 AM, Felix A. Croes <felix at dworkin.nl> wrote:
> Shentino <shentino at gmail.com> wrote:
>
>> I'm working on a hotboot patch for dgd that will let it hotboot just like hydra.
>>
>> So far I have the LPC side working and have added the handling
>> required to track it.  Now I need to do the driver side and actually
>> make it work.
>>
>> (experimenters are free to pull from the hotboot branch of my github
>> repo on dgd)
>>
>> So far, what I think to do is check for a snapshot also being
>> triggered, then when we're done and ready to shut down, if a hotboot
>> is requested push all state we need to a temporary buffer (open ports,
>> open connections).  Then exec and reattach to all the open stuff we
>> stashed in the buffer.
>>
>> Am I missing anything?
>
> Apart from file descriptors, you also have to save connection state,
> telnet buffered input, buffered UDP packets and editor sessions.

Strange, I thought UDP was known unreliable.

I jest. :P

But what about parsers?  I think parser objects have an eindex as well.

> Regards,
> Felix Croes
> ___________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd



More information about the DGD mailing list