4 # -n threads in the server
5 # -f thread activation flags
10 # -t threading strategy
11 # = POOL -> thread pool
12 # = PER_REQUEST -> thread per request
13 # = THROTTLE -> thread per request with throttling
17 # -b backlog value for listen ()
18 # -c caching: NO_CACHE or CACHE
21 # Thread Pool, 20 unbound threads
22 # This is the baseline
23 static HTTP_Server "HTTP_Server -p 5432 -n 20 -i SYNCH -t POOL -b 50 -f THR_NEW_LWP"
26 # Start a baseline server without caching
27 #static HTTP_Server "HTTP_Server -p 5432 -n 20 -i SYNCH -t POOL -b 50 -f THR_NEW_LWP -c NO_CACHE"
30 # Thread Pool, 40 threads
31 #static HTTP_Server "HTTP_Server -p 5432 -n 40 -i SYNCH -t POOL -b 50 -f THR_NEW_LWP -f THR_BOUND"
34 # Thread-per-request, unlimited number of threads
35 #static HTTP_Server "HTTP_Server -p 5432 -i SYNCH -t PER_REQUEST -b 50 -f THR_NEW_LWP"
38 # Throttling, 40 threads
39 #static HTTP_Server "HTTP_Server -p 5432 -n 40 -i SYNCH -t THROTTLE -b 50 -f THR_NEW_LWP"
43 # Example for using HTTP_Server as a dynamic service
46 #dynamic HTTP_Server Service_Object * ./jaws.exe:_make_HTTP_Server() "HTTP_Server -p 5432 -n 20 -i SYNCH -t POOL -b 50 -f THR_NEW_LWP"
50 #dynamic HTTP_Server Service_Object * ./main:_make_HTTP_Server() "HTTP_Server -p 5432 -n 20 -i SYNCH -t POOL -b 50 -f THR_NEW_LWP"