Re: s6-rc design ; comparison with anopa

From: Dreamcat4 <dreamcat4_at_gmail.com>
Date: Thu, 23 Apr 2015 18:05:35 +0100

On Thu, Apr 23, 2015 at 5:48 PM, Laurent Bercot <ska-skaware_at_skarnet.org>
wrote:

> On 23/04/2015 18:39, Dreamcat4 wrote:
>
>> OK. But what about the situation when you are running a live compiled
>> (running) system. You want to install a new pkg containing a service (or a
>> bundle). And start that service without having to reboot the whole
>> computer?
>>
>> Can it compile just the extra bit needed, and add that during runtime,
>> without having to recompile everything from scratch (until the next
>> reboot)?
>>
>
> I think another full compilation would be necessary, because
> incremental compilations are hard in the current state. It shouldn't be
> much
> of a problem though: even a full compilation should be quick enough.
> Probably O(n log n), which is fine for 1000ish atoms. If it's really too
> slow, I'll think about incremental compilation, but I don't want to
> prematurely optimize.
>

Or can you not run another complete instance of s6-rc within itself, to
temp handle just that new service? Or handle it (again in seperate
instance) temporarily, without being fully compiled.

Doing the full recompile in background, ready for next reboot.


>
> Adding the extra service without restarting everything is the point of
> s6-rc-update, which I would like to get more ideas on.
>
> --
> Laurent
>
>
Received on Thu Apr 23 2015 - 17:05:35 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC