Git Product home page Git Product logo

Comments (6)

shenzhe avatar shenzhe commented on July 22, 2024

呵呵,真早呀,谢谢反馈,我这边跟进一下。

from redis-storage.

LazyZhu avatar LazyZhu commented on July 22, 2024

我用ngx_lua的redis库做了测试对比:

redis
http://198.74.110.195/t1
https://gist.github.com/aaecf819d4d8f539ab4b

redis-storage
http://198.74.110.195/t2
https://gist.github.com/ed560f14576810718c3d

不仅可以直观比较两者区别,还发现运行 rl 命令后,比较前后 ds_hxxx 命令的响应值,redis出现了错误。

from redis-storage.

qiye avatar qiye commented on July 22, 2024

这个bug,我让泽泽 修改一下

from redis-storage.

shuxiang avatar shuxiang commented on July 22, 2024

redis 127.0.0.1:6379> rl_set foo 7
OK
redis 127.0.0.1:6379> rl_get foo
"7"
redis 127.0.0.1:6379> rl_del foo
(integer) 1
redis 127.0.0.1:6379> ds_get foo
(integer) 1
redis 127.0.0.1:6379> ds_get foo
(nil)
redis 127.0.0.1:6379> get foo
(nil)
redis 127.0.0.1:6379> set foo 7
(nil)
redis 127.0.0.1:6379> set foo 7
OK
redis 127.0.0.1:6379> set foo 7
OK
redis 127.0.0.1:6379> get foo
OK
redis 127.0.0.1:6379> get foo
"7"

完全不懂怎么回事呀

from redis-storage.

shuxiang avatar shuxiang commented on July 22, 2024

没用rl系列命令是正常的,用了rl系列命令后,各种诡异!!!

from redis-storage.

shuxiang avatar shuxiang commented on July 22, 2024

弄了个python的客户端,https://github.com/shuxiang/redis-py

from redis-storage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.