redis: replace lib by jgaskins/redis

https://github.com/jgaskins/redis

It's faster and in active development, old one gave me this using a TCP
connection:

test   5.94k (168.34µs) (±56.73%)  144B/op  fastest
test   5.11k (195.76µs) (±58.89%)  144B/op  fastest
test   5.48k (182.33µs) (±73.39%)  144B/op  fastest
test   3.42k (292.56µs) (±66.19%)  144B/op  fastest

meanwhile, the jgaskins/redis one gives:

test   6.96k (143.66µs) (±58.73%)  96.0B/op  fastest
test   6.36k (157.16µs) (±55.95%)  96.0B/op  fastest
test   7.06k (141.65µs) (±57.03%)  96.0B/op  fastest
This commit is contained in:
Fijxu
2025-04-13 02:05:13 -04:00
parent d7aeb1a89f
commit b4e146fb60
5 changed files with 23 additions and 24 deletions

View File

@@ -2,15 +2,15 @@ version: 2.0
shards:
ameba:
git: https://github.com/crystal-ameba/ameba.git
version: 1.6.1
version: 1.6.4
athena-negotiation:
git: https://github.com/athena-framework/negotiation.git
version: 0.1.1
version: 0.1.5
backtracer:
git: https://github.com/sija/backtracer.cr.git
version: 1.2.2
version: 1.2.4
db:
git: https://github.com/crystal-lang/crystal-db.git
@@ -20,13 +20,14 @@ shards:
git: https://github.com/crystal-loot/exception_page.git
version: 0.4.1
inotify:
git: https://github.com/petoem/inotify.cr.git
version: 1.0.3
http_proxy:
git: https://github.com/mamantoha/http_proxy.git
version: 0.10.3
inotify:
git: https://github.com/petoem/inotify.cr.git
version: 1.0.3
kemal:
git: https://github.com/kemalcr/kemal.git
version: 1.6.0
@@ -35,10 +36,6 @@ shards:
git: https://github.com/will/crystal-pg.git
version: 0.28.0
pool:
git: https://github.com/ysbaddaden/pool.git
version: 0.2.4
protodec:
git: https://github.com/iv-org/protodec.git
version: 0.1.5
@@ -48,8 +45,8 @@ shards:
version: 0.4.1
redis:
git: https://github.com/stefanwille/crystal-redis.git
version: 2.9.1
git: https://github.com/jgaskins/redis.git
version: 0.11.3
spectator:
git: https://github.com/icy-arctic-fox/spectator.git