Please enable JavaScript.
Coggle requires JavaScript to display documents.
Redis - Coggle Diagram
Redis
Commands
strings
concepts
a normal key:"value"
fun fact
integer & float is included here
you can increment/decrement them
linked lists
concepts
a list of values
terminologies
left
(head)
right
(tail)
use case
sets
concepts
similar to linkedlists, but only with unique strings
will cause an error if multiple occurrence
use case
hashs
concepts
storing key:object (like in JS)
analogy
redis inside of redis
use case
storing java objects
storing embedded data (related data)
sorted sets
concepts
a set, but ordered by value
work best if the value is a number
ordered automatically
use case
leaderboard
pub/sub
Introduction
why it exists?
frequently accessed data problem
hard-disk retrieval is expensive & slow
priority queue / leaderboards problem
what is it?
caching store
core knowledge
core usage
connect to redis
command / query
core concepts
stores data on your RAM (memory)
client uses special protocol to communicate
redis has so many usage than caching
cheat sheet
https://gist.github.com/LeCoupa/1596b8f359ad8812c7271b5322c30946
Policies
Best Practices