redis入门教程3-客户端

Posted tim_xiao

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了redis入门教程3-客户端相关的知识,希望对你有一定的参考价值。

php

1:php-redis

c语言开发,效率较高。在使用前需要安装phpredis扩展。缺点是有些涉及底层的代码需要查看对应的C代码。一些框架(比如thinkphp)在操作redis时会优先使用php-redis。总体推荐使用

  • 参考 https://github.com/phpredis/p...

2:predis/predis

使用php开发的redis客户端。效率相对php-redis来说会低一些。不需要安装对应扩展。在一些框架中(laravel)会优先使用。据说后期将不再维护。

  • 参考 https://github.com/predis/predis

go

go-redis

github上star较多的一款go redis客户端。

  • 参考 https://github.com/go-redis/r...

gomodule/redigo

Go client for the Redis,beego中redis的操作就是使用的它

  • 参考 https://github.com/gomodule/r...

以上是关于redis入门教程3-客户端的主要内容,如果未能解决你的问题,请参考以下文章

redis超详细入门教程

超强超详细Redis入门教程

超强超详细Redis入门教程

redis数据库入门教程(全面详细)

超强超详细Redis数据库入门教程

超强超详细Redis数据库入门教程