Greetings,
I want to store some data in a redis db and don't know which way I should go. The data is equivalent to something like an address with the variables name
, street
and number
. They will be stored under the lower cased name
as key, there won't be doublets.
Now, should I save it as a list or should I serialize the hash ({:name => 'foo', :street => 'bar', :number => 'baz'}
for example) with JSON/Marshall and simply store that?
Regards
Tobias