Uploaded image for project: 'PredictionIO (Retired)'
  1. PredictionIO (Retired)
  2. PIO-182

Add asynchronous (non-blocking) methods to LEventStore

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.14.0
    • Core
    • None

    Description

      The current implementation of LEventStore has only synchronous (blocking) methods. Since they use ExecutionContext.Implicit.global, its parallelism is limited up to the number of processors. This means engine server's parallelism is also limited if we use these methods in prediction logic.

      To solve this problem, Future version of these methods should be added to LEventStore and also current blocking methods should be modified to take ExecutionContext (as an implicit parameter).

      See also: https://lists.apache.org/thread.html/f14e4f8f29410e4585b3d8e9f646b88293a605f4716d3c4d60771854@%3Cuser.predictionio.apache.org%3E

      Attachments

        Issue Links

          Activity

            People

              takezoe Naoki Takezoe
              takezoe Naoki Takezoe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: