Skip to content

Commit

Permalink
Add new post
Browse files Browse the repository at this point in the history
  • Loading branch information
hhhyunwoo committed Jul 26, 2023
1 parent 8fa8dde commit d1141bd
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: "[SRE] Ch06. Monitoring Distrubuted Systems"
date: 2023-07-26
date: 2023-07-25
categories:
- Study
- Book
Expand Down
68 changes: 68 additions & 0 deletions _posts/2023-07-26-sre-ch7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
layout: post
title: "[SRE] Ch07. The Evolution of Automation at Google"
date: 2023-07-26
categories:
- Study
- Book
- SRE
tags: [
sre,
google,
devops,
study,
book,
reliable,
]
---
> 흑인 μ˜ˆμˆ μ— 견쀄 수 μžˆλŠ” 것은 **μžλ™ν™”**와 **기계화 뿐**이닀.
>
SRE λŠ” 신뒰성을 κ΄€λ¦¬ν•˜λŠ” μ‘°μ§μœΌλ‘œμ„œ `Human Error` 와 λΆˆν•„μš”ν•¨μ„ μš”κ΅¬ν•˜λŠ” 뢀뢄을 μ œκ±°ν•˜λŠ” μž‘μ—…μ€ ν•„μˆ˜μ μœΌλ‘œ λ³΄μž„!

- **λ˜ν•œ μžλ™ν™”λ₯Ό ν†΅ν•΄μ„œ 주어진 λ°©ν–₯으둜 νž˜μ„ 더할 수 있음**
- **ν•˜μ§€λ§Œ, μ •ν™•λ₯ μ„ λ†’μ—¬μ£ΌλŠ” 것은 μ•„λ‹˜. λ”°λΌμ„œ μžλ™ν™”λ„ 잘 λ””μžμΈ ν•΄μ•Όν•œλ‹€**

## μžλ™ν™”μ˜ κ°€μΉ˜

### 일관성

- μ •ν™•ν•˜κ²Œ μ •μ˜λœ 업무 λ²”μœ„μ™€ 정해진 절차λ₯Ό μˆ˜ν–‰ν•˜κΈ° μœ„ν•΄μ„œ 일관성은 맀우 μ€‘μš”ν•¨!

### ν”Œλž«νΌ

- μ˜¬λ°”λ₯΄κ²Œ λ””μžμΈν•΄μ„œ κ΅¬ν˜„λœ μžλ™ μ‹œμŠ€ν…œμ€ ν™•μž₯μ„± 있고, μ΄μœ€μ„ μ°½μΆœν•  μˆ˜λ„ μžˆλŠ” ν”Œλž«νΌμ„ μ œκ³΅ν•¨
- ex. borg
- ν”Œλž«νΌμ„ μ‚¬μš©ν•˜λ©΄ νœ΄λ¨Όμ—λŸ¬λ₯Ό 쀄이고, μ‹€μˆ˜λ₯Ό 쀑앙집쀑화할 수 있음

### 더 μ‹ μ†ν•œ μˆ˜λ¦¬μ™€ 더 μ‹ μ†ν•œ 쑰치

- μ‚¬λžŒμ΄ ν•˜λŠ” 것 보닀 μžλ™ν™”λ₯Ό 톡해 기계가 ν•΄λ‹Ή 이슈λ₯Ό μ²˜λ¦¬ν•˜λŠ”κ²Œ 훨씬 빠름

### μ‹œκ°„ 절감

- λ¬Όλ‘  μ‹œκ°„ μ ˆκ°λ„ 됨!

## ꡬ글 SRE의 κ°€μΉ˜

- `μš©μ΄μ„±`κ³Ό `ν™•μž₯μ„±`을 μ€‘μš”μ‹œ 함
- ꡬ글은 λ‚΄λΆ€μ μœΌλ‘œ μžλ™ν™” ν”Œλž«νΌ ν˜Ήμ€ μžλ™ν™” μž‘μ—…μ„ 정말 많이 함!
- μ™ΈλΆ€μ—μ„œ μ‚΄ 수 μžˆμ–΄λ„ λ‚΄λΆ€μ—μ„œ κ΅¬ν˜„ν•˜κ³€ 함
- κ·Έλž˜μ„œ k8sκ°™μ€κ²Œ λ‚˜μ˜¬ 수 μžˆλŠ” 건가…

## μžλ™ν™”μ˜ 사둀

- κ·Έλƒ₯ μ•„λ¬΄κ²ƒμ΄λ‚˜ μžλ™ν™”λ₯Ό 해버리면 μ‹œμŠ€ν…œλ§Œ λŠ˜μ–΄λ‚˜κ³  관리 ν¬μΈνŠΈκ°€ λŠ˜μ–΄λ‚˜κ²Œλ˜λ©΄μ„œ λ‘œλ“œλ§Œ 더 κ±Έλ¦Ό.
- λ”°λΌμ„œ 잘 해야함
- **μ‹œμŠ€ν…œ μžλ™ν™”μ˜ 단계**
1. μžλ™ν™”λ₯Ό ν•˜μ§€ μ•ŠλŠ” 단계 (μž‘μ—…μžκ°€ μˆ˜λ™μœΌλ‘œ μ‹€ν–‰)
2. λ³„λ„λ‘œ κ΄€λ¦¬λ˜λ©° μ‹œμŠ€ν…œμ— νŠΉν™”λœ μžλ™ν™”λ₯Ό μˆ˜ν–‰ (μž‘μ—…μžκ°€ μ‹œμŠ€ν…œμ— 맞게 μž‘μ„±ν•œ μž₯μ•  λŒ€μ‘ 슀크립트λ₯Ό 돌림)
3. λ³„λ„λ‘œ κ΄€λ¦¬λ˜λŠ” λ²”μš© μžλ™ν™” μˆ˜ν–‰ (λͺ¨λ‘κ°€ ν•¨κ»˜ μ‚¬μš©ν•˜λŠ” λ²”μš© μž₯μ• λŒ€μ‘ 슀크립트둜 μˆ˜ν–‰)
4. λ‚΄μž¬ν™”λ˜μ—ˆμ§€λ§Œ μ‹œμŠ€ν…œμ— νŠΉν™”λœ μžλ™ν™”λ₯Ό μˆ˜ν–‰ (μ‹œμŠ€ν…œ 자체적으둜 슀크립트 μ‹€ν–‰)
5. μžλ™ν™”κ°€ λΆˆν•„μš”ν•œ μ‹œμŠ€ν…œμ„ λ„μž… (μ‚¬λžŒ κ°œμž…μ—†μ΄ μžλ™μœΌλ‘œ μž₯μ•  λŒ€μ‘)
- MySQL μ˜ˆμ‹œμ™€ ν΄λŸ¬μŠ€ν„° ν„΄μ—… μ˜ˆμ‹œ
- β†’ 적합성, μ§€μ—°μ‹œκ°„, 연관성을 μ€‘μš”μ‹œ ν•˜λ©° μžλ™ν™”κ°€ 진행됨


### Hub and Spock
<img width="852" alt="image" src="https://github.com/hhhyunwoo/hhhyunwoo/assets/37402136/b607de64-057c-4fde-8e27-b202eb6e631e">

0 comments on commit d1141bd

Please sign in to comment.