I'm currently successfully using the windows port of Redis (2.8.19 - MS Open Tech) via the stackexchange.redis (1.0.4) and the windows RedisSessionStateProvider (1.6.2) providers for storing sessions on premise.
Comparing this configuration vs InProc session state for sessions we noticed about 20% decline in performance under high load. In hopes of reducing the performance gap, I'm wondering if serializing sessions with protobuf-net can help out - the models have the necessary proto attributes but not entirely sure how to configure the sessionStateProvider to serialize with it.
Has anyone got this working? Did the performance improve?
Also, if there are any other suggestions to reduce the performance gap that would be great as well.
EDIT: here are the session keys/sizes for the app (measured similarly to this method: How to find out size of session in ASP.NET from web application?)
session key1 size: 38kB
session key2 size: 30kB
session key3 size: 37kB
session key4 size: 35kB
session key5 size: 35kB
session key6 size: 43kB
session key7 size: 33kB
session key8 size: 28kB
session key9 size: 42kB
session key10 size: 31kB
**TOTAL SESSION SIZE: 352kB**
Thank you in advance.