Weitere ähnliche Inhalte
Ähnlich wie Apply cache for beginner#1
Ähnlich wie Apply cache for beginner#1 (20)
Mehr von DaeMyung Kang (20)
Kürzlich hochgeladen (20)
Apply cache for beginner#1
- 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
- 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
- 11. If data is not important
Cache Updating is not important
Login Count
Last Login Time
ETC
- 13. If data is important
Cache Updating is important
Server Address
Data Path
ETC
- 17. Error Log
Queue Batch
Error Log Processor
Error Log
Error Log Cache
Error Log Server
- 18. Error Log
Queue Batch
Error Log Processor
Error Log Error Log
Error Log Cache
Server
- 19. Error Log
Queue Batch UPDATE
Error Log Processor
Error Log
Error Log Cache
Server
Error Log