Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> web applications and multiple db calls per page view


Copy link to this message
-
web applications and multiple db calls per page view
If I build a forum application like vbulletin on top on hbase, I can forsee
that each page view will have multiple calls to hbase.

Let's picture someone viewing a particular thread (question) on the website:

0. load the current website object (remember this is a multi-tenancy
application, Saas forum application).
1. verify user is logged in.
2. get user profile / permissions if logged in
3. get current forum object
4. get current thread object
5. get all replies to thread

And probably 2-3 calls will come into the picture as i progress.

If each call takes 100ms, this isn't going to be a 'snappy' response now is
it?

Or is there a way to batch calls to minimize the chattyness?
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB