RE: Affinity Key Annotation

2018-02-16 Thread Williams, Michael
Ah, thanks! From: Alexey Kukushkin [mailto:kukushkinale...@gmail.com] Sent: Friday, February 16, 2018 5:40 AM To: user@ignite.apache.org Subject: Re: Affinity Key Annotation Michael, data colocation work like this: * Ignite caches have partitions assignments so that primary partitions with

Re: Affinity Key Annotation

2018-02-16 Thread Alexey Kukushkin
Michael, data colocation work like this: - Ignite caches have partitions assignments so that primary partitions with same ID are assigned to the same physical location (node). - When you put/get data to a cache, Ignite maps value of a field annotated with @AffinityKeyMapped to a partit

RE: Affinity Key Annotation

2018-02-15 Thread Williams, Michael
Subject: Re: Affinity Key Annotation Mike, Not sure I understand a question.. Can you show an example of your data model and clarify what kind of collocation strategy you want to achieve? -Val -- Sent from: https://urldefense.proofpoint.com/v2/url?u=http-3A__apache-2Dignite-2Dusers.70518.x6

Re: Affinity Key Annotation

2018-02-15 Thread vkulichenko
Mike, Not sure I understand a question.. Can you show an example of your data model and clarify what kind of collocation strategy you want to achieve? -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/