Database interface architecture with time-based load balancing in a real-time environment
First Claim
Patent Images
1. A method for load-dependent handling database transaction requests comprising:
- receiving a database transaction request from a client;
placing said database transaction request in a buffer memory;
transferring the database transaction requests residing in the buffer memory into an intermediate storage device in response to a load-dependent transfer command supplied to the buffer memory; and
transmitting from the intermediate storage device selected ones of the database transaction requests to a database for updating corresponding records in the database.
6 Assignments
0 Petitions
Accused Products
Abstract
A database interface architecture is disclosed that operates in an asynchronous mode, provides for load balancing over time, and is optimized for high speed. Even when the system is under light load, data is inserted into the database in a timely manner by flushing the buffer after a configurable time interval, regardless of how full or empty the buffer is, thereby ensuring that data does not remain in the buffer during times of light or no load. The buffer can also be flushed by setting a flag whereby the buffer is flushed regardless of the timestamp on the buffer.
39 Citations
20 Claims
-
1. A method for load-dependent handling database transaction requests comprising:
-
receiving a database transaction request from a client;
placing said database transaction request in a buffer memory;
transferring the database transaction requests residing in the buffer memory into an intermediate storage device in response to a load-dependent transfer command supplied to the buffer memory; and
transmitting from the intermediate storage device selected ones of the database transaction requests to a database for updating corresponding records in the database. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer system for handling load-dependent database transaction requests, comprising
a network interface receiving transaction requests from a client; -
a buffer memory receiving from the input port the transaction requests;
an intermediate storage connected to the buffer memory, said buffer memory transferring the database transaction requests residing in the buffer memory into an intermediate storage device in response to a load-dependent transfer command supplied to the buffer memory; and
a database interface for transmitting from the intermediate storage device selected ones of the database transaction requests to a database for updating corresponding records in the database. - View Dependent Claims (12)
-
-
13. A database server for handling database interactions between a client and a database over a network, comprising:
-
a network interface receiving records for a database interaction, a buffer memory for temporarily storing the received records, at least one worker thread for handling transfer of the received records to the buffer memory, an intermediate storage device in data communication with the buffer memory, said buffer memory transferring the temporarily stored records residing in the buffer memory into the intermediate storage device in response to a load-dependent transfer command supplied to the buffer memory; and
at least one database thread different from the at least one worker thread, said at least one database thread monitoring the intermediately stored records in the intermediate storage device and, if a record in the database matches an intermediately stored record, processing the intermediately stored record for updating the matching record in the database. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. A computer system for handling load-dependent database transaction requests, comprising computer instructions for:
-
placing a database transaction request received from a client into a buffer memory;
transferring the database transaction requests residing in the buffer memory into an intermediate storage device in response to a load-dependent transfer command supplied to the buffer memory; and
transmitting from the intermediate storage device selected ones of the database transaction requests to a database for updating corresponding records in the database.
-
-
20. A computer-readable medium storing a computer program executable by at least one server computer, the computer program comprising computer instructions for:
-
placing a database transaction request received from a client into a buffer memory;
transferring the database transaction requests residing in the buffer memory into an intermediate storage device in response to a load-dependent transfer command supplied to the buffer memory; and
transmitting from the intermediate storage device selected ones of the database transaction requests to a database for updating corresponding records in the database.
-
Specification