Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escape Gatsby Cloud Lock-in #432

Closed
cometkim opened this issue Jan 7, 2022 · 3 comments
Closed

Escape Gatsby Cloud Lock-in #432

cometkim opened this issue Jan 7, 2022 · 3 comments

Comments

@cometkim
Copy link
Member

cometkim commented Jan 7, 2022

image

Gatsby Cloud 호스팅 플랜이 빌드 플랜이랑 통합되면서 외부 호스팅 연동에 제한이 생겼고 이미 초과해서 더 사이트를 만들 수 없는 상태.

물론 Gatsby Cloud hosting 을 쓸 수 있긴 하나 가격 올라갈게 뻔히 보이는 상황.. (+ 어차피 커스텀 도메인 갯수도 묶여있음...)

Gatsby Cloud Build + Preview 가 필요한 사이트의 경우만 Gatsby Hosting 써서 배포하도록 하고 그렇지 않은 사이트들은 커스텀 빌드로 옮기는게 좋아보임. P'n'P + Turborepo 끼얹어서 빌드 속도 얼마나 따라잡을 수 있는지 확인 필요

Related #59

@cometkim
Copy link
Member Author

cometkim commented Jan 7, 2022

Vercel도 마찬가지긴 함. 당근마켓 프론트가 적극적으로 리모트 웹뷰 전환을 하고 있는 시점이라 조만간 Bandwidth 제한 맞을 가능성 높음

Cloudflare Pages 는 Requests/Bandwidth 과금이 없는데 artifacts 만 따로 업로드하는 옵션이 안보임. (concurrent build 를 핵심으로 프라이싱 하는 이상 당연할듯...)

@cometkim
Copy link
Member Author

cometkim commented Jan 7, 2022

그냥 Workers Site 로 배포할까... 얼마 나올지 대충 계산 필요함

  • Bandwidth: 제한 없음 👍

  • Requests: 널널해보임

    • 10M 까지 $5/mon (KV read 포함)
    • 초과 1M 마다 $1 (request $0.5, kv $0.5)
    • (다운스트림 응답은 제외함)
  • Build: 널널해보임

    • GitHub Actions 쓴다고 가정
    • 빌드 캐시 push 할 때 KV write 비용 포함 (chore)
    • 배포 push 할 때 KV write 비용을 포함
      • 1M 까지 $5/mon
      • 현재 team.daangn.com 기준 101개 path * 하루에 대략 20번 씩 600 번 정도 수행되므로 러프하게 사이트당 60000 번
      • (리소스가 대부분 immutable 하므로 빌드 캐시 잘쓸 수록 급격하게 완화할 수 있다)
  • Storage: 널널해보임

    • 1G 까지 $5/mon
    • 초과 1M 마다 $5
  • 제약사항:

음 괜찮은데

@cometkim
Copy link
Member Author

cometkim commented Jan 7, 2022

하 배포해야하는데 이게 무슨 야크쉐이빙이람

@cometkim cometkim closed this as not planned Won't fix, can't repro, duplicate, stale Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant