Session persistence with Redis

29 views
Skip to first unread message

Kunal Pariani

unread,
Jun 15, 2017, 12:13:17 AM6/15/17
to Redis DB
Hello,
I am new to Redis & looking into how Redis provides session persistence ? There's no such client identifier/user-id in the RESP protocol as such which can be leveraged to send a Redis command to a specific server among a pool of servers. Does something else needs to be used on top of RESP to achieve this ?

Thanks

hva...@gmail.com

unread,
Jun 15, 2017, 4:56:41 AM6/15/17
to Redis DB
Redis doesn't have the exact thing you're asking about.  What it does have is data sharding among Redis server instances, which the Redis documentation calls partitioning.  That documentation page describes the three main approaches to sharding data in Redis, with the third being Redis Cluster.  (many people create a group of Redis servers through replication and use the word "cluster" to describe the group, but that's not the same thing as Redis Cluster)  The page has very good descriptions, you should be able to find what you're looking for there.
Reply all
Reply to author
Forward
0 new messages