Hi, We tried several combinations of configurations to figure out the cause for the delay we noticed in tenant creation. At the end, we found out that the cause is the registry mount. *Without* a registry mount, it took ~8 seconds for the tenant creation. *With* a registry mount, it took ~60 seconds.
When there were no registry mounts but when the primary user store was connected to an Oracle DB, it took ~30 seconds to create the tenant. Regards, Evanthika On Fri, Jul 26, 2013 at 6:06 PM, Afkham Azeez <az...@wso2.com> wrote: > I ran this with JProfiler, and the problem is due to caching with > Hazelcast & the registry caching handler, clearAncestry method which > recursively gets called. As can be seen from the attached screenshot, the > Hazelcast EntryIterator.hasNext is a very expensive method which involves > object deserialization. Senaka, can we optimize the clearAncestry method? > > > > > On Thu, Jul 25, 2013 at 4:53 PM, Shashika Ubhayaratne > <shash...@wso2.com>wrote: > >> Hi, >> >> We observed that tenant creation is very slow on cluster set up. It took >> more than 3 minutes. >> In addition to that,more than 15 minutes taken to create 4 >> concurrent tenants. Once logged in to tenant, it navigates to carbon UI >> console as per the attached screenshot. Also note that some tenants could >> not logged in. >> >> Refer the bug [1] for more details: >> [1]: https://wso2.org/jira/browse/CARBON-14225 >> >> Thanks, >> Shashika >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Afkham Azeez* > Director of Architecture; WSO2, Inc.; http://wso2.com > Member; Apache Software Foundation; http://www.apache.org/ > * <http://www.apache.org/>** > email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 > blog: **http://blog.afkham.org* <http://blog.afkham.org>* > twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> > * > linked-in: **http://lk.linkedin.com/in/afkhamazeez* > * > * > *Lean . Enterprise . Middleware* > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev