네트워크
-
[CS Study] 프론트엔드 테스트 코드란?네트워크/CS Study 2024. 3. 19. 14:36
개요 1. 왜 해야할까? 2. 테스트 코드 종류 3. Jest and React Testing Library ✅ 왜 해야할까? 프론트엔드 개발 환경의 발전에 따라 요구하는 애플리케이션 수준이 복잡해지고 다양한 방법론과 도구들이 등장하게 되었다. 이 중에서 효율적으로 테스트를 할 수 있는 방법과, 테스트를 해야하는 이유 및 개념에 대해서 알아보도록 하자. 📦 테스트란? "프로그램을 실행하여 오류와 결함을 검출하고 애플리케이션이 요구사항에 맞게 동작하는지 검증하는 절차"로써 발생 가능한 결함을 예방하고 개발 과정에서 생기는 변경 사항으로 인해 새로운 결함이 생기는지 확인하여 자신감 있게 리팩토링 및 코드 개선을 할 수 있으며, 자동화를 통해 휴먼 에러의 가능성도 낮출 수 있다. 빠르고 신회할 수 있는 테스트..
-
[혼공컴운]운영체제 시작하기네트워크/CS Study 2024. 3. 15. 11:03
개요 1. 운영체제를 알아야 하는 이유 ✅ 운영체제를 알아야 하는 이유? 📦 운영체제란? 실행할 프로그램에 필요한 자원을 할당하고, 프로그램이 올바르게 실행되도록 돕는 특별한 프로그램으로 여느 프로그램과 같이 메모리에 적재되어야하지만 매우 특별한 프로그램이기에 커널 영역이라는 공간에 따로 적재되어 실행된다. 메모리 관리: 프로그램을 어디에 위치할지도 운영체제가 결정한다. CPU 관리: 하여 프로그램 실행 순위와 지속 시간과 같은 요소를 결정한다. 입출력장치 관리: 여러 프로그램이 특정 입출력장치를 사용하려 할 때 순서를 결정하게끔하여 충돌이 일어나지 않도록 한다. 하드웨어와 가까운 곳에 위치해서 프로그램이 요구하는 자원을 할당하고 올바르게 실행하는 것을 돕는다. 🎉 자원 더보기 프로그램 실행에 있어서 마..
-
[CS Study] SOLID 원칙네트워크/CS Study 2024. 3. 14. 22:42
개요 1. SOLID 원칙이란? 2. 단일 책임 원칙 (SRP) 3. 개방 폐쇄 원칙 (OCP) 4. 리스코프 치환 원칙 (LSP) 5. 인터페이스 분리 원칙 (ISP) 6. 의존관계 역전 원칙 (DIP) ✅ SOLID 원칙이란? 소프트웨어 개발의 다섯가지 설계 원칙을 나타내는 약어로 각 원칙을 통해 소프트웨어의 재사용성, 유연성, 확장성을 높일 수 있으며 이는 쉬운 유지 보수를 가능하게 한다. 단일 책임 원칙 (SRP, Single Responsibility Principle) 개방 폐쇄 원칙 (OCP, Open Close Principle) 리스코프 치환 원칙 (LSP, Liskov Substitution Principle) 인터페이스 분리 원칙 (ISP, Interface Segregation Pr..
-
[AWS] EC2란?네트워크/AWS 2024. 3. 8. 11:20
1. EC2란 무엇인가? 3. 마무리 ✅ EC2란 무엇인가? Amazon Elastic Computed Cloud의 준말로 AWS 클라우드에서 온디맨드 확장 가능 컴퓨팅 용량을 제공하여 하드웨어 비용 절감 및 빠른 애플리케이션 배포를 목적으로 사용하는 클라우딩 컴퓨팅 서비스 사용한만큼 비용을 지불하기에 Elastic(탄력적)이라는 용어가 붙었으며, 비용뿐만아니라 성능, 용량 또한 자유롭게 조절할 수 있다. 우리는 물리적으로 서버를 구축하여 사용하는 것보다 더욱 빠르고 간편하고 적은 비용을 들이고 효율적으로 서버를 구축하기 위해 클라우딩 컴퓨팅 서비스를 이용할 수 있다. 📌 온디맨드 확장 가능하다? 더보기 사용자가 필요할 때마다 실시간으로 컴퓨팅 리소스를 추가하거나 줄일 수 있다는 의미로 이러한 유연성을 ..