Re: [Dev] Fixing Message Counters and Queue Purging features for MB 2.1.1 after disruptor implementation

2013-09-08 Thread Ishara Premadasa
Hi Malinga, On Fri, Aug 30, 2013 at 2:42 PM, Malinga Purnasiri malin...@wso2.comwrote: hi Ishara, As i remember since per message count increment to DB kill the performance of MB considerably; we all thought of removing it for the moment. With the new disruptor changes we thought of

Re: [Dev] Fixing Message Counters and Queue Purging features for MB 2.1.1 after disruptor implementation

2013-09-08 Thread Malinga Purnasiri
Hi Ishara, This is great !!! On Mon, Sep 9, 2013 at 12:30 AM, Ishara Premadasa ish...@wso2.com wrote: Hi Malinga, On Fri, Aug 30, 2013 at 2:42 PM, Malinga Purnasiri malin...@wso2.comwrote: hi Ishara, As i remember since per message count increment to DB kill the performance of MB

Re: [Dev] Fixing Message Counters and Queue Purging features for MB 2.1.1 after disruptor implementation

2013-08-30 Thread Malinga Purnasiri
hi Ishara, As i remember since per message count increment to DB kill the performance of MB considerably; we all thought of removing it for the moment. With the new disruptor changes we thought of updating queue count periodically (not in real-time). So i think its not good idea to depend on the

Re: [Dev] Fixing Message Counters and Queue Purging features for MB 2.1.1 after disruptor implementation

2013-08-30 Thread Hasitha Hiranya
Hi, Did not we increment queue count together with message storing, as a combined call to Cassandra database? AFAIR we did. How did it add an additional cost? If we periodically update queue count we have to be aware of usability issues. What abt, 1. Always keep queue count in memory. 2. We

[Dev] Fixing Message Counters and Queue Purging features for MB 2.1.1 after disruptor implementation

2013-08-28 Thread Ishara Premadasa
Hi, Since we have removed the message counters after introducing the disruptor based message processing for MB 2.1.1 both the above features are currently not working and we are trying to fix this. As the previous MessageWriter, implementations from 2.1.0 are no longer used, now we don't keep