Redis開発とメンテナンス:プロパティ
1425 ワード
Redis特性
スピードが速い
メモリデータベース
L1 cache reference CPU 0.5 ns
Branch mispredict ( 、 ) 5 ns
L2 cache reference CPU 7 ns
Mutex lock/unlock \ 100 ns
Main memory reference 100 ns
Compress 1K bytes with Zippy 1k 10,000 ns
Send 2K bytes over 1 Gbps network 1Gbps 2k 20,000 ns
Read 1 MB sequentially from memory 1MB 250,000 ns
Round trip within same datacenter ,ping 500,000 ns
Disk seek 10,000,000 ns
Read 1 MB sequentially from network 1 10,000,000 ns
Read 1 MB sequentially from disk 1MB 30,000,000 ns
Send packet CA->Netherlands->CA 150,000,000 ns
言語
C
シングルスレッド
,
REmote Dictionary Server
,
, ( 、 、 、 、 、 、HyperLogLog、GEO)
豊富な機能
Lua
Pipeline
永続化
RDB AOF
マスターコピー
高可用性分散