feat(1.2): decnet fleet — prefork master for the heavy worker tier
Wires the prefork primitive into a CLI command. 'decnet fleet heavy' imports the shared base floor once in the master, then forks profiler + ttp as CoW-sharing child processes (own process/GIL, full isolation, shared ~71MB floor). DB-only tier => systemd unit carries no extra privilege (prefork's privilege-union cost is nil for this fleet). Unit Conflicts= the profiler/ttp units it replaces. Heavy per-worker state (ATT&CK/ML) still loads per-child; warming it in the master to share is deferred until a live RSS measurement shows the big object graph CoW-shares rather than refcount-dirties.
This commit is contained in:
@@ -26,6 +26,7 @@ from . import (
|
||||
canary,
|
||||
db,
|
||||
deploy,
|
||||
fleet,
|
||||
forwarder,
|
||||
geoip,
|
||||
init,
|
||||
@@ -62,7 +63,7 @@ for _mod in (
|
||||
swarm,
|
||||
deploy, lifecycle, workers, inventory,
|
||||
web, profiler, orchestrator, realism, reconciler, sniffer, db,
|
||||
topology, bus, geoip, init, webhook, canary, ttp, supervise,
|
||||
topology, bus, geoip, init, webhook, canary, ttp, supervise, fleet,
|
||||
):
|
||||
_mod.register(app)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user