+1 for using GridNioServer as java thin client communication layer. вс, 8 нояб. 2020 г. в 19:12, Pavel Tupitsyn <ptupit...@apache.org>:
> Igniters, > > This is a continuation of "Use Netty for Java thin client" [1], > I'm starting a new thread for better visibility. > > The problems with current Java thin client are: > * Socket writes block user threads > * Every connection uses a separate listener thread (with partition > awareness there is a thread for every server node within a single > IgniteClient) > > GridNioServer can work in client mode and solves both of these problems. > It is the most practical choice as well at the moment - no extra > dependencies required. > > A potential drawback is increased coupling between thin client and core > code, > which I'm going to mitigate by abstracting GridNioServer behind a simpler > facade, > so we can replace it with Netty or something else easier if we decide to > split the code. > > Thoughts, objections? > > [1] > > http://apache-ignite-developers.2346864.n4.nabble.com/DISCUSS-Use-Netty-for-Java-thin-client-td49732.html >