We are having problems with storing large amounts of data in session scope in Windows Azure Caching and am looking for advice and to confirm a things that ive read :
- Currently the maximum size per cache item is 8mb and hence each individual session cannot go above this size?
- Cannot use a custom Serializer for session state in Azure caching? (http://msdn.microsoft.com/en-us/library/windowsazure/gg185668.aspx)
- The attribute UseBlobMode for session caching has to be set to true and hence session items have to be stored in 1 single cache item? (http://msdn.microsoft.com/en-us/library/windowsazure/gg185682.aspx)
From what ive read i cannot see a simple configurable solution to our problem and can only see 2 possible options :
- Store session scope somewhere else. SQLAzure is an option but not sure if that solves the size issue or not and im guessing this will significantly decrease performance.
- Refactor the application to not store large items in session.
Neither of these options are great at this time. Is there any other options?
Cheers
Steve