Recipes
Socket activation
Not applicable to Kest. Recipes.
Status: Not applicable.
systemd socket activation passes an already-open listening socket to the process (LISTEN_FDS, descriptor 3). The JVM cannot adopt an arbitrary inherited descriptor (System.inheritedChannel() only handles inetd-style descriptor 0), so this is not supported. To get zero-downtime restarts run two instances behind a load balancer, or use a proxy that holds the socket (systemd-socket-proxyd, nginx).
How this fits NestJS
This page matches Socket activation in the NestJS documentation (Recipes). The full list of what is and is not built is in What is not built yet.