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..
์ต๊ทผ ๋ง์ ๊ธฐ์
๋ค์ด ๋ถ์ฐ ์์คํ
์ผ๋ก ์๋ฒ๋ฅผ ๊ตฌ์ถํ๊ณ ์๊ณ , ๋ ๋ํ ๋ถ์ฐ ์์คํ
์ ๊ด์ฌ์ด ๋ง๋ค. ์ด๋ฒ์ ๋ถ์ฐ ์์คํ
์์์, ๊ฐ ์ปดํฌ๋ํธ๋ค ์ฌ์ด์ ์ด๋ป๊ฒ ์ ๋ณด๋ฅผ ํจ๊ณผ์ ์ผ๋ก ์ ๋ฌํ๋ ๊ฒ์ด ์ข์์ง ๊ณต๋ถํด๋ณด๊ฒ ๋ค. 0. ๋ถ์ฐ์์คํ
์ด๋? ๋ถ์ฐ ์์คํ
์ ์ฌ๋ฌ ๊ฐ์ ์ปดํจํฐ ๋ฆฌ์์ค๋ฅผ ์ฌ์ฉํ์ฌ ๋ ๊ฐ ์ด์์ ์ปดํฌ๋ํธ๋ก ๊ตฌ์ฑ๋์ด ์๋ ์์คํ
์ด๋ค. ๊ฐ ์ปดํฌ๋ํธ๋ค์ ํ๋์ ๊ธฐ๋ฅ์ ์ํํ๋ค. ํฌ๊ฒ ์ธ ๊ฐ์ง ์ ํ์ด ์์ ์ ์๋ค. ์ํฐํ๋ผ์ด์ฆ ์ ํ๋ฆฌ์ผ์ด์
Enterprise-application ๋ง์ดํฌ๋ก ์๋น์ค ์ํคํ
์ณ ์ ํ๋ฆฌ์ผ์ด์
MSA(Micro Service Architecture) ๋ชจ๋๋ฆฌ์ ์ํคํ
์ณ ์ ํ๋ฆฌ์ผ์ด์
+ ๊ฒ์์์ง Monolithic Architecture + Search Engine 1. ๋ฐ์ดํฐ ์ ๋ฌ ๋ฐฉ๋ฒ ๊ทธ๋ ..