Comments (1)
To address the issue of significant delays when initiating multiple dispatched workflows concurrently due to excessive messaging within the IWorkflowInbox
service, it is indeed necessary to optimize the dispatch mechanism. The proposed solution to modify the IWorkflowInbox
service to conditionally send messages only when there are relevant bookmarks in the database is a valid approach. This would prevent the generation of unnecessary messages and reduce the load on the messaging infrastructure.
However, implementing this solution requires careful consideration of the workflow engine's internal mechanisms to ensure that no dispatched workflows are missed and that the system remains reliable. It may involve changes to the way bookmarks are managed and how messages are correlated with them.
Before proceeding with this optimization, it would be important to review the current implementation of the IWorkflowInbox
service, the bookmark management system, and the messaging infrastructure to identify the best approach for conditional messaging. Additionally, thorough testing would be required to ensure that the changes do not introduce new issues or negatively impact existing workflows.
If you are looking for guidance on how to implement this change or if you need further assistance with the specifics of the Elsa Workflow system, please provide more details or clarify your requirements.
This comment was generated by Glime.
from elsa-core.
Related Issues (20)
- [FEAT] "ScheduleActivity" to "Completed" activity instance. HOT 1
- [BUG] Serialization error when 'MessageReceived' activity is used in workflow HOT 5
- [ENH] In stress testing, there were some task have not been started. HOT 2
- [ENH] Add "Code" Field to Fault Activity to Indicate Error Code HOT 1
- [BUG]In the api "elsa/api/workflow-instances/{instance_id}" result,"JSON.workflowState.activityExecutionContexts" is empty? HOT 1
- [BUG]Why the "ActivityExecuted" Implement Can't get the "Completed" status of Container activity HOT 1
- [BUG]Why the "ActivityExecuted" Implement Can't get the "Completed" status of Container activity? HOT 1
- [BUG] IsSystem property is manditory for Definitions and Instances HOT 1
- How to disable built-in activities registration? HOT 3
- [ENH] Increase stability and performance of publishing workflow definition HOT 1
- Elsa.Samples.AspNet.DynamicActivityProvider import json error HOT 1
- Pending modelchanges Elsa 2.14.1 HOT 1
- [BUG] Elsa has references to obsolete nuget package MassTransit.Extensions.DependencyInjection HOT 2
- [BUG] There is no `CurrentValue` variable in the For Loop Activity HOT 1
- [BUG] Cannot use Elsa: `Scheme already exists: Bearer` HOT 5
- [BUG]Email sending failed HOT 1
- [BUG] Exception 'Activity Descriptor Not Found' After Windows Update HOT 1
- [BUG] ParallelForEach Behavior Inconsistency HOT 2
- [BUG] C# scripting memory leak HOT 1
- [BUG] Elsa.UseMongoDb() options.DatabaseName does not set Database HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elsa-core.