finish to implement qd_quantile.lua
impl qd_offer.lua (intermediate)
reduce access to redis
impl compress func