• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Redis 坑
 

Redis 坑

on

  • 7,251 views

weibo.com 使用 redis 过程中,踩过的坑

weibo.com 使用 redis 过程中,踩过的坑

Statistics

Views

Total Views
7,251
Views on SlideShare
2,890
Embed Views
4,361

Actions

Likes
8
Downloads
106
Comments
0

10 Embeds 4,361

http://blog.fulin.org 4317
http://cache.baidu.com 24
http://xianguo.com 11
http://paper.li 2
http://feed.feedsky.com 2
http://www.zhuaxia.com 1
http://blog.fulin.org} {1550635805|||pingback 1
http://reader.youdao.com 1
http://www.sogou.com 1
http://blog.fulin.org HTTP 1
More...

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-NoDerivs LicenseCC Attribution-NoDerivs License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Redis 坑 Redis 坑 Presentation Transcript

    • Redis @http://weibo.com/tangfl
    • Redis• disk backed in-memory database• support • k-v • hash • list • set (sorted set) • rdb/aof , master - slave
    • • int k-v 104 byte• • rediscounter • hash • hash-max-zipmap-size
    • • • rehash • get set • redis 48g 4 8g 2 18g 34g 8 13 08:27 iPhone• •
    • • • rehash • write aof• • • aof
    • • master -> slave • master dump rdb, and send to slave • master send every cmd to slave•• • • pos eRedis
    • • rdb • dump all data to disk • fork • •
    • • aof • append every write cmd to aof • long recover time • must bgrewrite from time to time • bgrewrite •
    • • • eRedis • rdb + aof with postion • write • write 2.4 rc8
    • • Java • server • jedis vs jredis • pool lifo=false block time etc • pool • HA
    • pipeline•
    • hgetAll•• mc cache
    • Thanks @http://weibo.com/tangfl