object sizes

Ciprian Manea ciprian at basho.com
Fri Apr 10 07:58:04 EDT 2015

Hi Alex,

You can always query the size of a riak object using `curl` and the REST

i.e. curl -I <riak-node-ip>:8098/buckets/test/keys/demo


On Thu, Apr 9, 2015 at 12:11 PM, Alex De la rosa <alex.rosa.box at gmail.com>

> Hi there,
> I'm using the python client (by the way).
> obj = RIAK.bucket('my_bucket').get('my_key')
> Is there any way to know the actual size of an object stored in Riak? to
> make sure something mutable (like a set) didn't added up to more than 1MB
> in storage size.
> Thanks!
> Alex
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20150410/16a9dac3/attachment-0002.html>

More information about the riak-users mailing list