[TXTREC-23] Convert Semaphore based Producer/Consumer logic to Queues Created: 16/Jul/19  Updated: 26/Aug/22

Status: Open
Project: Text Classification
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Story Priority: Neutral
Reporter: Ilgun Ilgun Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by IMGREC-66 Convert Semaphore based Producer/Cons... Open
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: Txt Classification
Team: AuthorX

 Description   

Currently, our recogniser service is backed up a configurable number of threads and a semaphore to orchestrate this. However, this logic can be easily achieved by a Queue which internally knows and stores this kind of logic which won't kill our consumer (in this case recogniser threads).

AC:

  • Change implementation from Semaphores to Queues

Generated at Mon Feb 12 11:04:42 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.