+1
After going through the example and providing comments on the PR.
On 2/23/2017 12:10 PM, Karen Miller wrote:
Calling all Geode devs:
I've put together a new, and quite basic example that attempts to
demonstrate
what partitioning does. Please review and see the PR at
https://github.com/apache/geode-examples/pull/3
When reviewing this example, please keep in mind that my goal is to
tightly focus on partitioning, so it really doesn't do too much. Other
(future)
examples will demonstrate other and more complex aspects of using or
developing
with Geode.
Here's the comment I placed in the PR, as you'd want to see this in order to
run the example yourself:
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.