Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Riak recommended for storing and streaming large binary files?

Say, if I store movies, etc., using a Riak database, how do I stream the binaries in chunks to any client (which could be a download-then-play or direct play?) Is Riak recommended for storing large binary files? Also, I've read somewhere that the maximum file is 50 MB or otherwise it will cause problems, but that seems to be old documentation. Could anyone provide more information?

like image 207
ikevin8me Avatar asked Dec 28 '22 01:12

ikevin8me


1 Answers

We do not recommend storing objects over 50M for performance reasons. Nothing has changed in that regard. Given that, the answer is Riak is not well suited for what you are describing.

We have developed an enterprise product, RiakCS, for a distributed file storage solution (Amazon S3 compatible API) but this is not an open source project.

Edit to add: We were attempting to incorporate Luwak for large object/file support but unfortunately we are no longer doing so. That project is of course available on github should others want to continue work.

Updated: We have now open-sourced Riak CS. See: http://basho.com/riak-cloud-storage/

like image 167
Brian Roach Avatar answered May 17 '23 11:05

Brian Roach