Hi Andy, Thanks a lot for sharing. Yes. I am not talking about static content caching, which may be called as internal CDN today.
I am asking some techniques of configuring cache on different layers with concerning about avoiding duplicate caching on different layers. thanks and regards, Yiyu On Mon, Jan 28, 2013 at 4:13 PM, Andrew Purtell <apurt...@apache.org> wrote: > You bring up a very common consideration I think. > > For static content, such as images, then a cache can help offload read load > from the datastore. This fits into this conversation. > > For dynamic content, then an external caching may not be helpful as you > say, although blockcache within HBase will help if you are assembling > content dynamically from repeated queries some of which are bringing in the > same data over and over. > > On Mon, Jan 28, 2013 at 12:23 PM, yiyu jia <jia.y...@gmail.com> wrote: > > > Let's say I have an web application which use HBase as data source at the > > backend. I have cache configured in my reverse proxy which is at the > front > > of my Web server. And the cache is configured based on URL pattern or > > parameters. In this case, the cached data will be delivered to the client > > if the input parameter/url is same. So, the same data cached behind Web > > server wil not be hitted. if this is the case, I will say the cache > between > > HBase and HDFS will not be helpful. > > > > -- > Best regards, > > - Andy > > Problems worthy of attack prove their worth by hitting back. - Piet Hein > (via Tom White) >