Re: Un-subscribe cartridge takes 60+ sec

2014-11-14 Thread Imesh Gunaratne
ply-To: "dev@stratos.apache.org" > Date: Friday, November 14, 2014 11:18 AM > To: dev > Subject: Re: Un-subscribe cartridge takes 60+ sec > >Hi Jeffrey, > > Thanks for bringing this up. I was thinking about this issue sometime back > and thought that may be we cou

Re: Un-subscribe cartridge takes 60+ sec

2014-11-14 Thread Jeffrey Nguyen (jeffrngu)
: "dev@stratos.apache.org<mailto:dev@stratos.apache.org>" mailto:dev@stratos.apache.org>> Date: Friday, November 14, 2014 11:18 AM To: dev mailto:dev@stratos.apache.org>> Subject: Re: Un-subscribe cartridge takes 60+ sec Hi Jeffrey, Thanks for bringing this up. I was thinking

Re: Un-subscribe cartridge takes 60+ sec

2014-11-14 Thread Imesh Gunaratne
Hi Jeffrey, Thanks for bringing this up. I was thinking about this issue sometime back and thought that may be we could start the retry interval with a small value and then increase it step by step depending on the number of continuous failures. I noticed this approach in Gmail. I can do a quick

Re: Un-subscribe cartridge takes 60+ sec

2014-11-13 Thread Isuru Haththotuwa
Hi Jeffrey, On Fri, Nov 14, 2014 at 6:19 AM, Jeffrey Nguyen (jeffrngu) < jeffr...@cisco.com> wrote: > Hi, > > While testing Stratos 4.1 M3, I noticed about half the times, > unsubscribing a cartridge takes 60+ seconds to execute. During that time, > the caller is blocked. I poke around Strato

Re: Un-subscribe cartridge takes 60+ sec

2014-11-13 Thread Udara Liyanage
Hi, Yes 60 seconds is a long time. We can start from short value and increase timeout when failed as Imesh mentioned once. Touched, not typed. Erroneous words are a feature, not a typo. On Nov 14, 2014 6:19 AM, "Jeffrey Nguyen (jeffrngu)" wrote: > Hi, > > While testing Stratos 4.1 M3, I not

Un-subscribe cartridge takes 60+ sec

2014-11-13 Thread Jeffrey Nguyen (jeffrngu)
Hi, While testing Stratos 4.1 M3, I noticed about half the times, unsubscribing a cartridge takes 60+ seconds to execute. During that time, the caller is blocked. I poke around Stratos code and found TopicPublisher class that is responsible for the 60 second retry delay. The code sleeps for