Message routing

Clovertech Forums Cloverleaf Message routing

  • Creator
    Topic
  • #118196
    Jim
    Participant

      Good afternoon

      I have a simple question about message routing, in the NetConfig does each route defined create a sub process in a running engine.

      For instance if you have an Inbound Trx ID Determination UPOC that prepends  data from the message route giving you a route such as (DMC|MMC|MIH|SHF)_ADT_A(0[1-8]|1[1-3]) with various route details and then have another route with (GSH|BSC|SHF)_ADT_A(0[1-8]|1[1-3]) with various route details will this create a separate sub process in the running engine eating up more CPU?

      Jim

    Viewing 6 reply threads
    • Author
      Replies
      • #118198
        Rob Abbott
        Keymaster

          No.  All the routing activity occurs in the translation thread.  There is one translation thread per engine process.

          Rob Abbott
          Cloverleaf Emeritus

        • #118199
          Jim
          Participant

            That’s what I suspected.

            Jim

          • #118200
            Jim
            Participant

              Rob,

              How can I minimize the number of messages that are sent to the translation thread when I have multiple different criteria for different routes? If I have a Trx ID UPOC on the Inbound side that will create a subset of messages for the route as outlined in my above post which is based only on MSH then the only way to route any other messages is from the static_route by doing a generate and creating a route which is now hidden from view?

              Jim

            • #118201
              Charlie Bursell
              Participant

                As Rob said only one translation thread per process.  The way to “share” the load would be to do multiple processes and send some messages to other the other processes via TCP/IP.  You could use your TRXID logic to raw route some messages to an  OB thread which sends to another process.

              • #118205
                Jim
                Participant

                  Thank you Charlie.

                  Jim

                • #118206
                  Rob Abbott
                  Keymaster

                    If you are really worried about this, you can also enable multi-threaded translation.  The options are under the Process configuration in NetConfig.

                    Rob Abbott
                    Cloverleaf Emeritus

                  • #118216
                    Charlie Bursell
                    Participant

                      Good call Rob.  Just color me old school 🙂

                       

                  Viewing 6 reply threads
                  • You must be logged in to reply to this topic.