Study of The Design and Implementation of Redis