openworkflowdev / openworkflowdev/openworkflow
enable workers to poll only to specific workflow tasks
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.3k
- Forks
- 66
- Ø Merge
- 1 T. 1 Std.
- Gemergte PRs (30 T.)
- 69
Beschreibung
Is your feature request related to a problem? Please describe.
I am planning to have workers processes to register specific workflows based on service configuration (e.g. environment variables).
This would allow configuring pools of workers dedicated to specific workflows
For example:
- one worker pool could be dedicated to a single critical workflow with high throughput and long running steps
- another worker pool could handle the remaining, less frequent and not so critical, short workflows
Describe the solution you'd like
By default the worker should only poll workflows from the backend that match the task names defined on the instance.
Describe alternatives you've considered
The namespaceId could be abused for this, but it would not feel right and is very limited.
Additional context
none
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
In diesem Issue werden keine Dateien, Tests oder konkreten Einstiegspunkte genannt. Beginne damit, die Einstiegspunkte für das Worker-Polling und die Instanzkonfiguration zu finden, und verfolge anschließend, wie Aufgabennamen das Backend-Polling erreichen. Als abgeschlossen gilt die Änderung, wenn konfigurierte Worker nur passende Workflow-Aufgaben abfragen, während das Standardverhalten unverändert bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript
- Bereich
- backend, distributed-systems
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100