开发者

persist image or video into voldemort

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