Lazy versus Eager Client loading

Questions, answers, tips and ideas on Servoy Client

Lazy versus Eager Client loading

Postby Westy » Thu Oct 20, 2005 11:06 pm

With regard to the Servoy-admin servoy.clientJarLoadOption it is my understanding that to speed up the initial installation of a client it is best to use the "lazy" setting instead of the "eager" setting. Is that correct? Lazy is faster than eager? :?
Westy
 
Posts: 852
Joined: Fri Feb 13, 2004 5:27 am
Location: Lynnfield, Massachusetts USA

Postby fdoddridge » Thu Oct 20, 2005 11:57 pm

Heh, it is indeed, though you wouldn't know it by the name. Lazy jar loading means that the client will not load the jars until they are needed, hence speeding up the initial load time. If you specify eager, it will "eagerly" load all of the jars, slowing down the initial load time.

A bit backwards from this perspective, but it works.

Fred
fdoddridge
 
Posts: 64
Joined: Mon Jul 18, 2005 4:30 pm
Location: SLC, UT


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 17 guests