Request strategy: don't launch all 3 requests if not needed #146

Merged
lx merged 1 commit from better-request-strategy into main 2021-11-04 15:37:27 +00:00
Owner

See comments in code to understand what this does.

Basically, instead of sending 3 requests when quorum is 1 and the other 2 don't matter (i.e. they are not write requests), we send only one request. If it fails, we send another one, etc. This should be very usefull to reduce I/O and bandwidth consumption for reads.

See comments in code to understand what this does. Basically, instead of sending 3 requests when quorum is 1 and the other 2 don't matter (i.e. they are not write requests), we send only one request. If it fails, we send another one, etc. This should be very usefull to reduce I/O and bandwidth consumption for reads.
lx force-pushed better-request-strategy from b0bf6cc522 to e8811f7c9d 2021-11-04 15:19:33 +00:00 Compare
lx merged commit e8811f7c9d into main 2021-11-04 15:37:27 +00:00
Sign in to join this conversation.
No description provided.