Using the Redis NoSql database with .NET Part 6: the hash data type in C#
April 14, 2017 Leave a comment
Introduction
In the previous post we looked at the sorted set data type in Redis. A sorted set is not simply a set where the values are sorted. It is a container of unique strings where each member also has a score. The members in the sorted set are sorted by their scores. Sorted sets can be applicable for scores reached in a competition, the time it took to complete various activities, the energy lost during a physical exercise etc., i.e. anywhere where a member also has a numeric value attached to it. We also discussed the basics of persistence and how it is configured for the Windows Redis service through a configuration file.
In this post we’ll look at one remaining data type in Redis, namely hashes.