oxplot/cloudnbd — Issue #13: Avoid a read request for every write
Author: oxplot
Created: 2012-01-08 01:48:01+00:00
State: open
Labels: Feature Request

Currently, a write causes a read first to read the block from the cloud and apply the new data on top of it.
This causes unnecessary reads when only writing to cloud. A proposed solution is to cache the writes verbatim and upon cache overflow or explicit flush request, sort the cache and then do reads. It may seem to lead to similar results. However, at the time of flush, all the blocks that need to be read are known and hence, they can be requested in parallel which would significantly increase the performance.