Hi, You can increase number of partition through affinity function configuration, but default value (1024 partitions) would be enough.
<bean class="org.apache.ignite.configuration.CacheConfiguration"> ... <property name="affinity"> <bean class="org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction"> <property name="partitions" value="1024"/> </bean> </property> I do not shure than FairAffinityFunction will help to you, in case if keys 553, 551, 554, 550 will hit into one node. How about choose more selective affinty key than current? On Wed, Oct 26, 2016 at 5:16 AM, ght230 <[email protected]> wrote: > How to increase number of partitions? > > And if data skew happened, how can I rebalance it? > Using FairAffinityFunction()? > > > > -- > View this message in context: http://apache-ignite-users. > 70518.x6.nabble.com/How-to-avoid-data-skew-in-collocate- > data-with-data-tp8454p8491.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > -- Vladislav Pyatkov
