네트워크
-
[CS Study] 실시간 업데이트 기법(웹소켓과 SSE)네트워크/CS Study 2024. 6. 18. 16:36
개요1. 실시간 업데이트 기법2. SSE(Server-Sent-Event)란?3.웹소켓이란? ✅ 실시간 업데이트 알람 기능과 채팅 기능 등 실시간으로 백엔드에서 정보를 받아서 클라이언트에 나타내야하는 기능들이 많아진 근래의 애플리케이션에서는 기존의 HTTP 통신만으로는 실시간성을 보장하기 힘들고 효율적이지 못한 부분이 생기게 되었다. 실시간 업데이트를 위해 사용되는 다양한 기법과 우리가 주로 사용하고 있는 SSE 및 웹소켓에 대해 알아보자! 📦 폴링(Polling)클라이언트가 일정 주기로 서버에 필요한 데이터를 요청하는 방식으로 가장 쉽지만 데이터의 변경 유무에 관계 없이 계속 요청을 보내 서버에 부담을 주며, 주기가 짧아질수록 부담이 가증된다.(요청과 응답이 1대1로 이루어짐)주기적인 데이터 요청은 ..
-
[AWS] FrontEnd 배포 실습 (S3 + CloudFront)네트워크/AWS 2024. 5. 8. 18:15
개요1. AWS IAM 설정2. S3 생성 및 설정3. CloudFront 설정4. Github Action으로 CI / CD 구축 ✅ AWS IAM 설정📦 IAM(Identity and Access Management)이란?AWS리소스에 대한 엑세스를 안전하게 제어할 수 있는 웹 서비스로 AWS 계정을 최초로 생성할 때 만들어지는 루트 사용자는 모든 엑세스 권한을 가지기에 보안에 주의해서 사용해야하므로 IAM을 통해 리소스를 사용할 수 있는 인증 및 권한 부여된 대상을 제어한다.리소스에 대해 여러 사람에게 다양한 권한을 부여할 수 있다.사용자에게 직접 정책을 설정할 수도 있지만 그룹에 대해서도 부여할 수 있다. 📦 IAM 사용자 추가하기AWS > IAM > 사용자 생성 > 1 ~3단계 수행 > 생성..
-
[CS Study] INP란 무엇인가?네트워크/CS Study 2024. 5. 1. 15:05
개요INP의 정의크롬 개발자 도구를 통한 INP 개선 방법 응답성(페이지가 인터렉션에 얼마나 빠르게 응답하는지)은 사용자에게 매우 중요하다. ✅ INP의 정의📦 INP (Interaction to Next Paint)다음 페이지와의 상호작용이라는 의미의 INP는 반응성을 평가하는 실험 지표로써 페이지에서 발생하는 모든 상호작용을 측정하여 페이지의 전반적인 응답성을 측정하며 이를 통해 시간을 최소화하는 것이 목표이다.INP는 페이지 수명동안의 모든 상호작용 요소를 관찰하고 가장 긴 응답 시간(지연 시간)이 가진 것을 보고한다.INP가 낮으면 페이지의 대다수의 상호작용이 대부분 빠르게 반응한다 -> 좋은 응답성을 가진다. 🎉 지연 시간이란?더보기단일 상호작용의 지연 시간은 상호작용의 일부인 어떠한 이벤..
-
[혼공컴운] 보조기억장치네트워크/CS Study 2024. 3. 24. 16:40
개요 1. 다양한 보조기억장치 - 하드디스크 - 플래시 메모리 2. RAID의 정의와 종류 - RAID의 정의 - RAID의 종류 ✅ 다양한 보조기억장치 보조기억장치는 대중적으로 하드 디스크와 플래시 메모리가 있으며 흔히 사용되는 USB, SD카드, SSD와 같은 저장장치를 말합니다. 📦 하드 디스크 자기적인 방식으로 데이터를 저장하는 보조기억장치로 자기 디스크의 일종으로 지칭하기도 한다. 동작을 LP나 CD와 비슷하게 동작하며 동그란 원판에 데이터를 저장하고 뾰족한 리더기로 회전하는 원판에 데이터를 읽는다. 플래터: 실질적으로 데이터가 저장되는 곳(동그란 원판)으로 수많은 N극과 S극을 저장하며 N극, S극은 0과 1의 역할을 한다. 스핀들: 플래터를 회전시키는 구성 요소 RPM: 스핀들이 플래터를 돌..