Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortener

목표

  • URL 단축기를 코프링으로 개발
  • 단축한 URL은 Redis에 저장 (캐싱, 분산처리)
  • 단축 URL 저장 기간은 5년으로 가정
  • 가용성 : 99.9% (연간 8.76시간 다운) / 가용성 최대한 올려보기

트래픽 규모 (대략적 수치)

  • DAU : 1000만

  • Write

    1. 일일 1000만개의 단축 URL 생성
    2. 초당 쓰기 연산 : 1000만 / 24 / 3600 = 115.7 QPS
    3. 피크 시간대 : 500-1000 QPS
  • Read

    1. R:W 비율 : 100:1
    2. 일일 읽기 연산 : 1000만 * 100 = 10억
    3. 초당 읽기 연산 : 10억 / 24 / 3600 = 11.574 QPS
    4. 피크 시간대 : 50,000 - 100,000 QPS
  • 예상 저장 용량

  • 1000만(일일URL) * 365 * 5 = 182.5억개의 레코드 저장

  • 저장 용량 : 182.5억 * 200바이트 = 3.65TB


About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages