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
while looking at different distributions I noticed that the "latest" distribution only works properly on insert, not on update. Specifically, in the CoreWorkload the acknowledge is only called on insert, which means next keynum won't move forward properly on update.
I think it makes total sense to have the "latest" distribution also work on update, consider the use case where you are replacing a document in the database (which makes it likely being used right now) and soon afterwards you need to retrieve it back.
Also, relatedly I noticed that only if doTransactions is active it will perform the acknowledge too, I believe it also needs to be done in the non-transactional case. At least thats how it is now done on the YCSB/YCSB fork.
Is that a reasonable request?
The text was updated successfully, but these errors were encountered:
I think it makes total sense to have the "latest" distribution also work on update, consider the use
case where you are replacing a document in the database (which makes it likely being used right
now) and soon afterwards you need to retrieve it back.
Yeah, that makes sense. Any impact on existing workload uses if we start calling acknowledge in update?
Also, relatedly I noticed that only if doTransactions is active it will perform the acknowledge too, I
believe it also needs to be done in the non-transactional case.
I thought doTransactions was only false during the "load" mode. Is that not correct? When doing inserts do we actually use the latest distribution?
Yeah, that makes sense. Any impact on existing workload uses if we start calling acknowledge in update?
The impact I can think of is that new measurements will differ from the existing ones, since the load pattern against the database changes slightly. My guess is that you'd mostly see it with cache oriented databases, and there the effect will be better numbers on update since most of them rely on a LRU-like pattern. Since you've written it moments ago it is still likely in the cache and quick to pick out.
I thought doTransactions was only false during the "load" mode. Is that not correct? When doing inserts do we actually use the latest distribution?
Ah okay, I wasn't aware of that. If this is the case then you can ignore this part of my request ;)
Hi folks,
while looking at different distributions I noticed that the "latest" distribution only works properly on insert, not on update. Specifically, in the
CoreWorkload
theacknowledge
is only called oninsert
, which means next keynum won't move forward properly on update.I think it makes total sense to have the "latest" distribution also work on update, consider the use case where you are replacing a document in the database (which makes it likely being used right now) and soon afterwards you need to retrieve it back.
Also, relatedly I noticed that only if
doTransactions
is active it will perform the acknowledge too, I believe it also needs to be done in the non-transactional case. At least thats how it is now done on theYCSB/YCSB
fork.Is that a reasonable request?
The text was updated successfully, but these errors were encountered: