BC00
BC00

Reputation: 1639

Redis Store Key Value Pairs with Mutable Value

I want to store a list of events with a users uuid as the key and a list as the value, I want to be able to continue to append new events to the list, what is the best redis data structure to use for this?

Upvotes: 0

Views: 302

Answers (1)

Tasos Vogiatzoglou
Tasos Vogiatzoglou

Reputation: 2453

It depends on how you'll access those values. A list should be fine

LPUSH <key> <value>

Upvotes: 2

Related Questions