Hbase as a database in a web application

Big question about using hadoop or related technologies in a real web application.

I just want to find out how a web application can use hbase as its database. I mean, what do big data applications do or do they use regular databases and just use these technologies for analysis?

Is it possible to have an online store with Hbase database or something like this?

+3


source to share


2 answers


Yes, it's great to have hbase as your backend. What am I doing to do this, (I have an online community and a forum running on my site)

1.Write C # code to access Hbase with savings is very easy and simple to do it. (Thrift is a cross-language platform, for HBase Java is only a first class citizen!)

2. Management of the HBase cluster (on Amazon) using Amazon EMI

3. Using ganglia to monitor Hbase

Some additional tips:



So you can organize a web application like this

  • You can set up web servers on Amazon or IBMWebSphere web services
  • You can set up your own HBase cluster using cloudera or use AmazonEC2 again here.
  • Communication between the web server and the Hbase node master server is through a lean client.
  • You can create thrift code in your own programming language Here are some links that helped me A) Thrift Client , B) Filter options

Along with this, I refer to the HBase Administrative Cooking by Yifeng Jiang and Lars George's HBase Reference Guide in case I don't get answers online.

The filtering options provided by HBase are fast and accurate. Let's say if you are using HBase to store your product details, you might have sub-stores and have a column in the Product table that tells which store the product might belong to, and use Filters to get the products for a specific store.

+2


source


I think you should read the following article:

"Apache HBase Dos and Donts"



http://blog.cloudera.com/blog/2011/04/hbase-dos-and-donts/

0


source







All Articles