Marko A. Rodriguez created TINKERPOP-1613:
---------------------------------------------

             Summary: Create distributed side-effects/reducers
                 Key: TINKERPOP-1613
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1613
             Project: TinkerPop
          Issue Type: Improvement
          Components: process
    Affects Versions: 3.2.3
            Reporter: Marko A. Rodriguez


Right now, {{groupCount()}}, {{group()}}, {{dedup()}}, {{fold()}}, etc. yield 
side-effects or reductions that can potentially be large data structures. As 
opposed to {{count()}}, {{sum()}}, and the like which reduce on a single 
primitive.

We should be able to maintain distributed representations of the larger data 
structures using a hashing method. For example, if the {{groupCount()}} yields:

{code}
["a":1,"b":3,"c":5]
{code}

"a":1 can be on worker 1, "b":3 on worker 3, and "c":5 on worker 3.

In {{GraphActors}} we have much more control regarding how data is laid out 
across the cluster and thus, should use this flexibility to support distributed 
side-effects/reductions.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to