O'Reilly logo

Principles of Transaction Processing, 2nd Edition by Eric Newcomer, Philip A. Bernstein

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required