Is there a faster way to launch an ignite client ?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Is there a faster way to launch an ignite client ?

Danny Shemesh
Hey,

Launching an ignite client on the same machine as the ignite server, with
the simplest configuration (VmIpFinder on localhost)
through the java interface can take anywhere between 5 and 10 seconds.

I'm refactoring an ignite based CLI utility and am focusing on improving
its statup time.
Any recommendations on where I could look on (preferably not via REST as
it's an external module) ?

- Danny
Reply | Threaded
Open this post in threaded view
|

Re: Is there a faster way to launch an ignite client ?

dmagda
Hi Danny,

Try to reduce the port range in your VmIpFinder. If the range is long and you’re on a Windows machine, then it can take time to iterate over every IP:port combination in condition that some of IP:ports are not presently used.


Denis

> On Feb 15, 2017, at 9:12 AM, Danny Shemesh <[hidden email]> wrote:
>
> Hey,
>
> Launching an ignite client on the same machine as the ignite server, with the simplest configuration (VmIpFinder on localhost)
> through the java interface can take anywhere between 5 and 10 seconds.
>
> I'm refactoring an ignite based CLI utility and am focusing on improving its statup time.
> Any recommendations on where I could look on (preferably not via REST as it's an external module) ?
>
> - Danny