[
https://issues.apache.org/jira/browse/IGNITE-21198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Bessonov updated IGNITE-21198:
-----------------------------------
Ignite Flags: (was: Docs Required,Release Notes Required)
> Optimize memory usage of AbstractEventProducer#fireEvent
> --------------------------------------------------------
>
> Key: IGNITE-21198
> URL: https://issues.apache.org/jira/browse/IGNITE-21198
> Project: Ignite
> Issue Type: Improvement
> Reporter: Ivan Bessonov
> Assignee: Ivan Bessonov
> Priority: Major
> Labels: ignite-3
> Fix For: 3.0.0-beta2
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> In current implementation, most of listeners do their work synchronously and
> return already completed futures. In that cases there's no sense to allocate
> the entire array of futures and fill it.
> Another reason for not allocating an array right away is the fact that we may
> have a big number of listeners, and allocating an array will be expensive and
> wasteful.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)