Queued Transaction Processing
4.1 Why Use Queues?
In direct transaction processing, a client sends a request to a server and synchronously waits for the server to run the transaction and reply. For example, using RPC, the client sends a request to the system as an RPC, which returns with a reply indicating whether or not the transaction ran.
Even though this direct TP model is widely used in practice, it has some limitations (see Figure 4.1). The first problem is dealing with the failure of a server or of client-server communications, which prevents a client from communicating with the server. If a client sends a request to this server, it immediately receives an error telling it that the server is down or disconnected and therefore is ...
Get Principles of Transaction Processing, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.