O'Reilly logo

HBase Design Patterns by Sujee Maniyam, Mark Kerzner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

What to do when your binary files grow larger

As mentioned, we are going to progress from simple to more complex solutions. The code we just saw is good for small binary files. Most developers, as well as the HBase documentation, will tell you that here we are talking about megabytes (not even 10 MB to 50 MB). You will have to experiment with your solution and vary the data size. However, what if you find the database to be too slow?

There are a few approaches that you can take.

Using Google Blobstore to store large files

Google BlobStore is described at https://developers.google.com/appengine/docs/java/blobstore/overview. This is a service that Google gives you, the developer. It is called the Blobstore API. It allows your application to serve data ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required