some redis tool write in Scala