Festival Request Broker ======================= Author: David Bakhash Updated: Saturday, 10th July 1999 Festival broker is a common lisp program which accepts requests from clients and passes them off to festival. It maintains a number of festival server processes and distributes the requests between them. So, suppose Festival (--server) is running on host "foo.bar.edu" and port 1314. You want the the requests to come into "localhost" on port 2314, and you want 15 threads handling connections, and talking to separate forked festival servers. Then you do this (on localhost): (start-request-broker :remote-host "foo.bar.edu" :handler-count 15) (let ((s (socket:make-socket :remote-host "broker.abc.edu" :remote-port 2314))) (unwind-protect (progn (prin1 '(tagger "What is your name?") s) (terpri s) (force-output s) (read s)) ;; protected: (close s)))