You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by Danny Shemesh <da...@gmail.com> on 2017/02/15 17:12:47 UTC

Is there a faster way to launch an ignite client ?

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

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

Posted by Denis Magda <dm...@apache.org>.
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 <da...@gmail.com> 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