You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by Lahiru Gunathilake <gl...@gmail.com> on 2012/02/17 16:18:05 UTC

Improving performance of registry-api

Hi Devs,

I think to improve the performance of registry-api we need to come up with
hierarchical structure to store the data rather storing in flat structure.
Other than that I think its getting very slow to manage the JCR Session in
XBaya client side (Because we travers between nodes and do everythign from
XBaya client side). I prefer implementing a wrapper service for
registry-api and prefer users to deploy Jackrabbit server and the wrapper
service  in the same machine. So we change the XBaya Client code to access
 the wrapper service rather accessing JCR Registry directly so we avoid the
JCR session in XBaya client. This approach will surely improve the
performance.

Any thoughts ?

Lahiru

-- 
System Analyst Programmer
PTI Lab
Indiana University

Re: Improving performance of registry-api

Posted by Suresh Marru <sm...@apache.org>.
+++1

We really need to do this. Right now the latency is beyond acceptance because of the flat data model. I think time to revisit this, how about we put it as a goal for release 0.4?

Suresh
On Feb 17, 2012, at 10:18 AM, Lahiru Gunathilake wrote:

> Hi Devs,
> 
> I think to improve the performance of registry-api we need to come up with
> hierarchical structure to store the data rather storing in flat structure.
> Other than that I think its getting very slow to manage the JCR Session in
> XBaya client side (Because we travers between nodes and do everythign from
> XBaya client side). I prefer implementing a wrapper service for
> registry-api and prefer users to deploy Jackrabbit server and the wrapper
> service  in the same machine. So we change the XBaya Client code to access
> the wrapper service rather accessing JCR Registry directly so we avoid the
> JCR session in XBaya client. This approach will surely improve the
> performance.
> 
> Any thoughts ?
> 
> Lahiru
> 
> -- 
> System Analyst Programmer
> PTI Lab
> Indiana University