Hi Alex, For this type of problem, you may want to look into Riak CS. [0] It is an object storage platform built on top of Riak.
When you GET an object from Riak CS, you can specify a Range header to get the object by its byte offset. [1] -- Hector [0] http://docs.basho.com/riakcs/latest/ [1] http://docs.basho.com/riakcs/latest/references/apis/storage/s3/RiakCS-GET-Object/#Examples On Thu, Jun 26, 2014 at 3:22 PM, Alex De la rosa <[email protected]> wrote: > Hi there, > > Imagine that I want to use Riak for a video service like Youtube and I save > the video file in Riak... is there a way to stream the contents of 1 key? I > know we can stream keys... but what about its content? > > It would be pretty troublesome to have to wait for the full data to be > downloaded $bucket->get('myvideo') to be able to serve it... as they can be > pretty big files. > > Is there any recommendation to store/get big files like videos? or it would > be better to use some other system than Riak for the job? > > Thanks, > Alex > > _______________________________________________ > riak-users mailing list > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > _______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
