optimize redis compose_message, see redistest for changes

test case: start redistest