REDIS cache for privacyIDEA

Hello,

I opened a branch to add some performance stuff to improve the response
time for authentication requests with external user stores.

E.g. much of the time is consumed for the LDAP lookup.
If the LDAP response comes from the local redis cache, the
authentication request only needs half the time.
And this is in a small network with the LDAP server next to the
privacyIDEA system. In real world scenarios with higher latency on the
LDAP it could be worse.

Read:

and tell me what you think.

Kind regards
Cornelius–
Cornelius Kölbel
@cornelinux
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel