]
Radim Vansa closed ISPN-7765.
-----------------------------
Resolution: Rejected
Allow HotRodDecoder to be shared between Netty pipelines
--------------------------------------------------------
Key: ISPN-7765
URL:
https://issues.jboss.org/browse/ISPN-7765
Project: Infinispan
Issue Type: Enhancement
Reporter: Sebastian Ćaskawiec
Assignee: William Burns
Currently {{HotRodDecoder}} instance can not be shared between Netty pipelines as
{{HotRodEncoder}}. Currently each pipeline creates its own instance by calling:
{code}
server.getDecoder()
{code}
in {{NettyChannelInitializer#initializeChannel}}. We could probably make it a bit more
efficient (or limit allocation rate at least) if we allow sharing single instance between
pipelines.