Aggregation of write traffic to a data store
First Claim
1. A method performed on a computing device, the method comprising:
- receiving, by the computing device, a request to write data to an intended destination on a random access storage device;
determining, by the computing device based on monitoring storage device offsets of read and write requests comprising the request to write the data, whether or not patterns of the read and write requests are sequential;
writing, by the computing device in response to the patterns of the read and write requests being sequential or in response to a write log status indicating invalidation only, the data to at least one intended destination in the random access storage device, where the write log status indicating invalidation only indicates that only invalidation records can be written to the write log;
redirecting, by the computing device in response to the patterns of the read and write requests not being sequential and in response to the write log status not indicating invalidation only, the data to the write log; and
mapping, by the computing device in response to the redirecting, the redirected data to the at least one intended destination.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and a processing device are provided for sequentially aggregating data to a write log included in a volume of a random-access medium. When data of a received write request is determined to be suitable for sequentially aggregating to a write log, the data may be written to the write log and a remapping tree, for mapping originally intended destinations on the random-access medium to one or more corresponding entries in the write log, may be maintained and updated. At time periods, a checkpoint may be written to the write log. The checkpoint may include information describing entries of the write log. One or more of the checkpoints may be used to recover the write log, at least partially, after a dirty shutdown. Entries of the write log may be drained to respective originally intended destinations upon an occurrence of one of a number of conditions.
-
Citations
20 Claims
-
1. A method performed on a computing device, the method comprising:
-
receiving, by the computing device, a request to write data to an intended destination on a random access storage device; determining, by the computing device based on monitoring storage device offsets of read and write requests comprising the request to write the data, whether or not patterns of the read and write requests are sequential; writing, by the computing device in response to the patterns of the read and write requests being sequential or in response to a write log status indicating invalidation only, the data to at least one intended destination in the random access storage device, where the write log status indicating invalidation only indicates that only invalidation records can be written to the write log; redirecting, by the computing device in response to the patterns of the read and write requests not being sequential and in response to the write log status not indicating invalidation only, the data to the write log; and mapping, by the computing device in response to the redirecting, the redirected data to the at least one intended destination. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system comprising:
-
a computing device that includes at least one processor and memory storing instructions; and the instructions that, based on execution by the at least one processor, configure the computing device to; receive a request to write data to an intended destination on a random access storage device; determine, based on monitoring storage device offsets of read and write requests comprising the request to write the data, whether or not patterns of the read and write requests are sequential; write, in response to the patterns of the read and write requests being sequential or in response to a write log status indicating invalidation only, the data to at least one intended destination in the random access storage device, where the write log status indicating invalidation only indicates that only invalidation records can be written to the write log; redirect, in response to the patterns of the read and write requests not being sequential and in response to the write log status not indicating invalidation only, the data to the write log; and map, in response to the redirecting, the redirected data to the at least one intended destination. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A machine-readable storage medium comprising:
memory that comprises instructions that, based on execution by at least one processor of a computing device, configure the computing device to perform actions comprising; receiving a request to write data to an intended destination on a random access storage device; determining, based on monitoring storage device offsets of read and write requests comprising the request to write the data, whether or not patterns of the read and write requests are sequential with respect to the intended destination; writing, in response to the patterns of the read and write requests being sequential or in response to a write log status indicating invalidation only, the data to at least one intended destination in the random access storage device, where the write log status indicating invalidation only indicates that only invalidation records can be written to the write log; redirecting, in response to the patterns of the read and write requests not being sequential and in response to the write log status not indicating invalidation only, the data to the write log, where an invalidation-only status of the write log indicates that only invalidation records can be written to the write log; and mapping, in response to the redirecting, the redirected data to the at least one intended destination. - View Dependent Claims (15, 16, 17, 18, 19, 20)
Specification