[
https://issues.apache.org/jira/browse/IGNITE-27722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ilya Shishkov updated IGNITE-27722:
-----------------------------------
Description:
Initial optimization was introduced in IGNITE-3060 and was removed in:
IGNITE-27652
Affect should be investigated.
*Problem:*
{{#sendMessageToClients}} broadcasts {{TcpDiscoveryAbstractMessage}} to all
clients, i.e. it adds message to several {{ClientMessageWorker}} queues.
Currently, each {{ClientMessageWorker}} polls message from queue and serializes
it before sending via socket, so each message will be serialized as many times
as we have client nodes.
was:
Initial optimization was introduced in IGNITE-3060 and was removed in:
IGNITE-27652
Affect should be investigated.
Problem:
{{#sendMessageToClients}} broadcasts {{TcpDiscoveryAbstractMessage}} to all
clients, i.e. it adds message to several {{ClientMessageWorker}} queues.
Currently, each {{ClientMessageWorker}} polls message from queue and serializes
it before sending via socket, so each message will be serialized as many times
as we have client nodes.
> Investigate duplicated serialization in RingMessageWorker#sendMessageToClients
> ------------------------------------------------------------------------------
>
> Key: IGNITE-27722
> URL: https://issues.apache.org/jira/browse/IGNITE-27722
> Project: Ignite
> Issue Type: Task
> Reporter: Ilya Shishkov
> Assignee: Ilya Shishkov
> Priority: Major
> Labels: IEP-132, ise
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Initial optimization was introduced in IGNITE-3060 and was removed in:
> IGNITE-27652
> Affect should be investigated.
> *Problem:*
> {{#sendMessageToClients}} broadcasts {{TcpDiscoveryAbstractMessage}} to all
> clients, i.e. it adds message to several {{ClientMessageWorker}} queues.
> Currently, each {{ClientMessageWorker}} polls message from queue and
> serializes it before sending via socket, so each message will be serialized
> as many times as we have client nodes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)