Skip to content

๐Ÿ“ข ๋งค์ผ์ฝ”ํ…Œ(Mail-Cote) ๋ฐฑ์—”๋“œ ๋ ˆํฌ

Notifications You must be signed in to change notification settings

mail-cote/go-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

50 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ซ Mail-Cote: ์ฝ”๋”ฉํ…Œ์ŠคํŠธ ๋ฉ”์ผ ์ „์†ก ์„œ๋น„์Šค ๐Ÿ“ซ

KakaoTalk_Photo_2024-12-05-16-07-31

GKE gRPC GCP Golang Cloud SQL Docker Nginx Streamlit GCS


Mail-Cote๋Š” gRPC์™€ Google Kubernetes Engine๋ฅผ ํ™œ์šฉํ•œ ์ฝ”๋”ฉํ…Œ์ŠคํŠธ ๋ฉ”์ผ ์ „์†ก ์„œ๋น„์Šค์ž…๋‹ˆ๋‹ค.
๋งค์ผ ์˜ค์ „ 7์‹œ, ์‚ฌ์šฉ์ž์˜ ๋‚œ์ด๋„์— ๋งž๋Š” ๋ฌธ์ œ๋ฅผ ํ๋ ˆ์ดํŒ…ํ•ด ์ด๋ฉ”์ผ๋กœ ์ „์†กํ•ฉ๋‹ˆ๋‹ค.

๐Ÿ”— ์„œ๋น„์Šค ๋ฐ”๋กœ๊ฐ€๊ธฐ


๐Ÿ“‹ ์„œ๋น„์Šค ๊ธฐ๋Šฅ

  1. ์‚ฌ์šฉ์ž๋Š” ์ด๋ฉ”์ผ, ๋น„๋ฐ€๋ฒˆํ˜ธ, ๋‚œ์ด๋„๋ฅผ ์ž…๋ ฅ.
  2. ๋งค์ผ ์˜ค์ „ 7์‹œ, ์‚ฌ์šฉ์ž์˜ ๋‚œ์ด๋„์— ๋งž๋Š” ์ฝ”๋”ฉํ…Œ์ŠคํŠธ ๋ฌธ์ œ๋ฅผ ์ด๋ฉ”์ผ๋กœ ์ „์†ก.
  3. ํ๋ ˆ์ด์…˜๋œ ๋ฌธ์ œ๋ฅผ ํ†ตํ•ด ์ฝ”๋”ฉํ…Œ์ŠคํŠธ ์‹ค๋ ฅ์„ ๊พธ์ค€ํžˆ ํ–ฅ์ƒ.

๐Ÿ‘ฉ๐Ÿปโ€๐Ÿ’ป Members

Name Role
ํ—ˆ์œค์ง€ Back-End
์†ก์„ฑํ›ˆ Back-End

ํŒ€ 8์กฐ๋Š” gRPC์™€ GKE๋ฅผ ์ ๊ทน์ ์œผ๋กœ ํ™œ์šฉํ•˜๋ฉฐ ๋ชจ๋“ˆ ๊ฐ„ ํ†ต์‹ ์„ ํšจ์œจํ™”ํ•˜๊ณ  ํ™•์žฅ ๊ฐ€๋Šฅํ•œ ์„œ๋น„์Šค๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.


๐Ÿง‘๐Ÿปโ€๐Ÿ’ป ํ”„๋กœ์ ํŠธ ๋ฐฐ๊ฒฝ

  • ๋ฐฐ๊ฒฝ: ์ฝ”๋”ฉํ…Œ์ŠคํŠธ ๋ฌธ์ œ๋ฅผ ๋“ฑํ•œ์‹œํ•˜๊ฑฐ๋‚˜ ๊พธ์ค€ํžˆ ํ’€์ง€ ๋ชปํ•˜๋Š” ๊ฒฝ์šฐ๊ฐ€ ๋งŽ์Œ.
  • ๋ชฉํ‘œ: ์ฝ”๋”ฉํ…Œ์ŠคํŠธ ๋ฌธ์ œ๋ฅผ ๋งค์ผ ์ ‘ํ•˜๋ฉฐ ์‹ค๋ ฅ ํ–ฅ์ƒ๊ณผ ํ•™์Šต ์Šต๊ด€์„ ํ˜•์„ฑ.

โš™๏ธ ์„œ๋น„์Šค ์•„ํ‚คํ…์ฒ˜

