So the idea here is to use Redis server excellent support for INCR - an atomic increment for integer values to record daily stats for key events such as sso sessions established and service tickets validated, etc. The Redis keys for these would look like cas:sso-sessions-established:yyyy-MM-dd, cas:st-tickets-validated:yyyy-MM-dd.
The implementation would use CAS server event listeners to record this data in Redis asynchronously.
This will open up a possibility to build UI stats dashboards, etc. without the need to parse unstructured CAS log files data, etc.
So the idea here is to use Redis server excellent support for
INCR
- an atomic increment for integer values to record daily stats for key events such assso sessions established
andservice tickets validated
, etc. The Redis keys for these would look likecas:sso-sessions-established:yyyy-MM-dd
,cas:st-tickets-validated:yyyy-MM-dd
.The implementation would use CAS server event listeners to record this data in Redis asynchronously.
This will open up a possibility to build UI stats dashboards, etc. without the need to parse unstructured CAS log files data, etc.