Patent ID: 8706900

Claim:
A method comprising: examining, by one or more network devices, characteristics associated with a transfer of data; selecting, based on the examining and by the one or more network devices, a set of characteristics of a write buffer that buffers requests, associated with the data, during the transfer, the set of characteristics including a plurality of rules regarding how the write buffer prioritizes read requests, that are associated with the transfer, with respect to write requests, that are associated with the transfer, the plurality of rules causing the write buffer to: enter an empty state upon creation of the write buffer, in which the write buffer waits for a write request and denies all read requests received while waiting for the write request, enter a write state upon receiving a write request while the write buffer is in the empty state, in which the write buffer handles write requests, and enter a read state when a read request is received while the write buffer is in the write state, in which the write buffer handles all received read requests and queues incoming write requests; and providing, by the one or more network devices, the selected set of characteristics to one or more devices that control the write buffer.