Apply cache for beginner#1
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
819
On Slideshare
819
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
4
Comments
0
Likes
0

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. Apply Cache For Beginner #1 charsyam@naver.com
  • 2. Key Value and KEY Value User_ID Profile - LastLoginTime - UserName - ETC
  • 3. Key Value and 1. Check Cache Server -> Read Cache 2. Read DB -> Write Cache
  • 4. Key Value – Easy to Read and 1. Check Cache Server -> Read Cache 2. Read DB -> Write Cache
  • 5. Key Value – Hard to Update and 1. Update To DB 2. Update to Cache
  • 6. What is Hard?
  • 7. Key Value – SYNC Easy and Fail!!! 1. Update To DB 2. Fail To Transaction
  • 8. Key Value – SYNC HARD and 1. Update To DB Fail!!! 2. Update to Cache
  • 9. Key Value – How and 1. Update To DB Fail!!! 2. Update to Cache RETRY BATCH
  • 10. Data!The most important thing
  • 11. If data is not important Cache Updating is not important Login Count Last Login Time ETC
  • 12. BUT!
  • 13. If data is important Cache Updating is important Server Address Data Path ETC
  • 14. HOW!
  • 15. RETRY!Retry, Retry, RetrySolve Over 9x%.
  • 16. Batch!Queuing Service
  • 17. Error Log Queue BatchError Log ProcessorError LogError Log CacheError Log Server
  • 18. Error Log Queue BatchError Log ProcessorError Log Error LogError Log Cache Server
  • 19. Error Log Queue Batch UPDATEError Log ProcessorError LogError Log Cache Server Error Log
  • 20. GEARMANBEANSTALKD
  • 21. Thank you!