Hi, No, it will not help. Because affinity function have not information about data volume into partition. The purpose of the function (RendezvousAffinityFunction or FairAffinityFunction) is distribute evenly partition quantity between nodes (but not data). You can to deeper understand affinity contract if lock at it's interface[1].
[1]: https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/cache/affinity/AffinityFunction.java On Wed, Oct 26, 2016 at 5:57 PM, ght230 <[email protected]> wrote: > For some reason, I can not choose more selective affinty key than current. > > If I increase number of partition, will it help me to avoid the case that > keys 553, 551, 554, 550 hitting into one node? > > > > -- > View this message in context: http://apache-ignite-users. > 70518.x6.nabble.com/How-to-avoid-data-skew-in-collocate- > data-with-data-tp8454p8512.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > -- Vladislav Pyatkov
