NEX and the alternatives
NEX is not meant to replace everything. This is an honest comparison with the tools people think of most often: what each one does better, what NEX does better, and when to choose one or the other. Often the right answer is to use them together.
Kubernetes
- What Kubernetes does better: it orchestrates containerized services across many nodes and in the cloud, with declarative deployments, autoscaling and a huge ecosystem.
- What NEX does better: it makes several Debian machines work as one system for the people who use them: the same users and home everywhere, any program (graphical ones too, with audio) started on another node without containers or configuration files.
- When to choose: containerized microservices on many nodes or in the cloud: Kubernetes. A group of workstations and servers shared by people who develop, build and work interactively: NEX.
Slurm
- What Slurm does better: it is the standard of high performance computing: batch queues on thousands of nodes, fair-share priorities, accounting, MPI integration.
- What NEX does better: interactive use: terminals, shells and graphical programs that run
where there is room; users and a common filesystem included; an installation of a few minutes.
For queued jobs there is
nex submit, a simple one. - When to choose: a computing center with many users and batch jobs: Slurm. A small or medium cluster used both interactively and with queued jobs: NEX.
MOSIX, openMosix and Kerrighed
- What they do better: a single system image at kernel level, with transparent migration of running processes (MOSIX carries it on today; openMosix and Kerrighed are no longer developed).
- What NEX does better: it leaves the kernel alone: it runs on the distribution's kernel, with its security updates, and installs and upgrades like any package.
- When to choose: if processes that are already running must move between nodes: MOSIX. If it is enough to decide where a program starts, on a plain Debian: NEX.
Ceph and GlusterFS
- What they do better: storage at large scale. Ceph provides files, blocks (also for virtual machines) and objects up to petabytes; GlusterFS a NAS that grows by adding servers. They are mature and widely used.
- What NEX does better: its storage, NEXFS, is light to install and to run: one package,
little memory, no kernel module; it is integrated with NEX users, quotas and snapshots, and
fsyncreturns when the data is on the disk of every copy. - When to choose: storage as a product of its own, large volumes, disks for virtual machines
or objects: Ceph or GlusterFS. A common
/nexfolder for a small or medium cluster: NEXFS.
distcc and icecream
- What they do better: they specialize in distributed compilation and have been proven for years; they work on any distribution, and icecream can carry the right compiler with it.
- What NEX does better:
nex makeneeds no daemons to install and no configuration: it uses the cluster nodes and the common filesystem, with theccachecache shared in/nex;ninjaworks too. - When to choose: only distributed compilation, on machines that are not a cluster: distcc or
icecream. If NEX is already there:
nex make.
ssh -X and Xpra
- What they do better: they work towards any machine, even over the Internet, with no cluster; Xpra keeps sessions alive to detach and reattach.
- What NEX does better: inside the cluster there is nothing to configure: a program started on another node, also from the menu or from Nautilus, shows its window on your desktop (X11 and Wayland), plays through your speakers (PulseAudio and PipeWire), and terminal, signals and exit code come back to you. NEX can pick the node.
- When to choose: a single remote machine, or a distant one:
ssh -Xor Xpra. The machines of a NEX cluster:nex run.
What NEX does not do
- Migration of running processes: a program starts on a node and stays there.
- Batch scheduling on hundreds of nodes: NEX is designed for small and medium clusters.
- Distributions other than Debian 13 and Ubuntu 26.04 LTS, for now.