Skip to content

Add: exponential backoff for CAS operations on floats (prometheus#1661) #4

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

Conversation

dhartunian
Copy link

This is a cherry-pick of prometheus#1661 from the main branch.


  • add: exponential backoff for CAS operations of floats

Signed-off-by: Ivan Goncharov [email protected]

  • add: some more benchmark use cases (higher contention)

Signed-off-by: Ivan Goncharov [email protected]

  • fmt: fumpted some files

Signed-off-by: Ivan Goncharov [email protected]

  • add: license header

Signed-off-by: Ivan Goncharov [email protected]

  • add: comment explaining origin of backoff constants

Signed-off-by: Ivan Goncharov [email protected]


Signed-off-by: Ivan Goncharov [email protected]

* add: exponential backoff for CAS operations of floats

Signed-off-by: Ivan Goncharov <[email protected]>

* add: some more benchmark use cases (higher contention)

Signed-off-by: Ivan Goncharov <[email protected]>

* fmt: fumpted some files

Signed-off-by: Ivan Goncharov <[email protected]>

* add: license header

Signed-off-by: Ivan Goncharov <[email protected]>

* add: comment explaining origin of backoff constants

Signed-off-by: Ivan Goncharov <[email protected]>

---------

Signed-off-by: Ivan Goncharov <[email protected]>
@dhartunian
Copy link
Author

Pursuing different direction here. Closing this for now.

@dhartunian dhartunian closed this Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants