Redis 坑
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Redis 坑

on

  • 7,527 views

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

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

Statistics

Views

Total Views
7,527
Views on SlideShare
3,158
Embed Views
4,369

Actions

Likes
9
Downloads
110
Comments
0

10 Embeds 4,369

http://blog.fulin.org 4325
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

Categories

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 坑 Presentation Transcript

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