Alex De la rosa
alex.rosa.box at gmail.com
Fri Apr 10 08:47:12 EDT 2015
Well... using the HTTP Rest API would make no sense when using the PB
API... would be extremely costly to maintain, also it may include some
extra bytes on the transport.
I would be interested on being able to know the size via Python itself
using the PB API as I'm doing.
On Fri, Apr 10, 2015 at 1:58 PM, Ciprian Manea <ciprian at basho.com> wrote:
> 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.
>> riak-users mailing list
>> riak-users at lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users