Kirk is correct that storing a byte array is the most efficient way to store a blob in geode. It has the least serialization overhead. Also if you configure off-heap-memory-size and set off-heap=true on your region your byte array blobs can be kept in native memory very efficiently since byte arrays are never deserialized in geode. Also if you can use an Integer, Long, or a short String as the Region key for each value blob that will reduce how much memory is used to store the blob in geode.
On Wed, Jul 15, 2015 at 2:38 PM, darshan hs <[email protected]> wrote: > @kirk Blob is used for an mp3 file,assuming an mp3 file to be of around 4 > MB in size. > @greg Just serving it > > On Wed, Jul 15, 2015 at 4:31 PM, Gregory Chase <[email protected]> wrote: > >> And what do you want to do with the blob as well. Are you operating on >> the blob or just serving it? >> >> On Wed, Jul 15, 2015 at 2:29 PM, Kirk Lund <[email protected]> wrote: >> >>> I think you would have to treat the blob as a byte array value. How big >>> of a blob? >>> >>> -Kirk >>> >>> >>> On Wed, Jul 15, 2015 at 1:57 PM, darshan hs <[email protected]> wrote: >>> >>>> Hi, >>>> can anyone tell me on how to use blob with geode? >>>> >>>> Thanks, >>>> Haridarshan H.S. >>>> >>>> >>> >> >> >> -- >> Greg Chase >> >> Director of Big Data Communities >> http://www.pivotal.io/big-data >> >> Pivotal Software >> http://www.pivotal.io/ >> >> 650-215-0477 >> @GregChase >> Blog: http://geekmarketing.biz/ >> >> >
