Nothing Special   »   [go: up one dir, main page]

Skip to content

๐Ÿ’™ ์ฃผ๋ฌธ ์ƒ์„ฑ ๋ฐ ๊ด€๋ฆฌ ํ…Œ์ŠคํŠธ ๐Ÿ’™

Notifications You must be signed in to change notification settings

imzero238/Order-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

E-commerce side project: Order-service

skills

  • Spring Boot, Spring JPA
  • Kafka, OpenFeign
  • Resilience4J CircuitBreaker + Retry
  • MySQL

๐Ÿ“š ์žฌ๋ฏธ์žˆ์—ˆ๋˜ ๋ฆฌํŒฉํ† ๋ง ๋ฆฌ์ŠคํŠธ

Transactional Outbox Pattern์œผ๋กœ ์„ ํ˜•์„ฑ ๋ณด์žฅ

  • DB insert ์ž‘์—…๊ณผ Kafka Event ๋ฐœํ–‰ ์ž‘์—…์˜ ์„ ํ˜•์„ฑ ๋ณด์žฅ
  • DB insert ๋œ ๋ฐ์ดํ„ฐ๋งŒ Kafka Event ๋ฐœ์ƒํ•ด DB์™€ Kafka ๊ฐ„ ์†๋„ ์ฐจ์ด ํ•ด๊ฒฐ
  • but, TPS ์ €ํ•˜ ์‹ฌ๊ฐ... ๐Ÿค” (ํ˜„์žฌ Debezium ์ ์šฉ ์ค‘)
  • ํฌ์ŠคํŒ…
  • ์ปค๋ฐ‹

Kafka Streams Join์œผ๋กœ DB I/O ์ตœ์†Œํ™”

  • KStream-KTable Join ์ž‘์—…์œผ๋กœ DB I/O ์ตœ์†Œํ™”
  • but, ๋ฐ์ดํ„ฐ ์‹ค์‹œ๊ฐ„ ์ ‘๊ทผ ์–ด๋ ค์›€ & task ํ• ๋‹น ๋“ฑ ์—ฌ๋Ÿฌ ๋ฌธ์ œ ๊ณ ๋ คํ•ด ์‚ฌ์šฉํ•˜์ง€ ์•Š์Œ (ํฌ์ŠคํŒ…์— ํฌํ•จ)
  • ํฌ์ŠคํŒ…
  • KStream-KTable Join ์ฝ”๋“œ

Resilience4J CircuitBreaker + Retry ์„ค์ •

About

๐Ÿ’™ ์ฃผ๋ฌธ ์ƒ์„ฑ ๋ฐ ๊ด€๋ฆฌ ํ…Œ์ŠคํŠธ ๐Ÿ’™

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published