I'm wondering what sorts of data access patterns (if any) people are using
on top of HBase?

For example, is a DAO pattern applicable?  Seemed reasonable at first, but
based on limited experience, I see a couple of mismatches:

1) Generally, if the DAO was backed by an RDBMS, all the columns are stored
together, so it's no problem to read them all in and create a light Data
Transfer Object.  In Hbase, however, it probably only makes sense to read in
complete column families rather than the complete "row".  On the other hand,
there are some lazy variations that might be appropriate?

2) Also, again based on my limited hbase experience, it seems more common to
want to operate on ranges of data (either a scan or an update), rather than
individual entities.


I suppose I could make a DAO pattern work, but I'm really looking for some
feedback on people's real world experiences... has this pattern proved
useful for people?  Are there other patterns that are more applicable?

Marc

Reply via email to