Replies: 3 comments 7 replies
-
그렇다면 블락과 논블락은 무엇인가요? 동기와 비동기와 비교해서 설명해주세요 |
Beta Was this translation helpful? Give feedback.
3 replies
-
메일 전송 작업을 동기가 아닌 비동기로 처리한 이유는 무엇인가요? 비동기로 처리함으로써 어떤 장점을 얻을 수 있었나요? |
Beta Was this translation helpful? Give feedback.
3 replies
-
프로젝트에서 비동기 메일 전송이 실패하게 되면 어떤 흐름이 발생하나요? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
동기와 비동기는 작업 여부를 기다리느냐의 관점으로 구분합니다.
동기는 작업의 완료를 기다리고, 비동기는 기다리지 않습니다.
시간이 오래걸리는 메일 전송 작업을 비동기로 처리했습니다. 스프링이 지원하는
@Async
를 활용하여 비동기를 처리했습니다.Beta Was this translation helpful? Give feedback.
All reactions