add rpc and redis