Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-252

Remove invoker caching from Workflow interpreter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9
    • None
    • None

    Description

      Currently in XBaya workflow interpreter we cache the invokers. THis was done so that if the user reruns the workflow we could reuse the invoker as well as we could simply use it as the service output store.

      Two issues with this are;
      1)If the invoker is cached and at a later time reused if the time between reuse is more than proxy expire time, it will fail and reuse cannot be made anyway
      2) Statistically cases that will reuse the invoker is much less than cases that it will use once. So this performance gain can be let go of a memory gain. If the user is rerunning, user is in the execution cycle and performance gain will anyway go unnoticed

      So i propose to remove the invoker map and store the output in the workflow node itself in the graph as possible Futures object.

      Attachments

        Activity

          People

            samindaw Saminda
            chathurah Chathura Herath
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: