[protobuf] Re: protobuf-net desrialization taking too long

2019-03-28 Thread Shweta Sharma
Big Thanks to Marc for helping me with this offline!!! On Tuesday, March 26, 2019 at 11:32:53 AM UTC-7, Shweta Sharma wrote: > > I am prototyping an application to store data in redis using > StackExhange.Redis client. I am using Protobuf for serializing my objects > and storing

Re: [protobuf] protobuf-net desrialization taking too long

2019-03-27 Thread Shweta Sharma
Thanks again Marc. Yes Deserialization code is as you listed below. I was using protobuf-net 2.4.0.0 but then moved to older version currently being used across our code base, 2.0.0.668, to see any impact. Where can I send you mail? My e-mail is shwetad...@gmail.com. I can get these objects ser

Re: [protobuf] protobuf-net desrialization taking too long

2019-03-27 Thread Shweta Sharma
ms > Serialize: 1ms > Serialize: 1ms > Serialize: 1ms > Deserialize: 6ms > Deserialize: 1ms > Deserialize: 1ms > Deserialize: 1ms > Deserialize: 1ms > > My test code: > https://gist.github.com/mgravell/7afc08f432661f60138f6798efe2b15b > > If you want to email me directly

[protobuf] protobuf-net desrialization taking too long

2019-03-26 Thread Shweta Sharma
I am prototyping an application to store data in redis using StackExhange.Redis client. I am using Protobuf for serializing my objects and storing them as key/value pair in redis. When reading 20K keys using pipeline (splitting keys in batches of 5000), I observe deserialization times in 60-300