> On Dec 3, 2015, at 9:02 AM, Shawn McKinney <[email protected]> wrote:
> 
> Fortunately permission checking is the fastest operation in this system.  It 
> requires one permission search (really a ‘read’ because it is an indexed 
> search), and if you have enabled audit - one compare - to force the slapo 
> access log to store the result.  With Fortress core I recently benchmarked 
> around 10K/second against OpenLDAP.  
> 
> If speed is paramount you might be interested in the accelerator, which was 
> discussed at ldapcon a couple of weeks ago:
> http://ldapcon.org/2015/wp-content/uploads/2015/09/McKinney-Openldap-Accelerator-LdapCon-2015-v4.pdf
> 
> Its measured benchmark is around 20K/second permission check ops.

With apacheds permission checks are fast too but there won’t be an audit trail. 
 It’s been some time since I’ve run the benchmarks against apacheds but it 
somewhere on the order of 8K/second.  

You can run these performance tests too, the test harness in the test package 
under jmeter.  There is some info about it in README.txt:

___________________________________________________________________________________
###################################################################################
# SECTION 13. Instructions to performance test fortress core using maven 
loadtest profile and jmeter.
###################################################################################

To load test fortress createSession or checkAccess performance using jmeter:

a. Update .jmx located under FORTRESS_HOME/src/test/jmeter folder.

e.g. ftCheckAccess.jmx

b. Load the security policy and users required by the jmeter test routines:

# $M2_HOME/bin/mvn install -Dload.file=./ldap/setup/LoadTestUsers.xml

c. From FORTRESS_HOME folder, enter the following command from a system prompt:

# $M2_HOME/bin/mvn -Ploadtest-ftca jmeter:jmeter

Notes:
    - the above maps to ftCheckAccess.jmx
    - jmx files with prefex 'ac' call fortress accelerator functions (which 
requires special setup NOT covered by this document)
    - jmx files with prefix 'ft' are for fortress functions (which are covered 
by this document)

Reply via email to