1.

If A Persistent Message Is Published On To A Topic, Does These Messages Will Store On Disk If Topic Doesn’t Have Durable Subscriber Or Subscriber With A Fault-tolerant Connection?

Answer»

No. PERSISTENT messages published to a topic are WRITTEN to disk only if that topic has at least ONE durable subscriber or one subscriber with a fault-tolerant connection to the EMS server. In the ABSENCE of a durable subscriber or subscriber with a fault-tolerant connection, there are no SUBSCRIBERS that need messages resent in the event of a server failure. In this case, the server does not needlessly save persistent messages. This improves performance by eliminating the unnecessary disk I/O to persist the messages.

No. Persistent messages published to a topic are written to disk only if that topic has at least one durable subscriber or one subscriber with a fault-tolerant connection to the EMS server. In the absence of a durable subscriber or subscriber with a fault-tolerant connection, there are no subscribers that need messages resent in the event of a server failure. In this case, the server does not needlessly save persistent messages. This improves performance by eliminating the unnecessary disk I/O to persist the messages.



Discussion

No Comment Found