Performance Best Practices
Best practices for enhanced performance.
Lwt promises are used heavily by naboris. Lwt uses a scheduler underneath the hood to keep promises pausing and resuming as needed. If available it is highly recommended to use libev. This can easily be done by installing libev on the host system and including
conf-libev in the
opam environment used to run naboris.
The installation page has more info on installing libev.
# Static Files
It is highly recommended that static files be served via a reverse proxy such as nginx. These servers are highly optimized and configurable for serving static files in ways that naboris would take much more work to achieve.