Redis

Is being followed by 0 users

There are 8 cards with this tag.

There are 1 decks with cards that have this tag.

Created by: Jack Kinsella

redis - what does this do?

hset soulmate-data:tasks 1 "{\"term\":\"Take out the trash\"}"

saves value (here a json object) into a soulmate-data:tasks at key 1

Created by: Jack Kinsella

redis - what does this do?

HMGET soulmate-data:tasks 1 2

HMGET = Hash Multiple Get

Gets values at keys 1 and 2 in soulmate-data:tasks

Created by: Jack Kinsella

redis - what does this set name communicate (convention)

soulmate-cache:tasks:ta|bus

intersection of what would be inside soulmate-cache:tasks and soulmate-cache:bus

Created by: Jack Kinsella

redis - how to expire a set in 60 seconds?

EXPIRE soulmate-cache:tasks 600

Created by: Jack Kinsella

redis - how to delete everything in database

flushall

Created by: Jack Kinsella

redis - what does this do?

zadd tasks 0 train

adds 'train' to the tasks set

Created by: Jack Kinsella

redis- what does this do?

ZRANK tasks ta

get index of "ta" in tasks set

Created by: Jack Kinsella

redis - what does this do:

ZRANGE soulmate-index:tasks 0 -1

Lists all elements from the set soulmate-index:tasks

(0 means start from the first element, and -1 means continue until the end)

You must be logged in to perform this action.

Login now

×

Deck Management

You must be logged in to perform this action.

Login now

Done ×

Deck Management

You must be logged in to perform this action.

Login now

Done ×

Deck Management

You must be logged in to perform this action.

Login now

Done ×

Deck Management

You must be logged in to perform this action.

Login now

Done ×

Deck Management

You must be logged in to perform this action.

Login now

Done ×

Deck Management

You must be logged in to perform this action.

Login now

Done ×

Deck Management

You must be logged in to perform this action.

Login now

Done ×

Deck Management

You must be logged in to perform this action.

Login now

Done ×