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

Cache TXN ID #9

Closed
wants to merge 3 commits into from
Closed

Conversation

domodwyer
Copy link

See go-mgo#454.

@jameinel this looks really useful, I hope you don't mind us pulling it to our fork. If you'd rather we didn't pull this, please let me know and we'll sort something out.

Thanks!

When walking graphs (hasPreReq), we can actually spend a lot of time
doing the conversion from a 'hex+nonce' token string back to a binary
ObjectId. Cache them in the flusher.
@domodwyer domodwyer self-assigned this Jun 15, 2017
@domodwyer domodwyer mentioned this pull request Jun 15, 2017
@domodwyer
Copy link
Author

domodwyer commented Jun 15, 2017

Closing as this has merge conflicts - resolved in #10.

@domodwyer domodwyer closed this Jun 15, 2017
@jameinel
Copy link

no problem. If you're interested in this one, you're probably also interested in the followups available from:
https://github.com/jameinel/mgo/tree/txn-preload

I was waiting to propose them for when the first patch got approved, so as to not try to discuss too much at once. Those are they 'yellow' and 'green' lines in the original spreadsheet submission. Which does have a large effect on AssertionGrowth tests.

@domodwyer domodwyer mentioned this pull request Jul 4, 2017
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