let redis generate uid instead of mysql