摘要:
An asynchronous database API allows threads to call a database and continue to execute without spawning a thread to wait for the database and without polling the database. The API immediately returns to a caller without waiting for a database operation to complete or for any other external event. A call to an asynchronous database API can invoke an initialization method. The initialization method may validate the input parameters, build them into a message for a database operation, send the message to the database server, and return signal information to the client process thread. Signal information provides a client thread with a way to recognize a signal indicating the return of results from a database. Upon completion of a database operation, a thread can call a finalization method to perform any final step to process the database results and pass the formatted results to the thread.
摘要:
An asynchronous database API allows threads to call a database and continue to execute without spawning a thread to wait for the database and without polling the database. The API immediately returns to a caller without waiting for a database operation to complete or for any other external event. A call to an asynchronous database API can invoke an initialization method. The initialization method may validate the input parameters, build them into a message for a database operation, send the message to the database server, and return signal information to the client process thread. Signal information provides a client thread with a way to recognize a signal indicating the return of results from a database. Upon completion of a database operation, a thread can call a finalization method to perform any final step to process the database results and pass the formatted results to the thread.
摘要:
Session multiplex protocol (“SMUX”) is a protocol layered above existing reliable transport mechanisms that can be used to create multiple sessions over a single connection. Data from several different SMUX sessions can be interleaved and message boundaries preserved. Because it sits on top of reliable transport mechanisms, it takes advantage of the underlying protocols to ensure byte-alignment, loss detection/recovery, and reliable delivery. It provides a window based flow control mechanism to ensure suitable fairness among streams of different sessions and prevent deadlocks.
摘要:
A Dedicated Administrator Connection (DAC) for a database server is provided that allows a user with administrator privileges to connect to the database server when a connection by standard means fails. By allowing an administrator to connect to the server through the DAC, the administrator can resolve the issue despite the failure and bring back the server to a responsive state without requiring the server to be shut down and restarted. Additionally, support engineers, developers, etc. can use the DAC to diagnose a range of problems without the use of a debugger or requesting a repro while monitoring for issues.
摘要:
A Dedicated Administrator Connection (DAC) for a database server is provided that allows a user with administrator privileges to connect to the database server when a connection by standard means fails. By allowing an administrator to connect to the server through the DAC, the administrator can resolve the issue despite the failure and bring back the server to a responsive state without requiring the server to be shut down and restarted. Additionally, support engineers, developers, etc. can use the DAC to diagnose a range of problems without the use of a debugger or requesting a repro while monitoring for issues.
摘要:
Session multiplex protocol (“SMUX”) is a protocol layered above existing reliable transport mechanisms that can be used to create multiple sessions over a single connection. Data from several different SMUX sessions can be interleaved and message boundaries preserved. Because it sits on top of reliable transport mechanisms, it takes advantage of the underlying protocols to ensure byte-alignment, loss detection/recovery, and reliable delivery. It provides a window based flow control mechanism to ensure suitable fairness among streams of different sessions and prevent deadlocks.