Kirill Tkalenko created IGNITE-22558:
----------------------------------------
Summary: 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
Fix For: 3.0.0-beta2
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)