Hi Tomas, > I just tried to roughly benchmark the forking server and I do not > think it is a limiting factor. With the following code
That's right. For a database benchmark it is not a limiting factor, this will be more on the db side. However, if I try a non-forking server ################################################################ #!bin/picolisp lib.l (load "ext.l" "lib/http.l" "lib/xhtml.l") (allowed () "@start") (de start () (html 0 "Hello" NIL NIL "Hello World!" ) ) (let (P (port 8080) H "@start") (setq *Home (cons H (chop H))) (loop (when (listen P) (http @) (close @) ) ) ) ################################################################ I get roughly three times as many transactions, compared to the forking server. I also did $ siege -b -c 5 http://localhost:8080 But, as we saw already, this is only for an "empty" server. For real applications the difference will be neglectible, especially as the fork occurs only once for each session. Cheers, - Alex -- UNSUBSCRIBE: mailto:[EMAIL PROTECTED]