You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by tendlu <su...@yahoo-inc.com> on 2007/09/20 05:10:59 UTC
Equivalent of Tibco EMS FailSafe
Tibco has a configuration to mark a queue "fail safe". This means the
messages for a "fail safe" queue is synchronously written to the disk. In
other words, no buffering is done for write (probably uses fsync -- that
gaurantees the data is flushed to the disk). If the server goes down, no
message is lost. This is described as the most "reliable mode".
Is there an equivalent to this in ActiveMQ?
Tibco also has a "non fail safe" mode for the queues which means it does not
synchronously write to the disk. On other words, some kind of buffering is
done by the writer. "Non fail safe" mode performs far better than "fail
safe" because of the synchronous write.
thanks in advance.
--
View this message in context: http://www.nabble.com/Equivalent-of-Tibco-EMS-FailSafe-tf4485108s2354.html#a12790117
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Equivalent of Tibco EMS FailSafe
Posted by Bruce Snyder <br...@gmail.com>.
On 9/20/07, tendlu <su...@yahoo-inc.com> wrote:
>
> Thanks for the reply. Do you happen to know the configuration flag for kaha
> persistence to enable syncOnWrite? If kaha does not support that can you let
> me know a storage adapter that I can use that supports syncOnWrite?
It doesn't appear to me that the KahaMessageStore offers syncOnWrite.
Only the AMQMessageStore offers this feature.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/
Re: Equivalent of Tibco EMS FailSafe
Posted by tendlu <su...@yahoo-inc.com>.
Thanks for the reply. Do you happen to know the configuration flag for kaha
persistence to enable syncOnWrite? If kaha does not support that can you let
me know a storage adapter that I can use that supports syncOnWrite?
TIA
rajdavies wrote:
>
> ActiveMQ has a pluggable storage mechanism - and the ability to sync
> to disk for every write is usually a property of the Store used by
> the broker. For amq 5.0 - the default store is the amq store -
> where the property is syncOnWrite, default is off.
> On Sep 21, 2007, at 12:44 AM, tendlu wrote:
>
>>
>> James or Hiram?
>>
>>
>> tendlu wrote:
>>>
>>> Tibco has a configuration to mark a queue "fail safe". This means the
>>> messages for a "fail safe" queue is synchronously written to the
>>> disk. In
>>> other words, no buffering is done for write (probably uses fsync
>>> -- that
>>> gaurantees the data is flushed to the disk). If the server goes
>>> down, no
>>> message is lost. This is described as the most "reliable mode".
>>>
>>> Is there an equivalent to this in ActiveMQ?
>>>
>>> Tibco also has a "non fail safe" mode for the queues which means
>>> it does
>>> not synchronously write to the disk. On other words, some kind of
>>> buffering is done by the writer. "Non fail safe" mode performs far
>>> better
>>> than "fail safe" because of the synchronous write.
>>>
>>>
>>> thanks in advance.
>>>
>>
>> --
>> View this message in context: http://www.nabble.com/Equivalent-of-
>> Tibco-EMS-FailSafe-tf4485108s2354.html#a12808111
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>
>
>
--
View this message in context: http://www.nabble.com/Equivalent-of-Tibco-EMS-FailSafe-tf4485108s2354.html#a12810913
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Equivalent of Tibco EMS FailSafe
Posted by Rob Davies <ra...@gmail.com>.
ActiveMQ has a pluggable storage mechanism - and the ability to sync
to disk for every write is usually a property of the Store used by
the broker. For amq 5.0 - the default store is the amq store -
where the property is syncOnWrite, default is off.
On Sep 21, 2007, at 12:44 AM, tendlu wrote:
>
> James or Hiram?
>
>
> tendlu wrote:
>>
>> Tibco has a configuration to mark a queue "fail safe". This means the
>> messages for a "fail safe" queue is synchronously written to the
>> disk. In
>> other words, no buffering is done for write (probably uses fsync
>> -- that
>> gaurantees the data is flushed to the disk). If the server goes
>> down, no
>> message is lost. This is described as the most "reliable mode".
>>
>> Is there an equivalent to this in ActiveMQ?
>>
>> Tibco also has a "non fail safe" mode for the queues which means
>> it does
>> not synchronously write to the disk. On other words, some kind of
>> buffering is done by the writer. "Non fail safe" mode performs far
>> better
>> than "fail safe" because of the synchronous write.
>>
>>
>> thanks in advance.
>>
>
> --
> View this message in context: http://www.nabble.com/Equivalent-of-
> Tibco-EMS-FailSafe-tf4485108s2354.html#a12808111
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
Re: Equivalent of Tibco EMS FailSafe
Posted by tendlu <su...@yahoo-inc.com>.
James or Hiram?
tendlu wrote:
>
> Tibco has a configuration to mark a queue "fail safe". This means the
> messages for a "fail safe" queue is synchronously written to the disk. In
> other words, no buffering is done for write (probably uses fsync -- that
> gaurantees the data is flushed to the disk). If the server goes down, no
> message is lost. This is described as the most "reliable mode".
>
> Is there an equivalent to this in ActiveMQ?
>
> Tibco also has a "non fail safe" mode for the queues which means it does
> not synchronously write to the disk. On other words, some kind of
> buffering is done by the writer. "Non fail safe" mode performs far better
> than "fail safe" because of the synchronous write.
>
>
> thanks in advance.
>
--
View this message in context: http://www.nabble.com/Equivalent-of-Tibco-EMS-FailSafe-tf4485108s2354.html#a12808111
Sent from the ActiveMQ - User mailing list archive at Nabble.com.