With tenant eager loading, the tenants shouldn't get unloaded, ever. The idea 
of having eager loading is to keep the tenants up and running always. 

Since the eager loading tenants are configurable, there will be a set of 
tenants that will follow lazy loading policy. So, the tenant idle time should 
be configurable even though eager loading is enabled. We need to re-visit this 
and fix it. 

Regards,
KasunG



> On Mar 25, 2015, at 10:13 AM, Kishanthan Thangarajah <[email protected]> 
> wrote:
> 
> Current implementation goes like this. It focuses on the tenant loading only.
> We can have only one tenant loading policy. It's either lazy loading 
> (default) or eager loading.
> If lazy loading and if needed you can set a custom tenant idle time (default 
> is 30 min)
> If eager loading, you can specify the config on what are the tenants to load 
> at startup. Other tenants (if any) will be lazy loaded.
> On both of the cases above, tenants will be unloaded based on the tenant idle 
> time as before. We did not make any changes to tenant unloading part.
> 
> On Tue, Mar 24, 2015 at 7:15 PM, Jayanga Dissanayake <[email protected]> wrote:
>> Hi,
>> 
>> As per the new functionality, "Tenant Eager Loading", It says, all the 
>> tenants specified in the tenant eager loading list are loaded at the server 
>> start up. So, what happen to the tenants that are not specified in the 
>> tenant eager loading list. Does it follow lazy loading?, If so how to set 
>> the tenant idle time to unload those tenants.
>> 
>> Thanks,
>> Jayanga Dissanayake
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.com/
>> lean . enterprise . middleware
>> email: [email protected]
>> mobile: +94772207259
> 
> 
> 
> -- 
> Kishanthan Thangarajah
> Senior Software Engineer, 
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
> 
> Mobile - +94773426635
> Blog - http://kishanthan.wordpress.com
> Twitter - http://twitter.com/kishanthan
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to