-
New Feature
-
Resolution: Unresolved
-
None
-
None
-
High
-
Emptyshow more show less
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