Use redis pipeline to queue redis commands into one