Thanks Wesley, Alex. Attached is a snapshot of the client log. I don't see
anything on the ignite server side.
I am/was trying to do get data from a replicated cache.

On Tue, Jun 2, 2020 at 10:36 AM Alexandr Shapkin <[email protected]> wrote:

> Hi,
>
>
>
> As Wesley mentioned, It’s quite difficult to say something specific about
> without the logs.
>
>
>
> As for the additional questions, can you explain, what Ignite API is being
> used? Is it a Compute API call or
>
> a regular cache GETs?
>
>
>
> It’s totally fine to spawn several user threads and access the server
> simultaneously.
>
> Regarding the node connectivity, by default there is a 1 connection per
> node, you can control it
>
> using the TcpCommunicationSpi#setConnectionsPerNode [1]
>
>
>
> You can check the pool and adjust the sizes using the following docs [2].
>
> If you perform much compute API calls, you might be interested in
> increasing the server public pool size,
>
> striped pool for cache accesses and so on.
>
>
>
> In any case, it’s better to check your system resources utilization
> (CPU/memory/etc) if it’s about 100% on a client
>
> and 20% on a server, you might want to add several more clients to a
> cluster.
>
>
>
> [1] -
> https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.html#setConnectionsPerNode-int-
>
>
>
> [2] - https://apacheignite.readme.io/docs/thread-pools
>
>
>
>
>
> *From: *Clay Teahouse <[email protected]>
> *Sent: *Tuesday, June 2, 2020 5:20 PM
> *To: *[email protected]
> *Subject: *Re: connection refused
>
>
>
> It turned out if I inject a pause of 4-5 seconds, then the client
> connection goes through.
>
> Why the service grid requests go through  immediately but the regular
> cache access requires a pause from the time an ignite instance is acquired?
> Subsequent calls are fast. The caches are replicated.
>
> Another question, probably trivial:
>
> Can you instantiate multiple concurrent connections from a client to the
> compute nodes? Is the number of connections limited by the number of
> threads? Or do I need to create separate client instances for each request?
>
>
>
>
>
> On Tue, Jun 2, 2020 at 5:46 AM Wesley Peng <[email protected]> wrote:
>
> Does either client or server have any logs?
>
>
>
> Thanks
>
>
>
> On Tue, Jun 2, 2020 at 6:37 PM Clay Teahouse <[email protected]>
> wrote:
>
> I'd appreciate your help with this issue.
>
> I have a server and a client node, the latter running in tomcat. I get
> connection refused if I try to connect to the server node from the client,
> although the server shows the client has joined the cluster. I don't have a
> problem running a service on the server's service grid from the client node.
>
> I don't have any issue connecting from any client anywhere, if the client
> is not running in tomcat.
>
> what could be the problem?
>
>
>
>
>

Attachment: log2
Description: Binary data

Reply via email to