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

TransactionServiceImp optimisations #199

Conversation

nikhildp
Copy link

We are using atomikos in our product. Below are some optimisations I noticed based on observations from production systems.
I have converted tidToTransactionMap_ to concurrent hashmap as it is more efficient in handling concurrent operations. Also, thread safe objects doesn't need locks for operations. Hence removed the same for tidToTransactionMap_ put/read operations.

…p, removed lock for read and write to same
@CLAassistant
Copy link

CLAassistant commented Dec 15, 2023

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ nikhildp
❌ nikdivak


nikdivak seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@nikhildp
Copy link
Author

nikhildp commented Dec 15, 2023

fixes: #198

@nikhildp nikhildp changed the title TransactionServiceImp optimisations TransactionServiceImp optimisations Fixes: #198 Dec 15, 2023
@nikhildp nikhildp changed the title TransactionServiceImp optimisations Fixes: #198 TransactionServiceImp optimisations Dec 15, 2023
…om:nikhildp/transactions-essentials into feature/transaction-register-optimisations
@nikhildp nikhildp closed this Dec 15, 2023
@nikhildp nikhildp deleted the feature/transaction-register-optimisations branch December 15, 2023 11:50
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