Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

ACL performance

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are there included in the book any indications and tips about the performance of ACL?
I know that in case of many permissions and targets this is a critical point.

I have some questions to gain the maximum performance.
When are the permissions loaded in memory(from db) and in which scope?(application,session - for web application)
If the user updates a permission when shall be the change reflected? Right away, after re-login.
If the user updates a permission what is the best strategy to reflect the change? Right away, after re-login?
Shall be the entire list of permissions reloaded from the database?

Thank you.
 
Author
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ionut,

Great question - we do cover ACLs and performance considerations to a point, including going through some sample scalability calculations. We do cover some aspects of runtime, dynamic ACL manipulation and how ACL caching works in some of the scenarios you mention.

Unfortunately, we can't cover every aspect of extremely complex ACL scenarios (whole books have been written about ACLs and similarly complex security topics!), but I think the book does a pretty thorough job of covering this complex (and largely undocumented) topic.

I hope this answers your question!

Best,
Peter
 
Ionut Bucurescu
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, thank you Peter.
 
Don't play dumb with me! But you can try this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic