redis - matt.sh · redis replication cluster sentinel journal (text) snapshot (binary) clients,...

23
REDIS

Upload: others

Post on 17-Mar-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDIS

Page 2: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDISdata structures persist / restore

networking

OS

Page 3: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDISset

list

sorted set

hash

string

data structures persist / restore

networking

OS

Page 4: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDISset

list

sorted set

hash

string

bitmapHLL

data structures persist / restore

networking

OS

Page 5: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDISset

list

sorted set

hash

string

quicklistziplistlinkedbitmapHLL

data structures persist / restore

networking

OS

Page 6: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDISset

list

sorted set

hash

string

quicklistziplistlinked

skiplist zipset

bitmapHLL

data structures persist / restore

networking

OS

Page 7: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDISset

list

sorted set

hash

string

quicklistziplistlinked

skiplist zipset

intsetdict set

bitmapHLL

data structures persist / restore

networking

OS

Page 8: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDISset

list

sorted set

hash

string

quicklistziplistlinked

skiplist zipset

intsetdict set

dict map zipmap

bitmapHLL

data structures persist / restore

networking

OS

Page 9: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDISset

list

sorted set

hash

string

quicklistziplistlinked

skiplist zipset

intsetdict set

dict map zipmap

sdsembeded

bitmapHLL

data structures persist / restore

networking

OS

Page 10: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDIS

replication cluster

set

list

sorted set

hash

string

quicklistziplistlinked

skiplist zipset

intsetdict set

dict map zipmap

sdsembeded

bitmapHLL

data structures persist / restore

networking

OS

Page 11: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDIS

replication cluster

set

list

sorted set

hash

string

quicklistziplistlinked

skiplist zipset

intsetdict set

dict map zipmap

sdsembeded

bitmapHLL

data structures persist / restore

networking

OS

streaming

diskless sync

psync

Page 12: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDIS

replication cluster

clients, external, request->response

clients, external, pipeline

clients, internal

clients, external, blocked

set

list

sorted set

hash

string

quicklistziplistlinked

skiplist zipset

intsetdict set

dict map zipmap

sdsembeded

bitmapHLL

data structures persist / restore

networking

OS

streaming

diskless sync

psync

Page 13: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDIS

replication cluster

clients, external, request->response

clients, external, pipeline

clients, internal

clients, external, blocked

set

list

sorted set

hash

string

quicklistziplistlinked

skiplist zipset

intsetdict set

dict map zipmap

sdsembeded

bitmapHLL

data structures persist / restore

networking

OS

streaming

diskless sync

psync

Page 14: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDIS

replication cluster

clients, external, request->response

clients, external, pipeline

clients, internal

clients, external, blocked

set

list

sorted set

hash

string

quicklistziplistlinked

skiplist zipset

intsetdict set

dict map zipmap

sdsembeded

bitmapHLL

data structures persist / restore

networking

OS

streaming

diskless sync

psync

cluster

Page 15: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDIS

replication cluster

clients, external, request->response

clients, external, pipeline

clients, internal

clients, external, blocked

set

list

sorted set

hash

string

quicklistziplistlinked

skiplist zipset

intsetdict set

dict map zipmap

sdsembeded

bitmapHLL

data structures persist / restore

networking

OS

streaming

diskless sync

psync

clustercluster protocol

cluster clients

cluster masters

cluster replicas

Page 16: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDIS

replication cluster

sentinel

clients, external, request->response

clients, external, pipeline

clients, internal

clients, external, blocked

set

list

sorted set

hash

string

quicklistziplistlinked

skiplist zipset

intsetdict set

dict map zipmap

sdsembeded

bitmapHLL

data structures persist / restore

networking

OS

streaming

diskless sync

psync

clustercluster protocol

cluster clients

cluster masters

cluster replicas

Page 17: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDIS

replication cluster

sentinel

clients, external, request->response

clients, external, pipeline

clients, internal

clients, external, blocked

set

list

sorted set

hash

string

quicklistziplistlinked

skiplist zipset

intsetdict set

dict map zipmap

sdsembeded

bitmapHLL

data structures persist / restore

networking

OS

streaming

diskless sync

psync

sentinel protocol

sentinel clients

