*Spring Boot 3.2.1, Spring Cloud 2023.0.0 ๋ฒ์ ์์ ํ
์คํธํ์์ต๋๋ค. 1. Eureka Server ์ค์ Micro Service๋ค์ ์ด์ฉํ๊ฒ ๋ Eureka Server์ ๋ํ ์ค์ ์ ์์๋ณด๋๋ก ํ๊ฒ ๋ค. ๋จผ์ , netflix eureka ์์กด์ฑ์ ์ฃผ์
ํด ์ฃผ์ด์ผ ํ๋ค. ... ext { set('springCloudVersion', "2023.0.0") } dependencies { implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-server' } dependencyManagement { imports { mavenBom "org.springframework.cloud:spring-..
Spring Cloud๋ Micro Service Architecture๋ฅผ ์ง์ํ๊ธฐ ์ํ ํ๋ ์ ์ํฌ์ด๋ค. Spring Cloud ๊ณต์๋ฌธ์ https://spring.io/projects/spring-cloud/ Spring Cloud Spring Cloud provides tools for developers to quickly build some of the common patterns in distributed systems (e.g. configuration management, service discovery, circuit breakers, intelligent routing, micro-proxy, control bus, short lived microservices and spring.io..
HTTPS๋ฅผ ์ฌ์ฉํ๋ ์ด์ ์ ๋ํด ๋งํ๋ก ํ์ด๋ธ ์ฌ์ดํธ๊ฐ ์์ด์ ์๊ฐํ๋ ค๊ณ ํ๋ค. https://howhttps.works/ko/ How HTTPS Works ๐ A cat explains how HTTPS works...in a comic! ๐ป howhttps.works ์ฌ๋ฌ ์ธ์ด๋ฅผ ์ง์ํ๋ค. ํด๋ฆญํ๊ณ ์ฝ๊ธฐ ์์์ ๋๋ฅด๋ฉด ๋๋ค. ๋ฏธ๊ตญ์ ์ ๋จธ๋ฅผ ๋ด์ ์ํฉ๊ทน ๋ฑ์ ํตํด HTTPS ์ฌ์ฉ ์ด์ , ์ํฉ๋ค์ ์ฌ๋ฐ๊ฒ ํ์ด์ ์๋ ค์ค๋ค. ๋ค ์ฝ๊ณ ํด์ฆ๋ ํ๋ฉด ์ธ์ฆ์๋ ์ค๋ค ์ด ์ธ์ฆ์๋ก ํ ์ ์๋ ๊ฒ๋ค With your "Certificat Of Completion", you can: - Print it - Not print it - Make a photo so you can show your friends from ..
FastAPI๋ uvicornhttps://www.uvicorn.org/ ์ asgiํ๋กํ ์ฝ์ ์ด์ฉํด์ ์๋ฒ๋ฅผ ์ฃผ๋ก ์ฌ์ฉํ๋ค. ๊ทธ๋ ๋ค๋ฉด Docker๋ก ๋ฐฐํฌํ ๋, uvicorn์ ์ฌ์ฉํ๊ธฐ ์ํ Dockerfile์ ๊ตฌ์ฑ์ ๋ณด์. # python version setting FROM python:3.9 # work directory setting WORKDIR /code # requirements install COPY ./requirements.txt /code/requirements.txt # requirements install RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt # copy code COPY ./app /code/a..
[์ด์ ํฌ์คํ
] RDB๋ฅผ ์ฌ์ฉํ๋ ์ ํ๋ฆฌ์ผ์ด์
์์ ํจ๊ณผ์ ์ธ ๋ฐ์ดํฐ ์ ๋ฌ ๋ฐฉ๋ฒ 2023.11.04 - [BackEnd/Spring] - [Spring] ๋ถ์ฐ ์์คํ
์์ ํจ๊ณผ์ ์ธ ๋ฐ์ดํฐ ์ ๋ฌ ๋ฐฉ๋ฒ (1) - Transaction Outbox Pattern & Polling Publisher Pattern [์ด์ ํฌ์คํ
] RabbitMQ๋ฅผ ์ฌ์ฉํ๋ ์ ํ๋ฆฌ์ผ์ด์
์์ ํจ๊ณผ์ ์ธ ๋ฐ์ดํฐ ์ ๋ฌ ๋ฐฉ๋ฒ 2023.11.10 - [BackEnd/Spring] - [Spring] ๋ถ์ฐ ์์คํ
์์ ํจ๊ณผ์ ์ธ ๋ฐ์ดํฐ ์ ๋ฌ ๋ฐฉ๋ฒ (2) - RabbitMQ 2. Kafka๋ฅผ ์ฌ์ฉํ ์ ๋ฌ ๋ฐฉ๋ฒ 2-1. Producer Confirm ์๋๋ Producer Confirm์ ๊ตฌํํ ํด๋์ค์ด๋ค. - Spring Boot 2 ๋ฒ์ @Slf4j ..
[์ด์ ํฌ์คํ
] RDB๋ฅผ ์ฌ์ฉํ๋ ์ ํ๋ฆฌ์ผ์ด์
์์ ํจ๊ณผ์ ์ธ ๋ฐ์ดํฐ ์ ๋ฌ ๋ฐฉ๋ฒ 2023.11.04 - [BackEnd/Spring] - [Spring] ๋ถ์ฐ ์์คํ
์์ ํจ๊ณผ์ ์ธ ๋ฐ์ดํฐ ์ ๋ฌ ๋ฐฉ๋ฒ (1) - Transaction Outbox Pattern & Polling Publisher Pattern 2. RabbitMQ๋ฅผ ์ฌ์ฉํ ์ ๋ฌ ๋ฐฉ๋ฒ RabbitMQ๋ ๊ธฐ๋ณธ์ ์ผ๋ก AMQP(Advanced Mssage Queueing Protocol)๋ฅผ ๊ตฌํํ ๋ธ๋ก์ปค๋ค. ์์ ์ ๊ณต๋ถํ๋ Publish/Subscribe ๋ฐฉ์์ ์ง์ํ๋ค. ๋ํ, RabbitMQ๋ ACK(Acknowledgement) ๋ฉ์ปค๋์ฆ์ ๊ฐ๊ณ ์๋ค. Publisher๊ฐ ๋ฉ์ธ์ง๋ฅผ Queue์ ์ ์์ ์ผ๋ก ๋ฐํํ๋ค๋ฉด Producer Confirm์, C..