generate requests and responses, then write into(pipeline insert) to redis