스프링
-
웹소켓 애플리케이션을 위한 Spring Boot 구성개발 일지/Back-end 2023. 5. 17. 15:27
웹소켓 애플리케이션의 대표적인 사례는 채팅이라고 할 수 있습니다. 하지만 그 외에도 현대 애플리케이션의 여러 웹 서비스 중에서는 특정 조건에 따라 서버에서 클라이언트(사용자)에게 서비스를 제공하기도 합니다. (사용자가 서버에 서비스를 요청하지 않더라도요.) 우리 일상에서 보면 모바일 앱에서 푸시 알림을 떠올려볼 수 있겠죠. 웹 기술로 보면 "pub/sub"을 생각하면 될 것 같습니다. 일정 토픽(주제)에 대해 '구독'설정을 해두면, 서버에서 사용자 방향으로 '발행' 서비스를 수행할 수 있습니다. 자, 이제 Spring.io 의 튜토리얼을 참고해서 Spring Boot 프로젝트를 준비해 보겠습니다. https://spring.io/guides/gs/messaging-stomp-websocket/ Getti..
-
Spring Cloud Sleuth - Overview개발 일지/Cloud 2022. 7. 8. 15:06
안녕하세요! 계속해서 스프링 클라우드 관련 아키텍처를 살펴보겠습니다. 그중에서 이번 포스트에서는 트레이스와 관련된 "Spring Cloud Sleuth"를 읽어볼게요. https://spring.io/projects/spring-cloud-sleuth Spring Cloud Sleuth Sleuth configures everything you need to get started. This includes where trace data (spans) are reported to, how many traces to keep (sampling), if remote fields (baggage) are sent, and which libraries are traced. Specifically, Spring C..
-
Spring Cloud 페이지 한글 정리개발 일지/Cloud 2022. 5. 19. 14:25
안녕하세요. 이전 글에 이어서 spring.io에 있는 Spring Cloud 페이지를 읽어보겠습니다. Cloud 분산 시스템을 개발하는 것은 어려울 수 있습니다. 복잡도는 애플리케이션 계층에서 네트워크 계층으로 이동하고 서비스 사이에 더 큰 상호작용을 요구합니다. 우리의 코드를 'cloud-native'로 만든다는 것은 외부 구성(configuration), 격리성(statelessness), 로깅 및 지원 서비스 연결과 같은 12가지 문제를 처리하는 것을 의미합니다. Spring Cloud 프로젝트에는 클라우드에서 애플리케이션을 실행하는 데 필요한 많은 서비스가 포함되어 있습니다. Spring Cloud 아키텍처 서비스 탐색 클라우드에서 애플리케이션은 항상 다른 서비스의 정확한 위치를 알 수 없습니다..