Hi Robert, 

Looking at 
https://github.com/opendaylight/mdsal/blob/master/dom/mdsal-dom-api/src/main/java/org/opendaylight/mdsal/dom/api/DOMDataTreeShardingService.java

Few clarifications:
For same prefix duplicate producers are not allowed - this is understandable. 
But there is a possibility that two distinct producers/shards can have 
overlapping prefixes - if this is allowed, would not there be a scenario 
wherein we could end up with a superset shard and subset shard 

Eg. Let's assume there is a subtree whose prefix is /a/b/c/d mapped to shard 1 
and another /a/b/c/d/e/f mapped to another shard. 
In other words, we can have recursive shards (hypothetical worst case could be 
that these recursive shards could have their own backend instances).
Would this not lead to relatively complex read and write routing 
implementations? Are such overlaps prevented by Sharding service contracts ?

Regards
Muthu


-----Original Message-----
From: controller-dev-boun...@lists.opendaylight.org 
[mailto:controller-dev-boun...@lists.opendaylight.org] On Behalf Of Robert Varga
Sent: Sunday, December 25, 2016 11:35 PM
To: Colin Dixon <co...@colindixon.com>; Shrenik Jain 
<shrenik.j...@research.iiit.ac.in>
Cc: integration-...@lists.opendaylight.org <d...@lists.opendaylight.org>; 
controller-dev <controller-dev@lists.opendaylight.org>; 
mdsal-...@lists.opendaylight.org; intern-ad...@opendaylight.org
Subject: Re: [controller-dev] Interested in Contribution : "Replacing the 
MD-SAL data store with etcd"

On 12/23/2016 05:39 PM, Colin Dixon wrote:
> It looks like this might be the most real it got:
> https://git.opendaylight.org/gerrit/#/c/14998/
> <https://git.opendaylight.org/gerrit/#/c/14998/>

It has gotten way more real than that, benchmarks for IMDS were presented at 
the last ODL Summit.

Base entrypoint is implemented here:

https://github.com/opendaylight/mdsal/blob/master/dom/mdsal-dom-broker/src/main/java/org/opendaylight/mdsal/dom/broker/ShardedDOMDataTree.java

Helper classes for shard implementations live here:
https://github.com/opendaylight/mdsal/tree/master/dom/mdsal-dom-spi/src/main/java/org/opendaylight/mdsal/dom/spi/shard

IMDS implementation lives here:
https://github.com/opendaylight/mdsal/blob/master/dom/mdsal-dom-inmemory-datastore/src/main/java/org/opendaylight/mdsal/dom/store/inmemory/InMemoryDOMDataTreeShard.java

CDS implementation is under review, patch series starts here:
https://git.opendaylight.org/gerrit/44943

Regards,
Robert

_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Reply via email to