How do you use the node.js redis library, what are the core concepts of redis and what does all the redis functions do, e.g. hset, hget etc? Could I have some example.
Asked
Active
Viewed 5.8k times
44
-
6@lwburk well yes, I've found lot's auto-generated 'documentation' listing every function without explaining it's unique concept – Will03uk Aug 27 '11 at 23:55
-
1this pdf 'the little redis book' helped me http://openmymind.net/redis.pdf – Connor Leech Jan 10 '14 at 13:49
3 Answers
61
How do you use the nodejs redis library
Check out node_redis and its examples.
what are the core concepts of redis
You should look at redis data types in order to get a bigger picture of its concepts and data types.
what does all the redis functions do
Try to look at this introduction in order to better understand its commands.

yojimbo87
- 65,684
- 25
- 123
- 131
-
1
-
2It's a shame that the tutorial link is no longer working since it was one of the best tutorials in the wild. I changed it to redis data types. – yojimbo87 Aug 07 '13 at 21:02
4
Here are the redis documentation.
And here is the nodejs documentation.
What you're using in nodejs should just be a redis-driver. So using redis in nodejs is the same as using redis in any other environment.

Luke Girvin
- 13,221
- 9
- 64
- 84

Raynos
- 166,823
- 56
- 351
- 396