redis masters

redis replicascluster

cluster protocol

cluster clients

cluster masters

cluster replicas

Page 18: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDIS

replication cluster

sentinel

journal (text)

snapshot (binary)

clients, external, request->response

clients, external, pipeline

clients, internal

clients, external, blocked

set

list

sorted set

hash

string

quicklistziplistlinked

skiplist zipset

intsetdict set

dict map zipmap

sdsembeded

bitmapHLL

data structures persist / restore

networking

OS

streaming

diskless sync

psync

sentinel protocol

sentinel clients

redis masters

redis replicascluster

cluster protocol

cluster clients

cluster masters

cluster replicas

Page 19: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDIS

replication cluster

sentinel

journal (text)

snapshot (binary)

clients, external, request->response

clients, external, pipeline

clients, internal

clients, external, blocked

set

list

sorted set

hash

string

quicklistziplistlinked

skiplist zipset

intsetdict set

dict map zipmap

sdsembeded

bitmapHLL

fork()

fork()thread

data structures persist / restore

networking

OS

streaming

diskless sync

psync

sentinel protocol

sentinel clients

redis masters

redis replicascluster

cluster protocol

cluster clients

cluster masters

cluster replicas

Page 20: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDIS

replication cluster

sentinel

journal (text)

snapshot (binary)

clients, external, request->response

clients, external, pipeline

clients, internal

clients, external, blocked

set

list

sorted set

hash

string

quicklistziplistlinked

skiplist zipset

intsetdict set

dict map zipmap

sdsembeded

bitmapHLL

fork()

fork()thread

data structures persist / restore

networking

OS

streaming

diskless sync

psync

sentinel protocol

sentinel clients

redis masters

redis replicas

fork()

thread

fsync()timers backtrace

signals config DNS

config parsing

syslog

rand()

clustercluster protocol

cluster clients

cluster masters

cluster replicas

Page 21: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDIS

replication cluster

sentinel

journal (text)

snapshot (binary)

clients, external, request->response

clients, external, pipeline

clients, internal

clients, external, blocked

set

list

sorted set

hash

string

quicklistziplistlinked

skiplist zipset

intsetdict set

dict map zipmap

sdsembeded

bitmapHLL

fork()

fork()thread

data structures persist / restore

networking

OS

streaming

diskless sync

psync

sentinel protocol

sentinel clients

redis masters

redis replicas

event loop

async I/O

coroutines

green threads

fork()

thread

fsync()timers backtrace

signals config DNS

config parsing

syslog

rand()

clustercluster protocol

cluster clients

cluster masters

cluster replicas

Page 22: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDIS

replication cluster

sentinel

journal (text)

snapshot (binary)

clients, external, request->response

clients, external, pipeline

clients, internal

clients, external, blocked

set

list

sorted set

hash

string

quicklistziplistlinked

skiplist zipset

intsetdict set

dict map zipmap

sdsembeded

bitmapHLL

fork()

fork()thread

data structures persist / restore

networking

OS

streaming

diskless sync

psync

sentinel protocol

sentinel clients

redis masters

redis replicas

event loop

async I/O

coroutines

green threads

fork()

thread

fsync()timers backtrace

signals config DNS

config parsing

syslog

rand()

clustercluster protocol

cluster clients

cluster masters

cluster replicas

🐮

Page 23: REDIS - matt.sh · REDIS replication cluster sentinel journal (text) snapshot (binary) clients, external, request->response clients, external, pipeline clients, internal clients,

REDIS

replication cluster

sentinel

journal (text)

snapshot (binary)

clients, external, request->response

clients, external, pipeline

clients, internal

clients, external, blocked

set

list

sorted set

hash

string

quicklistziplistlinked

skiplist zipset

intsetdict set

dict map zipmap

sdsembeded

bitmapHLL

fork()

fork()thread

data structures persist / restore

networking

OS

streaming

diskless sync

psync

sentinel protocol

sentinel clients

redis masters

redis replicas

event loop

async I/O

coroutines

green threads

fork()

thread

fsync()timers backtrace

signals config DNS

config parsing

syslog

rand()

clustercluster protocol

cluster clients

cluster masters

cluster replicas

🐮💯