Tapestry 5
  1. Tapestry 5
  2. TAP5-466

Support parallel processing behavior via a ParallelDecorator service

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.1.0.0
    • Fix Version/s: None
    • Component/s: tapestry-ioc

      Description

      The concept here is similar to the proposed LazyDecorator, except that the method invocation will be evaluated, in parallel, in a worker thread. This implies that there's a service for managing worker threads as well.

      Again, this only applies to methods that return an interface type (that can encapsulate the future value) and throw no checked exceptions.

      The returned object would delegate to a Future object linked to excecution of the method invocation in a worker thread.

        Issue Links

          Activity

          Hide
          Jochen Kemnade added a comment -

          This issue has been last updated more than a year ago, has no assignee, affects an old version of Tapestry that is not actively developed anymore, and is therefore prone to be bulk-closed in the near future.

          If the issue still persists with the most recent development preview of Tapestry (5.4-beta-26, available from Maven Central), please update it as soon as possible. In the case of a feature request, please discuss it with the Tapestry developer community on the dev@tapestry.apache.org mailing list first.

          Show
          Jochen Kemnade added a comment - This issue has been last updated more than a year ago, has no assignee, affects an old version of Tapestry that is not actively developed anymore, and is therefore prone to be bulk-closed in the near future. If the issue still persists with the most recent development preview of Tapestry (5.4-beta-26, available from Maven Central), please update it as soon as possible. In the case of a feature request, please discuss it with the Tapestry developer community on the dev@tapestry.apache.org mailing list first.
          Hide
          Howard M. Lewis Ship added a comment -

          See notes in TAP5-463 about the viability/safety of this concept.

          Show
          Howard M. Lewis Ship added a comment - See notes in TAP5-463 about the viability/safety of this concept.
          Hide
          Howard M. Lewis Ship added a comment -

          Of course, the question is do you actually gain performance this way? I think there are scenarios where you might, such as I/O bound operations that include loading pages and templates and component message catalogs.

          Show
          Howard M. Lewis Ship added a comment - Of course, the question is do you actually gain performance this way? I think there are scenarios where you might, such as I/O bound operations that include loading pages and templates and component message catalogs.

            People

            • Assignee:
              Unassigned
              Reporter:
              Howard M. Lewis Ship
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Development