44

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.

Wayne
  • 59,728
  • 15
  • 131
  • 126
Will03uk
  • 3,346
  • 8
  • 34
  • 40

3 Answers3

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
    the tutorial link doesn't seem to be working any longer – vsync Aug 07 '13 at 19:45
  • 2
    It'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
8

The book Learning Node has Chapter 9 Structured Data with Node and Redis.

feklee
  • 7,555
  • 9
  • 54
  • 72
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