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

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

GitHub user karensmolermiller opened a pull request:

    https://github.com/apache/geode-examples/pull/3

    GEODE-2231 A partitioned region example

    This example intends to demonstrate what partitioning does (distributes 
entries across buckets, and therefore across servers).  It also illustrates 
what goes wrong when a bad hashcode is used, such that all entries end up in 
the same bucket.
    
    Running the example is explained in the partitioned/README.md file.  It 
assumes that the reader has already read and followed the minimal directions in 
the README.md file at the root of the geode-examples repo.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/geode-examples feature/GEODE-2231

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/geode-examples/pull/3.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3
    
----
commit d551b7c7e999ee7f9774f9d84b72c3a06a770fd7
Author: Karen Miller <kmil...@pivotal.io>
Date:   2017-01-03T21:47:52Z

    GEODE-2231 A partitioned region example
    
    - partitioned/README.md has instructions for running this
    example

----


> 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