Skip to content

[RIP-70] Optimizing Lock Mechanisms  #8442

@3424672656

Description

@3424672656

Before Creating the Enhancement Request

  • I have confirmed that this should be classified as an enhancement rather than a bug/feature.

Summary

As concurrent systems grow more complex internally in RockteMQ, deploying effective lock management strategies is key to preserving performance. Our goal is to optimize the locking mechanism and improve performance.

I have written the proposal and you can see it by the link below:
https://shimo.im/docs/473QM8m8ByCn6l3w/

We will implement the proposed changes by 3 phases.

  • 1.Optimize the locking logic for message delivery to commitLog
    2.Spin optimal degree K retreat locking mechanism is introduced
    3.Optimize the back pressure mechanism of the client

  • 1.Adaptive lock is implemented initially
    2.Introduce other locking mechanisms
    3.Optimize message receiving logic

  • 1.Improved adaptive locks
    2.Provides tools for adjusting the lock mechanism
    3.Design the necessary tests

Motivation

null

Describe the Solution You'd Like

null

Describe Alternatives You've Considered

null

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions