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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access