3 ms·
A newbie question please, How to deploy CL on production? I mean for long running programs.
by tarrsalah 10y ago
A newbie question please, How to deploy CL on production? I mean for long running programs.
- aidenn0 10y agoThere are a few ways of doing it all with different tradeoffs: If very quick startup times are a necessity, then you just build a standalone image. This is very much like deploying a program in e.g. C. You build it with asdf, and then install it (and any dynamic libraries) into your deploy environment. For "long running" programs, this may not be as necessary, and since the lisp runtime includes a full lisp compiler, it's not uncommon to just have a script that launches your lisp executable, uses ASDF to load the system, and calls the entry point. For either one, it can also be useful to expose a swank server, though that does have security implications (anybody who can connect to the swank server (either localhost or unix domain sockets) can run arbitrary code).