I am working on developing a key value store using redis. I proposed using a hashmap of type String(key)-->Object(value). I am advised to serilaize the object using protobuf.
If we are going to populate as well as read this data using Java (which is platform independent), is there any advantage of using protobuf? Will just putting the object directly into redis and getting it back and casting it lead to any problems?
A lot of emphasis is there on efficiency in this product so we dont want to do any unnecessary processing.