[ 
https://issues.apache.org/jira/browse/GEODE-2231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15882033#comment-15882033
 ] 

ASF GitHub Bot commented on GEODE-2231:
---------------------------------------

Github user sbawaska commented on the issue:

    https://github.com/apache/geode-examples/pull/3
  
    I think our examples should demonstrate how to use a particular feature and 
not try to show how not to use something.
    In this case, I think we could show how partitioning works when you use a 
good hashCode implementation; then demonstrate how to use a PartitionResolver 
to ensure some related keys end up in the same bucket.


> Create new partitioning example
> -------------------------------
>
>                 Key: GEODE-2231
>                 URL: https://issues.apache.org/jira/browse/GEODE-2231
>             Project: Geode
>          Issue Type: Improvement
>          Components: docs
>            Reporter: Karen Smoler Miller
>            Assignee: Karen Smoler Miller
>            Priority: Minor
>
> Add a new example to the geode-examples that demonstrates partitioning.
> The example will use the same structure as the replicated example, starting 2 
> servers that host a partitioned region (with no redundant copies).  Run the 
> producer to populate the region.  Run the consumer to see the contents of the 
> region. Then, stop one of the servers and run the consumer again to notice 
> that only roughly half (with 2 servers and hopefully a reasonable hash) of 
> the entries are present.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to