You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2025/02/09 01:49:00 UTC

[jira] [Assigned] (NIFI-14236) Load Balance using Partition by Attribute results in poor distribution

     [ https://issues.apache.org/jira/browse/NIFI-14236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Handermann reassigned NIFI-14236:
---------------------------------------

    Assignee: David Handermann

> Load Balance using Partition by Attribute results in poor distribution
> ----------------------------------------------------------------------
>
>                 Key: NIFI-14236
>                 URL: https://issues.apache.org/jira/browse/NIFI-14236
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: David Handermann
>            Priority: Major
>
> NIFI-9638 aimed to eliminate unnecessary dependencies on the Google Guava library. However, in doing so, it changed the hashing algorithm from Consistent Hashing to a much simpler hashing algorithm that results in poor distribution of data.
> Consistent Hashing was specifically chosen for this use case because it provides excellent distribution of data across a given spectrum of bins, and also is designed such that if the number of bins (in this case number of NiFi nodes) changes, the number of elements that need to be re-distributed (in this case the number of FlowFiles) is minimal.
> We need to revert back to Consistent Hashing in order to provide better distribution of data across the cluster.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)