Skip to content

Optimize AbstractCorrelatingMessageHandler Lock Keys [INT-2758] #6735

Open

Description

@spring-operator

Gary Russell opened INT-2758 and commented

Currently, in order to accommodate the fact the JDBC Message Store uses a UUID representation of the group Id, the ACMH has to use the UUIDConverter to obtain the id of the lock for the group.

This is because the reaper only has the UUID, and not the original group key (correlation id).

When refactoring the JDBC message store to retain the original group key, ensure that the ACMH is also changed, to gain the optimization.


This issue is a sub-task of #6647

Issue Links:

Activity

  1. joshiste commented on Oct 14, 2023

    @joshiste
    Contributor

    I wonder if that's still on the roadmap. Using the UUIDConverter all over the place is also bad for performance reasons:
    When not passing in a UUID, every time it internally throws an exception to detect invalid UUIDs.
    Creating stack traces is an expensive operation to do.

  2. artembilan commented on Oct 17, 2023

    @artembilan
    Member

    @joshiste ,

    we have done the fix for that UUIDConverter: 77d8dfd.

    The fix has nothing to do with this issue.

    Thank you for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions