I use the script
daemonize.pl for expensive (slow startup) natural language processing programs such as parsers that load large statistical models. The script turns such a program into a daemon that starts up once and communicates through named pipes. For example usage, see the files
dclient.pl and
dserver.pl.
No comments:
Post a Comment