900 B
900 B
XCE Controller
Overview
C daemon managing cluster-level job and queue operations. Acts as the central coordinator between the scheduler, worker nodes, and the Go API server.
Build
# From workspace root
nix develop
meson build && ninja -C build
Architecture
Core source files handle distinct domains:
job.c— Job lifecycle managementqueue.c— Queue state and controlcluster.c— Cluster topologydataex.c— Data exchange with other daemons
Links against libxce from src/lib/.
Conventions
- C standard: C99 or later
- Format with
clang-format - Component-specific headers in
include/ - Shared types defined in
src/include/xce/(libxce)
Key Files
src/controller/— Controller source filesinclude/— Controller-specific headers
See Also
- Shared library:
src/lib/CLAUDE.md - Root guidelines:
/workspace/CLAUDE.md