Back to results
US 2022/0294853 A1Published application
Deterministic mapping and uniform routing of items to physical resources using hash values
AssigneeMicrosoft Technology Licensing, LLC
InventorsDanilo Landucci BENZATTI, Ahmed Hassan MOHAMED
Life of this patent
Estimating the term…
Abstract
A string, identifying an item to be assigned to a physical resource, is hashed to obtain a numeric hash value. The numeric hash value is downscaled to obtain a bucket identifier that identifies a bucket that will hold the numeric hash value. The bucket is then deterministically mapped to a physical resource so that it can be retrieved without accessing a stored data structure representative of the mapping.
Claims20
A computer system comprising:
- at least one processor;
- and
- memory storing instructions executable by the at least one processor, wherein the instructions, when executed, cause the computer system to:
- receive a string identifier that identifies an item to be assigned to one of a plurality of physical resources;
- obtain a numeric hash value based on applying a hashing function to the string identifier, the hashing function configured to generate numeric hash values that are distributed over a hash value space comprising a defined range of values;
- downscale the numeric hash value into a reduced value space of bucket identifiers, having fewer values than the hash value space, by deterministically obtaining a downscaled value corresponding to a selected bucket identifier based on the numeric hash value, a number of bucket identifiers in the reduced value space, and the hash value space;
- deterministically map the selected bucket identifier to a particular physical resource of the plurality of physical resources;
- and
- provide the item to the particular physical resource.
6 more elements
A computer implemented method comprising:
- receiving a string identifier that identifies an item to be assigned to one of a plurality of physical resources;
- obtaining a numeric hash value based on applying a hashing function to the string identifier, the hashing function configured to generate numeric hash values that are distributed over a hash value space comprising a defined range of values;
- downscaling the numeric hash value into a reduced value space of bucket identifiers, having fewer values than the hash value space, by deterministically obtaining a downscaled value corresponding to a selected bucket identifier based on the numeric hash value, a number of bucket identifiers in the reduced value space, and the hash value space;
- deterministically mapping the selected bucket identifier to a particular physical resource of the plurality of physical resources;
- and
- providing the item to the particular physical resource.
3 more elements
A computing system comprising:
- a consistent hash system configured to:
- receive a string identifier that identifies an item to be assigned to one of a plurality of physical resources;
- and
- obtain a numeric hash value based on applying a hashing function to the string identifier, the hashing function configured to generate numeric hash values that are distributed over a hash value space comprising a defined range of values;
- a downscaling system configured to downscale the numeric hash value into a reduced value space of bucket identifiers, having fewer values than the hash value space, by deterministically obtaining a downscaled value corresponding to a selected bucket identifier based on the numeric hash value, a number of bucket identifiers in the reduced value space, and the hash value space;
- a deterministic mapping system configured to deterministically map the selected bucket identifier to a particular physical resource of the plurality of physical resources;
- and
- a move component configured to provide the item to the particular physical resource.
5 more elements
Dependencies are inferred from the claim text.