Datastore workload isolation
AssigneeSnowflake Inc.
InventorTrevor Clinkenbeard
Life of this patent
Estimating the term…
Abstract
The subject technology receives, by a proxy interface, the request to determine the read version of the transaction. The subject technology determines, based on the request, that the transaction is associated with the tag included in the request. The subject technology generates a sequence number for the request. The subject technology places the request in a queue associated with the tag based on the sequence number, the queue including a set of requests to determine a particular read version of a particular transaction. The subject technology determines, using a token bucket, that the request in the queue should be throttled based on information related to a quota for the tag stored in a distributed database key store.
Claims20
A system comprising:
- at least one hardware processor;
- and
- a memory storing instructions that cause the at least one hardware processor to perform operations comprising:
- receiving a transaction, the transaction associated with an account;
- generating a tag for the transaction, the tag comprising a capacity group corresponding to the account;
- generating a request to determine a read version of the transaction, the request including the tag;
- and
- sending, to a proxy interface provided by a distributed database, the request to determine the read version of the transaction.
A method comprising:
- receiving a transaction, the transaction associated with an account;
- generating a tag for the transaction, the tag comprising a capacity group corresponding to the account;
- generating a request to determine a read version of the transaction, the request including the tag;
- and
- sending, to a proxy interface provided by a distributed database, the request to determine the read version of the transaction.
A computer-storage medium comprising instructions that, when executed by one or more processors of a machine, configure the machine to perform operations comprising:
- receiving a transaction, the transaction associated with an account;
- generating a tag for the transaction, the tag comprising a capacity group corresponding to the account;
- generating a request to determine a read version of the transaction, the request including the tag;
- and
- sending, to a proxy interface provided by a distributed database, the request to determine the read version of the transaction.
Dependencies are inferred from the claim text.