Hi Sergey, To achieve guaranteed message delivery you need to be using transactions on *publish*. Qpid then guarantees 'at least once' delivery. You'd offset the reliable delivery cost against the cost or message loss during a failure from sending non-transacted messages. The use of transactions and persistence for reliable messaging adds cost in the shape of I/O.
However, you could opt not to use transactions on consume since you cannot conceptually lose a message during consumption - if there's a failure and a message ack doesn't get back to the broker then you'll simply get the message back again on restart. This assumes that you listen/catch/handle errors and exception on consume such that you don't have application level side effects. Regards, Marnie On Tue, Mar 22, 2011 at 1:03 PM, <[email protected]> wrote: > Hi there > > I'm working with qpid 0.8 by means of JMS API and I'm using > CLIENT_ACKNOWLEDGE mode to get higher performance comparing to > transactinal processing. > As a rule performance is rather pure in both cases. In transactional mode > I can receive about 1.6K messages per second, in CLIENT_ACKNOWLEDGE mode > I'm able to receive about 3.6K messages per second and in AUTO_ACKNOWLEDGE > mode I'm able to receive about 70K messages per second. > > Are there any recommendations how to improve performance and get a > guaranted message delivery? > > > Best Regards, > Sergey > _______________________________________________________ > > The information contained in this message may be privileged and conf > idential and protected from disclosure. If you are not the original intended > recipient, you are hereby notified that any review, retransmission, > dissemination, or other use of, or taking of any action in reliance upon, > this information is prohibited. If you have received this communication in > error, please notify the sender immediately by replying to this message and > delete it from your computer. Thank you for your cooperation. Troika Dialog, > Russia. > If you need assistance please contact our Contact Center (+7495) 258 0500 > or go to www.troika.ru/eng/Contacts/system.wbp > >
