Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-5111

Concurrent requests in pre-translation analog to TQE

XMLWordPrintable

      Description

      Currently, the analysis process relies on synchronous requests, which is leading to slower performance. We aim to adopt an "asynchronous" approach, similar to the implementation used in TQE (Ticket Queue Engine), to significantly reduce the time required for analysis (using Guzzle promises/async requests). The batch worker implementation must be reviewed and adjusted for this change.

      Problem

      The current synchronous request implementation in the analysis process is a performance bottleneck, slowing down the overall analysis execution time.

      Solution

      • Refactor Request Handling: Implement Guzzle promises/async requests within the analysis.
      • Reference TQE Implementation: Analyze the existing asynchronous request pattern in TQE and adapt it for the analysis feature.
      • Batch Worker Review: For batch supporting resources adjust the batch trait. Maybe is time to bring this to proper structure.
      • Fallback: evaluate if it make sense to inplement fallback (like we have in tqe)
      • Testing

            aleksandar Aleksandar Mitrev
            aleksandar Aleksandar Mitrev
            Aleksandar Mitrev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: