Ola Fernando, ATM the only option for the shard key is in fact *_id. * There are some options on the schema design but they are not an option ATM. Sharding should work well on a single datacenter but be advise that for multidatacenter deployments latency will come to play on listing operations.
Abraço, N. On Tue, Sep 8, 2015 at 9:49 PM, Lemes, Fernando <[email protected]> wrote: > > Hi everyone, > > I'm making some experiments with Oak Jackrabbit on a sharded MongoDB. > It seems that the only collection that I can shard is the "nodes" using the > "_id" as the sharding key. Is that right? Did anyone ever tried something > different than this or have some experience to share about this topic? > > > Thanks! > > Fernando Lemes da Silva > Software Engineer - Brazil R&D > [email protected]<mailto:[email protected]> > +55-11-4197-8124 > >
