[Dev] [MB][MQTT] By passing the message store for QoS 0 flows when running in stand alone mode

2014-12-15 Thread Pamod Sylvester
Hi All, Since QoS 0 in MQTT is a performance oriented delivery mode, an in-memory based message store was implemented to bypass the message database when running MB in stand alone mode, however when running in cluster in-memory store will not be applicable, since in order to exchange messages

Re: [Dev] [MB][MQTT] By passing the message store for QoS 0 flows when running in stand alone mode

2014-12-15 Thread Asitha Nanayakkara
Hi Pamod, Inverted bitmap technique[1] looks good for the purpose. Algorithm is O(n) where n is number of sections in the destination, not subscribers. Only concern is memory consumption and updating the maps when new subscribers come while messages are flowing through the system at higher rates

Re: [Dev] [MB][MQTT] By passing the message store for QoS 0 flows when running in stand alone mode

2014-12-15 Thread Pamod Sylvester
Sure, let's discuss and see how we could incorporate this algorithm, This could also be added into the Andes Kernal as well. Thanks, Pamod On Tue, Dec 16, 2014 at 7:54 AM, Asitha Nanayakkara asi...@wso2.com wrote: Hi Pamod, Inverted bitmap technique[1] looks good for the purpose. Algorithm

Re: [Dev] [MB][MQTT] By passing the message store for QoS 0 flows when running in stand alone mode

2014-12-15 Thread Ramith Jayasinghe
This needs to be implemented for topic matching as well. On Tue, Dec 16, 2014 at 9:58 AM, Pamod Sylvester pa...@wso2.com wrote: Sure, let's discuss and see how we could incorporate this algorithm, This could also be added into the Andes Kernal as well. Thanks, Pamod On Tue, Dec 16, 2014