summaryrefslogtreecommitdiff
path: root/TAO/docs/configurations.html
blob: fa1b2e68e2ee8e463f0f3b32791458874a3b5196 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
<HTML>
  <HEAD>
    <META NAME="GENERATOR" CONTENT="Adobe PageMill 2.0 Mac">
    <TITLE>Configuring TAO's Components</TITLE>
  </HEAD>

<BODY text = "#000000"
link="#000fff"
vlink="#ff0f0f"
bgcolor="#ffffff">

    <H1 ALIGN=CENTER>Configuring TAO's Components</H1>

    <H2>Overview</H2>
    <blockquote>
      <p>As described in the <a href="Options.html">options</a>
	documentation, various components in TAO can be "tuned" by specifying
	options for those components.  Here we present some examples of how to
	combine these options to achieve certain effects on ORB operations.</P>
    </blockquote>

    <H2>Where Are Options Specified?</H2>
    <blockquote>
      <p>TAO configures itself using the ACE Service Configurator
      framework.  Thus, options are specified in the familiar
      <code>svc.conf</code> file (if you want to use a different file
      name, use the <a
      href="Options.html#svcfonf"><code>-ORBsvcconf</code></a>
      option</p>
    </blockquote>


    <H2>Roadmap</H2>

    <blockquote>
      <P>Details for the following configurations are provided.</P>

      <UL>
	<LI><A HREF="#reactive">Single-threaded, reactive model.</A>
	<LI><A HREF="#tpc">Multiple threads, thread-per-connection model.</A>
	<LI><A HREF="#multiorb">Multiple threads, orb-per-thread model.</A>
	<LI><A HREF="#multiorb-tpc">Multiple threads, orb-per-thread,
            thread-per-connection model.</A>
        <li><a href="#tpool">Multiple threads, thread-pool model.</a>
            (Not yet implemented.)
        <li><a href="#multiorb-tpool">Multiple threads,
            orb-per-thread, thread-pool model.</a> (Not yet implemented.)
      </UL>

      <p>Each configuration has the following information:</p>

      <p>
      <table border=2 width="90%" cellspacing="2" cellpadding="0">
	<tr>
	<tr>
	  <th>Typical Use</th>
	  <td>A brief description of the scenario and its typical use.</td>
	</tr>

	<tr>
	  <th>Number Threads</th>
	  <td>The number of threads used by ORB-related activities.</td>
	</tr>

	<tr>
	  <th>Thread Creator</th>
	  <td>Identifies the creator of the threads discussed above.</td>
	</tr>

	<tr>
	  <th>Resource Location</th>
	  <td>Where information on various resources is stored.</td>
	</tr>

	<tr>
	  <th>Thread task</th>
	  <td>Describes what task is undertaken for each thread.</td>
	</tr>
	<tr>
	  <th>Options</th>
	  <td>Specifies the options for each service in order to utilize this configuration.</td>
	</tr>
      </table>
      </p>

    </blockquote>

    <H2>Configurations</H2>

    <blockquote>

      <H3>Single-threaded, reactive model.<A NAME="reactive"></A></H3>

      <p>
      <table border=2 width="90%" cellspacing="2" cellpadding="0">
	  <th>Typical Use</th>
	  <td>
	    This is definitely the most common use of an ORB in a
	    server situation, where there is a single thread handling
	    requests from multiple clients.
	  </td>
	</tr>

	<tr>
	  <th>Number Threads</th>
	  <td>1</td>
	</tr>

	<tr>
	  <th>Thread Creator</th>
	  <td>Operating System or whoever creates the main thread in a process.</td>
	</tr>

	<tr>
	  <th>Resource Location</th>
	  <td>Resources are stored process-wide.</td>
	</tr>

	<tr>
	  <th>Thread task</th>
	  <td>The single thread processes all connection requests and CORBA messages.</td>
	</tr>

	<tr>
	  <th>Options</th>
	  <td>
	    <code>TAO_Resource_Manager</code>: <code>-ORBresources global</code><br>
	    <code>TAO_Server_Strategy_Factory</code>: <code>-ORBconcurrency reactive</code>
	  </td>
	</tr>
      </table>
      </p>

      <H3>Multiple threads, thread-per-connection model.<A NAME="tpc"></A></H3>

      <p>
      <table border=2 width="90%" cellspacing="2" cellpadding="0">
	<tr>
	  <th>Typical Use</th>
	  <td>A brief description of the scenario and its typical use.</td>
	</tr>

	<tr>
	  <th>Number Threads</th>
	  <td>The number of threads used by ORB-related activities.</td>
	</tr>

	<tr>
	  <th>Thread Creator</th>
	  <td>Identifies the creator of the threads discussed above.</td>
	</tr>

	<tr>
	  <th>Resource Location</th>
	  <td>Where information on various resources is stored.</td>
	</tr>

	<tr>
	  <th>Thread task</th>
	  <td>Describes what task is undertaken for each thread.</td>
	</tr>
      </table>
      </p>

      <H3>Multiple threads, orb-per-thread model.<A NAME="multiorb"></A></H3>

      <p>
      <table border=2 width="90%" cellspacing="2" cellpadding="0">
	<tr>
	  <th>Typical Use</th>
	  <td>A brief description of the scenario and its typical use.</td>
	</tr>

	<tr>
	  <th>Number Threads</th>
	  <td>The number of threads used by ORB-related activities.</td>
	</tr>

	<tr>
	  <th>Thread Creator</th>
	  <td>Identifies the creator of the threads discussed above.</td>
	</tr>

	<tr>
	  <th>Resource Location</th>
	  <td>Where information on various resources is stored.</td>
	</tr>

	<tr>
	  <th>Thread task</th>
	  <td>Describes what task is undertaken for each thread.</td>
	</tr>
      </table>
      </p>

      <H3>Multiple threads, orb-per-thread, thread-per-connection
      model.<A NAME="multiorb-tpc"></A></H3>

      <p>
      <table border=2 width="90%" cellspacing="2" cellpadding="0">
	<tr>
	  <th>Typical Use</th>
	  <td>A brief description of the scenario and its typical use.</td>
	</tr>

	<tr>
	  <th>Number Threads</th>
	  <td>The number of threads used by ORB-related activities.</td>
	</tr>

	<tr>
	  <th>Thread Creator</th>
	  <td>Identifies the creator of the threads discussed above.</td>
	</tr>

	<tr>
	  <th>Resource Location</th>
	  <td>Where information on various resources is stored.</td>
	</tr>

	<tr>
	  <th>Thread task</th>
	  <td>Describes what task is undertaken for each thread.</td>
	</tr>
      </table>
      </p>

      <H3><A NAME="tpool">Multiple threads, thread-pool model.</A>
      (Not yet implemented.)</H3>

      <p>
      <table border=2 width="90%" cellspacing="2" cellpadding="0">
	<tr>
	  <th>Typical Use</th>
	  <td>A brief description of the scenario and its typical use.</td>
	</tr>

	<tr>
	  <th>Number Threads</th>
	  <td>The number of threads used by ORB-related activities.</td>
	</tr>

	<tr>
	  <th>Thread Creator</th>
	  <td>Identifies the creator of the threads discussed above.</td>
	</tr>

	<tr>
	  <th>Resource Location</th>
	  <td>Where information on various resources is stored.</td>
	</tr>

	<tr>
	  <th>Thread task</th>
	  <td>Describes what task is undertaken for each thread.</td>
	</tr>
      </table>
      </p>

      <H3>Multiple threads, orb-per-thread, thread-pool model.<A
      NAME="multiorb-tpool"></A> (Not yet implemented.)</H3>

      <p>
      <table border=2 width="90%" cellspacing="2" cellpadding="0">
	<tr>
	  <th>Typical Use</th>
	  <td>A brief description of the scenario and its typical use.</td>
	</tr>

	<tr>
	  <th>Number Threads</th>
	  <td>The number of threads used by ORB-related activities.</td>
	</tr>

	<tr>
	  <th>Thread Creator</th>
	  <td>Identifies the creator of the threads discussed above.</td>
	</tr>

	<tr>
	  <th>Resource Location</th>
	  <td>Where information on various resources is stored.</td>
	</tr>

	<tr>
	  <th>Thread task</th>
	  <td>Describes what task is undertaken for each thread.</td>
	</tr>
      </table>
      </p>

    </blockquote>

</blockquote>

<P><HR><P>
Back to the TAO <A HREF="components.html">components documentation</A>.

<!--#include virtual="/~schmidt/cgi-sig.html" -->
</BODY>
</HTML>