แ„‰แ…ณแ„แ…ณแ„…แ…ตแ†ซแ„‰แ…ฃแ†บ 2024-12-05 แ„‹แ…ฉแ„’แ…ฎ 4 04 53

1๏ธโƒฃ gRPC๋ฅผ ํ†ตํ•œ ๋ชจ๋“ˆ ๊ฐ„ ํ†ต์‹ 

  • gRPC: ์›๊ฒฉ ๋ชจ๋“ˆ์˜ ํ•จ์ˆ˜๋ฅผ ๋กœ์ปฌ์ฒ˜๋Ÿผ ํ˜ธ์ถœํ•  ์ˆ˜ ์žˆ๋Š” ์›๊ฒฉ ํ”„๋กœ์‹œ์ € ํ”„๋กœํ† ์ฝœ.
  • ๋ชจ๋“ˆ ๊ฐ„ DB ์—ฐ๊ฒฐ ์ตœ์†Œํ™” ๋ฐ ์ฒ˜๋ฆฌ ์†๋„ ์ตœ์ ํ™”.

2๏ธโƒฃ GKE๋ฅผ ํ†ตํ•œ Pod ๊ด€๋ฆฌ

  • GKE: Kubernetes ๊ธฐ๋ฐ˜์˜ ์ปจํ…Œ์ด๋„ˆ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜ ํ”Œ๋žซํผ.
  • Dockerfile, ReplicaSet ๋“ฑ์„ ํ™œ์šฉํ•˜์—ฌ ์„œ๋น„์Šค ์•ˆ์ •์„ฑ ํ™•๋ณด.

3๏ธโƒฃ GCS Bucket์„ ์ด์šฉํ•œ ๋ฐ์ดํ„ฐ ๊ด€๋ฆฌ

  • Google Cloud Storage: ํฌ๋กค๋ง ๋ฐ์ดํ„ฐ๋ฅผ .json ํŒŒ์ผ๋กœ ์ €์žฅ ๋ฐ ๊ด€๋ฆฌ.
  • ์™ธ๋ถ€ ์„œ๋ฒ„์—์„œ ๋””์ง€ํ„ธ ๋ฐ์ดํ„ฐ๋ฅผ ํšจ์œจ์ ์œผ๋กœ ๊ด€๋ฆฌ.

4๏ธโƒฃ Cloud sqld์„ ํ†ตํ•œ RDBMS ๊ด€๋ฆฌ

  • ์ž๋™ ๋ฐฑ์—…, ๋ฐ ์†์‰ฌ์šด ๋ณต๊ตฌ
  • Google Cloud ๊ด€๋ฆฌํ˜• ์„œ๋น„์Šค์ด๋ฏ€๋กœ, ํ˜ธ์œจ์  ์šด์˜ ๋ฐ ํ™•์žฅ ๊ฐ€๋Šฅ์„ฑ ์ธก๋ฉด์—์„œ ์ข‹์Œ.

๐Ÿ› ๏ธ Tech Stack

  • Language: Python, Go
  • Framework: gRPC
  • Infrastructure: GKE, Docker, GCS, Cloud sql
  • Plus: Nginx, Streamlit

๐ŸŒŸ ํ”„๋กœ์ ํŠธ ๋ฏธ๋ฆฌ๋ณด๊ธฐ

์„œ๋น„์Šค ๋ฏธ๋ฆฌ๋ณด๊ธฐ ํŽ˜์ด์ง€: Mail-Cote


๐Ÿ“ˆ Future Plans

  1. ์ฝ”๋”ฉํ…Œ์ŠคํŠธ ๋ฌธ์ œ ์ถ”์ฒœ ์•Œ๊ณ ๋ฆฌ์ฆ˜ ๊ณ ๋„ํ™”.
  2. UI/UX ๊ฐœ์„  ๋ฐ ๋Œ€์‹œ๋ณด๋“œ ์ถ”๊ฐ€.
  3. ๋‹ค์–‘ํ•œ ์ฝ”๋”ฉํ…Œ์ŠคํŠธ ํ”Œ๋žซํผ ์—ฐ๋™(GitHub Copilot, LeetCode, etc).
  4. ๊ธฐ๋Šฅ ํ™•์žฅ

About

๐Ÿ“ข ๋งค์ผ์ฝ”ํ…Œ(Mail-Cote) ๋ฐฑ์—”๋“œ ๋ ˆํฌ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published