전체 글

Railway란?기존 AWS의 EC2 프리티어를 사용하였는데, 프리티어 기간에 매번 의존해야하고, 인프라도 모두 스스로 구축해야하는 부분이 굉장히 번거롭게 느껴졌다. 그래서 저렴하게 호스팅할 수 있는 서비스를 찾다가 Railway를 발견하였다.Railway는 개발자가 손쉽게 인프라를 구축하고 애플리케이션을 배포할 수 있도록 돕는 PaaS(Platform as a Service) 서비스이다.https://railway.com/ RailwayRailway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.ra..
https://zknill.io/posts/patterns-for-building-realtime/?utm_source=tldrwebdev Patterns for building realtime featuresRealtime features make apps feel modern, collaborative, and up-to-date. The features predominantly require sharing changes triggered by one user to other users, as the changes are happening. This typically means your server needs to send data to some set ozknill.io실시간 기능은 앱을 더 현대적..
SSE 활용한 AI Streaming Chat 구현 (w. React) - 2탄: 웹 챗 구현➡️ 1탄: 서버 구현 [SpringBoot/Kotlin] SSE 활용한 AI Streaming Chat 구현 (w. React)SSE 활용한 AI Streaming Chat 구현 (w. React) - 1탄: 서버 구현미리보기전체 코드는 아래에!Spring Boot와 SSE를 활용하여 AI Streaming Chat 서비스를 구현하였다.사실 채팅 스트리밍을 구현하기 위한 다양한 언doteloper.tistory.com미리보기이번 포스팅은 저번 서버 구현을 받는 웹 채팅에 관련된 코드이다.사실 이번 프로젝트의 프론트 담당은 “GPT”였다.따라서 설명의 한계가 있으므로, 중요한 실시간 응답 처리만 간단히 설명하고 ..
SSE 활용한 AI Streaming Chat 구현 (w. React) - 1탄: 서버 구현미리보기전체 코드는 아래에!Spring Boot와 SSE를 활용하여 AI Streaming Chat 서비스를 구현하였다.사실 채팅 스트리밍을 구현하기 위한 다양한 언어, 기술이 많지만 현업에서 사용하는 언어와 SSE를 경험하고 싶어 해당 기술스택을 활용하였다.(즉, 스트리밍 채팅을 구현하기 위한 기술 스택은 다양하므로 상황과 조건에 맞게 사용하길 바란다.)SSE(Server-Sent-Event)란?클라이언트가 서버로부터 단방향 스트리밍 데이터를 받을 수 있도록 지원하는 기술이다.단방향 통신: 서버에서 클라이언트로만 데이터를 전송할 수 있음HTTP 기반: 기존 HTTP 프로토콜을 사용하기 때문에 방화벽 및 프록시 환..
Developer philosophy @ Things Of InterestAmazing as it may seem after all these years, there are still junior developers in the world. A few weeks ago at work we had a talk where senior developers (including me) were invited to spend around five minutes each talking about our personal software deqntm.org 믿기 어려울 수도 있지만, 오랜 시간이 지난 지금도 여전히 주니어 개발자는 존재한다.몇 주 전 회사에서 나를 포함한 시니어 개발자들이 모여 각자의 소프트웨어 개발 철..
Microservices Pattern: Pattern: Transactional outboxFirst, write the message/event to a database OUTBOX table as part of the transaction that updates business objects, and then publish it to a message broker.microservices.ioContextMSA 환경에서는 도메인에 대한 생성, 수정, 삭제 이벤트가 일어났을 때, 이를 메세지 브로커를 통해서 다른 분산 서버에 전송해야하는 일이 발생한다.하지만, 데이터베이스와 메세지 브로커를 아우르는 전통적인 분산 트랜잭션(2PC, 2-Phase Commit)을 사용하는 것은 현실적으로 불가능하다. 데..
점이
DOTELOPER