4

I could not find an answer to this simple question. What kind of serializer is used in AppFabric Caching ? Thanks,

Cybermaxs
  • 24,378
  • 8
  • 83
  • 112

1 Answers1

4

It's NetDataContractSerializer. found here

Cybermaxs
  • 24,378
  • 8
  • 83
  • 112
  • Strangely though if I cache a single array of 10^6 bytes then the app fabric cache reports one entry with a size of 1,008,640 bytes, i.e. much less expansion of the data than XML serialization would cause. Also I get the same size for both an array of zeroes and an array of random numbers, so no compression is at work here. – redcalx Jan 11 '13 at 17:46
  • A byte array (byte[]) is the one case that's not serialized - byte arrays are passed thru as-is from the client to the cluster (and back). This is stated by Microsoft engineers here: https://social.msdn.microsoft.com/Forums/vstudio/en-US/3d159d3f-bc79-486d-95c3-0ea9ea7d6f71/appfabric-cache-serialization – Dave Clausen Oct 22 '14 at 20:18