6.3. Persistence and Transactions in Queues

Queues can be configured as persistent or transient. A persistent queue is stored on disk and is therefore protected against system failure. A transient queue is not protected against failure, but because it requires no disk access, it can run faster. I assume that persistent queues will be the norm for drawbridges. Drawbridges are a lot like databases; we almost always trade performance for reliability.

Queues can also be configured as transactional or nontransactional. A transactional queue acts as a transactional resource. A nontransactional queue does not. I talked about transactional resources back in Chapter 3 (Transactions), but let me give a brief refresher here. A transactional resource is ...

Get Software Fortresses: Modeling Enterprise Architectures 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.