Your SlideShare is downloading. ×
Redis 坑
Redis 坑
Redis 坑
Redis 坑
Redis 坑
Redis 坑
Redis 坑
Redis 坑
Redis 坑
Redis 坑
Redis 坑
Redis 坑
Redis 坑
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Redis 坑

7,643

Published on

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

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

Published in: Technology, Business
0 Comments
12 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
7,643
On Slideshare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
147
Comments
0
Likes
12
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

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

×