Dear Turbine users

We have managed to find out the following findings - one of the reason why the 
performance for our web app is slow.

Timing for the following API,
acl=TurbineSecurity.getacl (data.getuser());

takes about 3 seconds when there are 
- 4000 records in the group table.
- 30 permissions
- 5 users
- 8 roles

Question is as follows:-
- is it possible to have an API for acl where we can send the list of group ids so 
that the system only construct lists of items that we need. We actually only need to 
find out who are users with specific permission. 

The reason why the above API is called is because we need to use the following method.
pass=acl.haspermission (myscreen, TurbineSecurity.getallGroups());

Your help will be much appreciated.

Thanks in advanced.

Regards,



------------------------
  From: Jason van Zyl <[EMAIL PROTECTED]>
  Subject: Re: slow performance... help 
  Date: Sat, 22 Sep 2001 15:43:05 -0400 
  To: [EMAIL PROTECTED]


On 9/22/01 2:16 PM, "Jessica Kung" <[EMAIL PROTECTED]> wrote:

> Dear Turbine users
> 
> We are in the midst of implementing a turbine app for
> a content mgmt tool. However, performance is terribly
> slow that it takes more than 30 secs for each  screen
> to appear.

So you have profiled your application and you are certain that it is
Turbine? I have no problem looking at the code if you have used a profiler
and know the bottleneck is in Turbine but I've never seen it take 30 seconds
to have a screen execute.
 
> Your help will be much appreciated. Encl pls find a
> portion of the source code.

Please include a link to your profiler output as well please. If there is
indeed a bottleneck I'll take a look and see what might be done.
 
> Thks in advanced.
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Y! Pages - Search or browse for business listings.
> http://yp.yahoo.com.sg/
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------End of Original Message-----------------

........................................................

Jessica Kung                           [EMAIL PROTECTED]
Brel Software Pte Ltd                  Tel: 65-272-6800
Blk 1003 Bukit Merah Central           Fax: 65-272-2811
#07-01/02                              http://www.brel.com
Singapore 159836                       09/27/01 21:18:44
                    
           Pls call us for the following services
         Web Creation, Web, Email & Domain Hosting
                 B2B B2C ASP CMS E-Commerce


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to