Is there a faster way to launch an ignite client ?

2017-02-15 Thread 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


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

2017-02-15 Thread Denis Magda
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  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