I am working on my web service, and required to persist some image (jpg whatever) and video(wmv) into memmory. Just w开发者_StackOverflowant to use single_node_cluster to feel voldemort.
Can anybody give me a hint of the configuration and sample code of voldemort? I mean how to configure the value type in stores.xml? protobuf? java-serialization?
Any sample or link would be helpful. Thanks
sample code is here. The same code is also in SAMPLE folder of voldemort installation.
Regarding image store in voldemort, you need to encode the image using base64encoding
and then save the text generated in to the value.
精彩评论