Bug 940 - Single option to configure multiple strategies in the ORB
Summary: Single option to configure multiple strategies in the ORB
Status: NEW
Alias: None
Product: TAO
Classification: Unclassified
Component: ORB (show other bugs)
Version: 1.1.16
Hardware: All All
: P3 enhancement
Assignee: DOC Center Support List (internal)
URL:
Depends on: 1185
Blocks:
  Show dependency tree
 
Reported: 2001-06-12 12:03 CDT by Nanbor Wang
Modified: 2007-09-20 03:08 CDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nanbor Wang 2001-06-12 12:03:34 CDT
Me & Carlos had this discussion during the RT-Embedded workshop last week. The
number of strategies in the ORB have reached bigger numbers. To configure the
ORB as a single-threaded server/client we use atleast 7 to 8 options in the
svc.conf file.  The option is going to be higher as days pass by.  Most of the
strategies in the ORB are related.  Using unrelated strategies seem to give
unexpected results. 

So the idea that Carlos ran through me was to use a single ORB option like say
"-ORBConcurrency?" that configures all these multiple  strategies in well-known,
tested configurations.  Maybe "single-threaded", "thread-per-connection", and
"thread-pool"  would suffice.  As an example the "single-threaded" configuration
would turn of all the locks, use the single threaded reactor  and use a
Read-Write connection handler.  

I suggest that we have an option "-ORBTAO_Concurrency
[single-threaded|thread-perconnection|thread-pool|custom] ".  The custom model
should allow some backward compatibility. 

If the user uses a thread-pool concurrency model we should create a thread-pool
for the user so that he/she would have less hassles in creating thread-pools.
Comment 1 Ossama Othman 2001-06-22 12:26:39 CDT
Accepted.
Comment 2 Nanbor Wang 2002-05-09 14:40:42 CDT
Let me accept the bug,  since I should be having a better handle on this one. 
Comment 3 Nanbor Wang 2002-05-09 14:40:58 CDT
Accepting the bug
Comment 4 Johnny Willemsen 2007-09-20 03:08:58 CDT
to pool