flowable / flowable/flowable-engine
addMultiInstanceExecution method support batch operations
- Vorherrschende Sprache
- Java
- Sterne
- 9.5k
- Forks
- 2.9k
- Ø Merge
- 7 Std. 8 Min.
- Gemergte PRs (30 T.)
- 2
Beschreibung
**Is your feature request related to a problem? Please describe.**
If I want to add many instances, calling the addMultiInstanceExecution method in the loop will be slow and have performance problems. I try to call this method in multiple threads at the same time, but prompting FlowableOptimisticLockingException.
**Describe the solution you'd like**
Can the addMultiInstanceExecution method be enabled to support batch operations, which can reduce call time and improve efficiency.thanks.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
Models, if applicable, always help to clarify a problem. Ideally, a unit test makes reproducing things easier.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginne damit, die Methode addMultiInstanceExecution zu lokalisieren und ihre vorhandenen Ausführungs- und Nebenläufigkeitstests zu lesen, sofern vorhanden. Reproduziere die langsame Schleife und die FlowableOptimisticLockingException bei gleichzeitigen Aufrufen. Done sollte durch die Abdeckung von Batch-Operationen und den Nachweis demonstriert werden, dass die angeforderten Aufrufe ohne die gemeldete Konkurrenz abgeschlossen werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- backend
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100