The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Jan. 21, 2025

Filed:

Feb. 01, 2022
Applicant:

Stripe, Inc., South San Francisco, CA (US);

Inventors:

Peter Wang, Seattle, WA (US);

Alexander Thiemann, San Francisco, CA (US);

Adam Eagle, San Francisco, CA (US);

Hongshan Zhou, San Francisco, CA (US);

Ji Huang, Bothell, WA (US);

Assignee:

STRIPE, INC., South San Francisco, CA (US);

Attorney:
Primary Examiner:
Assistant Examiner:
Int. Cl.
CPC ...
G06F 16/23 (2019.01); G06F 9/52 (2006.01);
U.S. Cl.
CPC ...
G06F 9/524 (2013.01); G06F 16/2343 (2019.01); G06F 16/2365 (2019.01);
Abstract

A method for preventing race conditions in a database comprises: setting a first numerical entry and a second numerical entry in a database; receiving a first online transaction; responsive to determining a lock of the database is in progress due to a second received online transaction, suspending the first online transaction; removing the lock after the second received online transaction is completed; responsive to determining that the first entry is greater than zero, decrementing the first entry by an amount indicated in the first online transaction; responsive to determining the second entry is greater than zero, decrementing the second entry; processing the first transaction; and generating an online transaction record for the first transaction and storing the generated record in an online transaction database.


Find Patent Forward Citations

Loading…