rkb has no daemon
DecisionVerified 2 Oct 2026Holds anywhere
Decision. The context, the choice, why, and the options that were turned down.
Context#
Whether rkb needs a warm daemon process.
Decision#
rkb has no daemon. A cold rkb context takes about 0.08 s, and rkb search with Jev about 0.27 s, mostly network time, so a daemon would save about 0.07 s per call. A daemon also leaves the old binary running after an upgrade, and sockets and locks are hard on NFS home folders and HPC login nodes.
Why#
The startup saving is negligible and the operational cost (stale processes, NFS locks) is real.
Rejected options#
A persistent daemon.
Cost accepted#
If Laya on the GPU ever needs a warm process, the mod can start one rkb server per session that stops with the session.
Also found by searching
- does rkb need a daemon
- cold rkb context takes about 0.08 s
- daemon sockets and locks on NFS home folders and HPC login nodes
- a daemon leaves the old binary running after an upgrade