Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lots of different saga instances sharing the same correlation ID cause performance issues #1377

Open
ramonsmits opened this issue Aug 2, 2023 · 0 comments
Labels

Comments

@ramonsmits
Copy link
Member

ramonsmits commented Aug 2, 2023

Describe the bug

Description

The Saga view in ServiceInsights is getting slower and slower if there is a lot of saga history.

Different saga instances sharing the same correlation ID are shown as one. If many of such instances exist all seem to be loaded while pretty much all instance are not part of the visualized message conversation

When there are many of these all are loaded when opening the saga view from a conversation.

Expected behavior

  1. Only see saga instances that are involved in the message conversation
  2. See each saga instance lifetime independently
  3. Potentially have an option to open state of past or future instances

Actual behavior

All instances are shown as one saga state flow:

ServiceInsight_hs9TXXhUia

Versions

Latest version which is https://github.com/Particular/ServiceInsight/releases/tag/2.13.0

Steps to reproduce

Repro available:

Steps:

  1. Setup endpoint with a saga + saga audit plugin and enable auditing
  2. Have the saga created and completed using the saga correlation ID
  3. Observe the saga view in ServiceInsight

Relevant log output

No response

Additional Information

Forum post:

@ramonsmits ramonsmits added the Bug label Aug 2, 2023
@ramonsmits ramonsmits changed the title Different saga instances that where the same correlation ID are shown as one Lots of different saga instances sharing the same correlation ID cause performance issues Aug 2, 2023
@ramonsmits ramonsmits added Feature and removed Bug labels Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant