Redis 核心技術與實戰

Backend 讀書會

03/30

15:00~16:30

@Universe Tech

Persistence

  • RDB
  • AOF (Append Only File)

Persistence

  • AOF (Append Only File)

Persistence

  • AOF (Append Only File)
    • ​No grammar check
    • No blocking on current request
    • Write on main thread
    • Data loss possibility

Persistence

  • AOF Policy

Persistence

  • AOF Rewrite

Persistence

  • AOF Rewrite

Persistence

  • RDB
    • ​save
    • bgsave

Write Lock?

Persistence

  • RDB - (Copy-On-Write, COW)

Persistence

  • RDB

Only one bgsave at the same time

Persistence

  • RDB

Persistence

  • RDB + AOF

Persistence

  • RDB + AOF

Discussion

Redis 核心技術與實戰 - Backend 讀書會

By Albert Chen

Redis 核心技術與實戰 - Backend 讀書會

  • 177