close
Skip to content

TXN preload#11

Merged
domodwyer merged 4 commits into
globalsign:developmentfrom
jameinel:txn-preload
Jul 5, 2017
Merged

TXN preload#11
domodwyer merged 4 commits into
globalsign:developmentfrom
jameinel:txn-preload

Conversation

@domodwyer
Copy link
Copy Markdown

Extends #10 - see #9 (comment).

Again, thanks to @jameinel for the hard work.

jameinel added 4 commits June 15, 2017 18:08
During 'recurse' loading all of the transactions to be done one-by-one
is actually rather expensive. Instead we can load them ahead of time,
and even allow the database to load them in whatever order is optimal
for the db.
When dealing with some forms of 'setup', the existing preload loads too
much data and causes a different O(N^2) behavior. So instead, we cap the
number of transactions we will preload, which gives an upper bound on
how much we'll over-load.
@domodwyer domodwyer changed the title Txn preload TXN preload Jul 4, 2017
@domodwyer domodwyer merged commit d3b6a6e into globalsign:development Jul 5, 2017
@domodwyer domodwyer mentioned this pull request Jul 26, 2017
libi pushed a commit to libi/mgo that referenced this pull request Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants