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

Apply cache for beginner#1

on

  • 749 views

 

Statistics

Views

Total Views
749
Views on SlideShare
749
Embed Views
0

Actions

Likes
0
Downloads
3
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

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

    Apply cache for beginner#1 Apply cache for beginner#1 Presentation Transcript

    • Apply Cache For Beginner #1 charsyam@naver.com
    • Key Value and KEY Value User_ID Profile - LastLoginTime - UserName - ETC
    • Key Value and 1. Check Cache Server -> Read Cache 2. Read DB -> Write Cache
    • Key Value – Easy to Read and 1. Check Cache Server -> Read Cache 2. Read DB -> Write Cache
    • Key Value – Hard to Update and 1. Update To DB 2. Update to Cache
    • What is Hard?
    • Key Value – SYNC Easy and Fail!!! 1. Update To DB 2. Fail To Transaction
    • Key Value – SYNC HARD and 1. Update To DB Fail!!! 2. Update to Cache
    • Key Value – How and 1. Update To DB Fail!!! 2. Update to Cache RETRY BATCH
    • Data!The most important thing
    • If data is not important Cache Updating is not important Login Count Last Login Time ETC
    • BUT!
    • If data is important Cache Updating is important Server Address Data Path ETC
    • HOW!
    • RETRY!Retry, Retry, RetrySolve Over 9x%.
    • Batch!Queuing Service
    • Error Log Queue BatchError Log ProcessorError LogError Log CacheError Log Server
    • Error Log Queue BatchError Log ProcessorError Log Error LogError Log Cache Server
    • Error Log Queue Batch UPDATEError Log ProcessorError LogError Log Cache Server Error Log
    • GEARMANBEANSTALKD
    • Thank you!