Multiple Process Distribution

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Multiple Process Distribution

  • Creator
    Topic
  • #49634
    Mark Thompson
    Participant

      Clovertechies,

      I have an application that communicates with several external web services.  My tclCurl web service query essentially locks its process while it is waiting for a response.  To reduce delays, I have multiple query threads set up, each in its own process.

      My inbound thread needs to pass the query message to an “available” query thread.  Since the queries take varying lengths of time, distributing round-robbin doesn’t work very well.  I’m looking for a way (possibly using a shared memory area) that my inbound thread can check the query threads to see if they are available or currently performing a query.

      Any suggestions?

      -Mark

      - Mark Thompson
      HealthPartners

    • The forum ‘Cloverleaf’ is closed to new topics and replies.