Every time we release our new version web application, we always have a caching problem. We may change some code in our static file, for example, javascript, css, image file. When user try to use our new release, they may refer the static file cached in their browser, since we haven’t change the static file name. We can solve this problem by changing cache expiration in the Cache-Control header, but this is not the best solution. User may request the same file again and again, even there is no new version release. These requests will cause much useless bandwidth cost and seriously reduce Page loading performance.

Read more


From official CouchDB wiki, there are a lot of Java CouchDB API, like Ektorp, JRelax, jcouchdb etc. Here I pick the first one to implement it, because I always think the first one will be the most recommended one. Last time, I have already showed the implementation about HibernateOGM on CouchDB, so why we still need this Java API. My idea is that HibernateOGM comes with HibernateORM which means it will keep both the advantage and disadvantage. The initial purpose of Hibernate is to find a way to better implement our SQL database, which makes it giant or in other word bloated. In some way, to the contrary. The native CouchDB java API is built only to support CouchDB, which means most time it will be tiny, fast and have better functionality support for native CouchDB specifics.

Read more


Base on an article I have read recently, I try to start get my hand dirty with various NoSQL database. This article compares among lots of NoSQL databases famous today. I should thank the author who give me a general idea about the difference between these NoSQL databases. These NoSQL databases can be separated by store technologies. Like CouchDB, Hbase, they use classic document and BigTable stores, Neo4j use Graph databases etc.

Read more


It has been a long time never update my blog since my first post. From April to November, our team devote all of our time to this new product. Good news is that it just launched last Friday, so i could have some to continue writing this blog.

Read more


Ski trip in Bei Da Hu ski resort, Ji Lin, China. This is my first ski video powerd by iMovie. Please enjoy it.

Read more