Connect with pg and implement memcached in your projects.