Azure cache session size limit RRS feed

  • Question

  • 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 :

    1. Currently the maximum size per cache item is 8mb and hence each individual session cannot go above this size?
    2. Cannot use a custom Serializer for session state in Azure caching? (http://msdn.microsoft.com/en-us/library/windowsazure/gg185668.aspx)
    3. 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 :

    1. 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.
    2. Refactor the application to not store large items in session.

    Neither of these options are great at this time. Is there any other options?



    Monday, February 4, 2013 10:52 AM