이야기박스

GCP Business Logic & Data Layer & Network Design 본문

Computer & Data/Cloud Platform

GCP Business Logic & Data Layer & Network Design

박스님 2019. 4. 4. 15:10
반응형

Business Logic

Microservices Design으로 이용됨.

Microservices example using Cloud Function

 

# 12-factor development tools and platforms in gcp

- cloud shell

- cloud source repository

- build app engine

- deployment manager templates

- custom images

- metadata server

Instance templates, Managed instance groups, and autoscaling

 

# Scaling

- vertical caling

- horizontal scaling

 

# Tradeoffs

- balance latency

- capacity

- scalability

- cost

 

# Design first, dimension later

Design first

 

Dimension later

 

# Five Why's

https://en.wikipedia.org/wiki/5_Whys

 

5 Whys - Wikipedia

5 Whys is an iterative interrogative technique used to explore the cause-and-effect relationships underlying a particular problem.[1] The primary goal of the technique is to determine the root cause of a defect or problem by repeating the question "Why?".

en.wikipedia.org

Data Layer

- data integrity

- data transaction property

 

* Google 20% policy

https://www.businessinsider.com/google-20-percent-time-policy-2015-4

 

The truth about Google's famous '20% time' policy

Only about 10% of employees are using it.

www.businessinsider.com

# BigQuery

- Data Warehouses

- log data에 적합함 (어느 순간의 로그 데이터)

 

# CloudSQL

- vertical scale

 

# CloudSpanner

- RDB

- single managed system 적합

Network

# Load balancing

# on-premise

# multi-cloud

 

* peering google

https://peering.google.com/#/

 

Google Edge Network

 

peering.google.com

* status google

https://status.cloud.google.com/

 

Google Cloud Status Dashboard

This page provides status information on the services that are part of Google Cloud Platform. Check back here to view the current status of the services listed below. If you are experiencing an issue not listed here, please contact Support. Learn more abou

status.cloud.google.com

 

Scale the backend processing of thumbnails

위 그림에서 Thumbnail Servers 들이 Data Storage Server로의 작업이 완료되었을 경우, Data Storage Server는 Trigger를 통하여 Upload Server로 알려줌

 

# App logs are growing situation

- Logging Server is statefull ==> independent each other ==> load balancer

 

반응형

'Computer & Data > Cloud Platform' 카테고리의 다른 글

GCP Capacity Planning and Cost Optimization  (0) 2019.04.05
GCP Design for security  (0) 2019.04.05
GCP 설계 & 디자인  (0) 2019.04.04
GCP 교육 2일차 - DataFlow  (0) 2019.02.20
GCP 교육 2일차 - BigQuery  (0) 2019.02.20