Improve config manager to support big data

GAE only support data < 1 M for db and memcache