[
https://issues.apache.org/jira/browse/IGNITE-22558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kirill Tkalenko updated IGNITE-22558:
-------------------------------------
Labels: ignite-3 ignite3_performance (was: )
> Optimize sending to yourself in DefaultMessagingService
> -------------------------------------------------------
>
> Key: IGNITE-22558
> URL: https://issues.apache.org/jira/browse/IGNITE-22558
> Project: Ignite
> Issue Type: Improvement
> Reporter: Kirill Tkalenko
> Assignee: Kirill Tkalenko
> Priority: Major
> Labels: ignite-3, ignite3_performance
> Fix For: 3.0.0-beta2
>
> Attachments: image (15).png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> As a result of studying the flamegraphs, it was discovered that when sending
> messages to yourself there are non-optimal sections of code:
> # Initializing *java.net.InetSocketAddress* spends a lot of time for
> *org.apache.ignite.internal.network.DefaultMessagingService#isSelf*.
> # Iterating through handlers in
> *org.apache.ignite.internal.network.DefaultMessagingService#sendToSelf*
> creates an unnecessary iterator.
> It would also be good to optimize the obviously non-optimal places:
> *
> *org.apache.ignite.internal.network.serialization.PerSessionSerializationService#createClassDescriptorsMessages*
--
This message was sent by Atlassian Jira
(v8.20.10#820010)