redis / go-redis

Redis Go client
https://redis.uptrace.dev
BSD 2-Clause "Simplified" License
19.98k stars 2.36k forks source link

Client library support for Redis as multi-model database #2765

Open shamhub opened 12 months ago

shamhub commented 12 months ago

Discussed in https://github.com/redis/go-redis/discussions/2764

Originally posted by **shamhub** October 18, 2023 Go supports client library to talk to Redis memory as cache. https://github.com/redis/go-redis but, I learnt that Redis can also be used as RDBMS or Document DB, as mentioned [here](https://www.youtube.com/watch?v=oa1ns12KFhQ) Does Go support client library to talk to Redis as RDBMS database?
ofekshenawa commented 11 months ago

Hey @shamhub , We are continually expanding the capabilities of go-redis by adding more Redis data types and modules. In go-redis version 9.3.0, we introduced Triggers and Functions, Timeseries, Probabilistic, and JSON modules. The only module we are currently not supporting is RediSearch and we are working on adding it as well.

https://github.com/redis/go-redis/releases/tag/v9.3.0

shamhub commented 11 months ago

Hi @ofekshenawa 1) Is Redis(new version) allowed to be a disk-based database? Because, generally Redis is used as in-memory database, limited by RAM size.. 2) If yes, Does 9.3 version client library support talking to Redis server hosted as disk based database? 3) If yes, Please share some documentation on using triggers and functions