Hi Shammi, In the existing version of MB, for topics we duplicate the content and metadata. We thought of having reference counting to avoid duplication of message content. But implementing reference counting in Cassandra is unreliable (JDBC is ok). Also having different logic for different database types is inconsistent with what we wanted to achieve through the new storage model (with abstracted out MessageStore interface and storing strategies).
One of the options would be to duplicate metadata with a reference to the same content (need a new field in metadata). One of the concerns is how to delete content safely without deleting content prior to all the subscribers, for the topic, successfully receive the message. I think we will have to discuss and relook at what is the best approach for this. Thanks On Tue, Sep 30, 2014 at 4:21 PM, Shammi Jayasinghe <[email protected]> wrote: > Hi Hasitha, > > Could you please clarify what you mention my duplicating message metadata > and content. > > Thanks > Shammi > > > > On Tue, Sep 30, 2014 at 11:21 AM, Hasitha Hiranya <[email protected]> > wrote: > >> Hi Devs, >> >> For MB 3.0.0 we have identified following TODOs for the moment on the way >> to milestone 1. >> >> >>duplicate message metadata and content >> >>message store manager (all methods in message store to be moved to >> manager??) >> >>"durable" for in-memory >> >>depreciated methods in message store remove >> >>Cassandra server feature remove with Cassandra profile >> >>Ackreceived - should be removed from message store >> >>remove all logics from message store and make it plain >> >>why acks are sent to disruptor?? >> >> >>topic integration >> >> Thanks >> -- >> *Hasitha Abeykoon* >> Senior Software Engineer; WSO2, Inc.; http://wso2.com >> *cell:* *+94 719363063* >> *blog: **abeykoon.blogspot.com* <http://abeykoon.blogspot.com> >> >> > > > -- > Best Regards, > > * Shammi Jayasinghe* > Associate Tech Lead > WSO2, Inc.; http://wso2.com, > mobile: +94 71 4493085 > > -- *Asitha Nanayakkara* Software Engineer WSO2, Inc. http://wso2.com/ Mob: + 94 77 85 30 682
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
