blob: a180ee1b3839d6caeb614557871db28687b4404e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#
# -p port number
# -n threads in the server
# -f thread activation flags
# = THR_BOUND
# = THR_DAEMON
# = THR_DETACHED
# = THR_NEW_LWP
# -t threading strategy
# = POOL -> thread pool
# = PER_REQUEST -> thread per request
# = THROTTLE -> thread per request with throttling
# -i I/O strategy
# = SYNCH
# = ASYNCH
# -b backlog value for listen ()
#
#
# Thread Pool, 20 unbound threads
# This is the baseline
static HTTP_Server "HTTP_Server -p 5432 -n 20 -i SYNCH -t POOL -b 50 -f THR_NEW_LWP"
#
#
# Thread Pool, 40 threads
#static HTTP_Server "HTTP_Server -p 5432 -n 40 -i SYNCH -t POOL -b 50 -f THR_NEW_LWP -f THR_BOUND"
#
#
# Thread-per-request, unlimited number of threads
#static HTTP_Server "HTTP_Server -p 5432 -i SYNCH -t PER_REQUEST -b 50 -f THR_NEW_LWP"
#
#
# Throttling, 40 threads
#static HTTP_Server "HTTP_Server -p 5432 -n 40 -i SYNCH -t THROTTLE -b 50 -f THR_NEW_LWP"
#
#
#dynamic HTTP_Server Service_Object * .shobj/HTTP_Server:jaws "HTTP_Server -p 5432 -s HTTP_Service"
|