Serverino v0.7.17 is here!
Andrea Fontana
nospam at example.com
Sat May 24 16:50:02 UTC 2025
Hi everyone,
I've just released serverino 0.7.17, with several improvements.
Here are a couple of highlights:
**Hot reload just got smarter.**
You can now gracefully reload all workers without losing any
active or queued requests. This means you can deploy updated
worker code and have it take effect *immediately without
interrupting your server*.
* On POSIX systems, send SIGUSR1 to the server process: `kill
-SIGUSR1 <server_pid>`
* On Windows, serverino watches for a temporary canary file —
just delete it to trigger a reload.
Even better: if you enable config.enableWorkersAutoReload(),
serverino will automatically restart workers whenever the
executable is recompiled, again without interrupting any
in-flight requests. Watch auto-reload in action in this [video on
youtube](https://www.youtube.com/watch?v=708oeTiifMw).
**KQueue is now the default backend on macOS.**
It has been available for a while on both macOS and Linux, but
it's now officially the default on macOS (on linux *epoll* is set
as default backend)
Fastest way to test serverino:
```
dub init -t serverino blah
cd blah
dub
```
More info, docs, examples on
[github](https://github.com/trikko/serverino)
Andrea
More information about the Digitalmars-d-announce
mailing list