Jasig/cas — pull request #60 by serac (2012-03-22 18:50:41+00:00)
Title: Memcached Improvements

Summary of changes:

- Add KryoTranscoder for efficient serialization (https://groups.google.com/d/topic/jasig-cas-dev/vJascSffNB8/discussion mentions tput is 25% higher and reduces storage cost per ticket by more than half)
- Refactor constructor to take MemcachedClient, which allows use of MemcachedClientFactoryBean to expose full range of configuration options including Transcoder
- Rename MemCacheTicketRegistry -> MemcachedTicketRegistry

The changes here have been evaluated with both functional and load testing in our dev environment and it looks like an all-around improvement. The only icky part is the use of reflection to get at private fields needed for persistent object state. Code review and feedback welcome.