From e866a204a3a8f25e12d335c82346af51e3567d41 Mon Sep 17 00:00:00 2001 From: schmidt Date: Sat, 31 May 2003 14:36:15 +0000 Subject: ChangeLogTag:Fri May 30 17:15:57 2003 Nanbor Wang --- TAO/docs/configurations.html | 228 ++++++++++++++++++++++--------------------- 1 file changed, 116 insertions(+), 112 deletions(-) diff --git a/TAO/docs/configurations.html b/TAO/docs/configurations.html index f396f608fd2..4f9907c7eef 100644 --- a/TAO/docs/configurations.html +++ b/TAO/docs/configurations.html @@ -66,16 +66,16 @@ Roadmap
  • Multiple threads, single ORB, thread-per-connection model.
  • +
  • Multiple threads, single ORB, TAO thread-pool model.
  • + +
  • Multiple threads, single ORB, Real-time CORBA thread-pool model.
  • +
  • Multiple threads, multiple ORBs, reactive model.
  • Multiple threads, multiple ORBs, thread-per-connection model.
  • -
  • Multiple threads, single ORB, TAO thread-pool model.
  • - -
  • Multiple threads, single ORB, Real-time CORBA thread-pool model.
  • -
  • Multiple threads, ORB-per-thread, thread-pool reactive model.
  • @@ -284,7 +284,7 @@ The following are common ORB configurations used by TAO applications.

    This is the default configuration of TAO, where one thread handles requests from multiple clients via a - single Reactor. It is appropriate when the requests (1) + one Reactor. It is appropriate when the requests (1) take a fixed, relatively uniform amount of time and (2) are largely compute bound. @@ -319,7 +319,8 @@ The following are common ORB configurations used by TAO applications.

    Options - The default settings should work just fine. However, + The default settings should work just fine (by default, + the -ORBReactorType is tp). However, you can apply the following options to improve performance:
    TAO_Advanced_Resource_Factory: -ORBReactorType select_st, -ORBInputCDRAllocator null @@ -392,110 +393,6 @@ The following are common ORB configurations used by TAO applications.

    IDL_Cubit is a good example on using multiple threads, thread-per-connection configuration.

    -

  • -

    Multiple threads, multiple ORB, reactive model.

  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Typical UseIn this configuration, there are multiple ORBs in a - process with multiple threads. Each thread handles requests - reactively. This model is good for hard real-time applications that - require different thread priorities for the various - ORBs.
    Number of ThreadsOne thread for each ORB.
    Thread CreatorThe main process (thread).
    Thread taskService the requests from associating ORB.
    Synchronization considerationsApplication servants needn't - be concerned with synchronizing their interactions if - there's no cross ORB/thread access.
    Options The default settings just works fine. However, one could - use
    TAO_Advanced_Resource_Factory: -ORBReactorType - "which", for a thread-safe platform specific reactor.
    -
    -

    - -

  • Multiple threads, multiple ORBs, thread-per-connection model.
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Typical Use - This approach provides a range of thread priorities plus connections - that don't interfere with each others.
    Number of ThreadsOne thread for each ORB, plus one thread for each connection.
    Thread CreatorMain threads creates threads running ORBs. They, in turns, - create connection handling threads.
    Thread taskThere are threads running ORB's event loops which handle - connection requests and handler threads which service - requests from established connections.
    Synchronization considerations To avoid race conditions, application servants may need to - synchronize their methods if multiple clients can access - them concurrently.
    OptionsTAO_Server_Strategy_Factory: - -ORBConcurrency thread-per-connection
    - -

    -MT_Cubit - is a good example on using multiple threads, -multiple ORBs, and thread-per-connection configuration.

  • Multiple threads, single ORB, TAO thread-pool model.
  • @@ -507,7 +404,7 @@ multiple ORBs, and thread-per-connection configuration.

    This model implements a highly optimized, TAO-specific thread pool that minimizes context switching and thread creation costs. In this model, the programmer is responsible of spawning a group - of threads, start up the ORB and then instruct all the + of threads, creating an ORB instance, and then instructing all the threads to run the ORB event loop. When a request comes in, one of these waiting threads in the pool will handle the request. @@ -543,7 +440,9 @@ multiple ORBs, and thread-per-connection configuration.

    Options - The default settings work great for this + The default ORB settings support this concurrency + configuration, though you'll need to spawn the extra + threads in the pool explicitly.

    @@ -611,6 +510,111 @@ multiple ORBs, and thread-per-connection configuration.

    configuration.

    +

  • +

    Multiple threads, multiple ORBs, reactive model.

  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Typical UseIn this configuration, there are multiple ORBs in a + process with multiple threads. Each thread handles requests + reactively. This model is good for hard real-time applications that + require different thread priorities for the various + ORBs.
    Number of ThreadsOne thread for each ORB.
    Thread CreatorThe main process (thread).
    Thread taskService the requests from associating ORB.
    Synchronization considerationsApplication servants needn't + be concerned with synchronizing their interactions if + there's no cross ORB/thread access.
    Options The default settings just works fine. However, one could + use
    TAO_Advanced_Resource_Factory: -ORBReactorType + "which", for a thread-safe platform-specific reactor.
    +
    +

    + +

  • Multiple threads, multiple ORBs, thread-per-connection model.
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Typical Use + This approach provides a range of thread priorities plus connections + that don't interfere with each others.
    Number of ThreadsOne thread for each ORB, plus one thread for each connection.
    Thread CreatorMain threads creates threads running ORBs. They, in turns, + create connection handling threads.
    Thread taskThere are threads running ORB's event loops which handle + connection requests and handler threads which service + requests from established connections.
    Synchronization considerations To avoid race conditions, application servants may need to + synchronize their methods if multiple clients can access + them concurrently.
    OptionsTAO_Server_Strategy_Factory: + -ORBConcurrency thread-per-connection
    + +

    +MT_Cubit + is a good example on using multiple threads, +multiple ORBs, and thread-per-connection configuration.

    +

  • Multiple threads, multiple ORBs, thread-pool model.
  • -- cgit v1.2.1