You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the operations on the index (BranchData::get, BranchData::insert and BranchData::remove) are quite expensive. Things are especially bad if multiple such operations need to be executed within a db transaction (for example in fork) because then we hold the db connection until all of the operations are complete which blocks other parts of the system that also need db connection.
We should first create some benchmarks (perhaps using criterion) and then explore ways to optimize this code.
The text was updated successfully, but these errors were encountered:
Currently the operations on the index (
BranchData::get
,BranchData::insert
andBranchData::remove
) are quite expensive. Things are especially bad if multiple such operations need to be executed within a db transaction (for example infork
) because then we hold the db connection until all of the operations are complete which blocks other parts of the system that also need db connection.We should first create some benchmarks (perhaps using criterion) and then explore ways to optimize this code.
The text was updated successfully, but these errors were encountered: