네트워크
-
[Careerthon] 메모리네트워크/CS Study 2023. 11. 7. 15:28
개요 메모리계층 웹캐시 가상 메모리 메모리 할당 메모리계층 메모리계층을 알아야 하는 이유는? - 경제성 : 메모리는 레지스터로 갈수록 속도는 빨라지지만 용량이 적어지는 특성이 있고 디스크로 갈수록 반대의 특징을 보인다. 이러한 계층을 통해서 어떻게 효율적으로 메모리를 관리할 것인지를 알 수 있다. - 동작원리 : CPU 내부의 레지스터에서 하드디스크까지 메모리의 계층이 나뉘어져 있는데 운영체제는 이를 어떻게 활용하는지를 알 수 있게 된다. - 프로그램의 실행속도를 어떻게 올릴 수 있는가는 이러한 RAM과 CPU의 소통이 얼마나 빠르냐가 영향을 미치므로 RAM과 CPU는 어떻게 소통하는지를 통해서 이를 파악 할 수 있다. 메모리 계층구조 메모리계층 특징 메모리 계층은 레지스터, 캐시( L1, L2, L3 ..
-
[Careerthon] 운영 체제 및 컴퓨터의 구조네트워크/CS Study 2023. 11. 6. 14:19
개요 알아야하는 이유 컴퓨터의 구조 운영체제 컴퓨터 구조를 알아야 하는 이유 개발자는 코드만 잘 짜면 되는 것 아닌가??? => 아니다 이자식아 언어의 문법 및 기술스택을 늘리는 것 뿐만아니라 컴퓨터의 근간을 알아야 한다. 왜? 알게된다면 문제 해결 능력과 성능, 용량, 비용을 고려한 프로그래밍이 가능해진다. 문제해결능력 분명 동일한 코드를 작성을 했는데도 불구하고 실행이 되지않는 사람도 있다. 그럼 뭐가 문제일까? 개발환경에서 문제가 없었는데 사용자의 환경(컴퓨터환경)에서 문제가 발생하는 경우가 있을 수 있다. 이럴 때에는 문법만을 알고 있는경우에는 해법을 찾지 못한다. 하지만 운영체제를 알고 있다면 좀 다른 부분에서 문제에 대한 고민을 할 수있다. 내가 입력한 코드 외에 여러방면에서 문제를 해결할 수..
-
[AWS] AWS용어 및 CloudFront, S3, 배포네트워크/AWS 2023. 10. 24. 20:23
Cloud Front란? CloudFront를 이해하기 위해서는 CDN과 엣지로케이션에 대해서 이해를 할 필요가 있음. 간단하게 CDN은 AWS 저장공간은 미국에 있다고 하고 내가 만든 프로그램은 한국에서 배포를 해서 미국에 있는 저장공간에다가 요청을 하면 거리도 멀고 하니깐 한국 근처에 미국에 있는 저장고보다 작은 저장고를 만들어 놓고 자주 사용하거나 하는 것들을 여기다가 가져다 놔서 한국 근처에 있는 저장고에서 꺼내쓰게 하는 것임. (이때 이 저장고가 엣지로케이션임 ) 근처에 있는 저장고에 없으면 미국에 있는거 가져오지만 대체로 여기서 해결가능하게끔 알잘딱하게 설계되어있음. 이걸 왜 알아야하냐?? CloudFront가 바로 이러한 방식을 사용한 CDN서비스이기 때문임! 간략: 본래서버에서 받아와서 캐..
-
[족쇄 2.0] React controlled Form vs uncontrolled Form네트워크/CS Study 2023. 10. 12. 02:06
알아야하는 이유 input을 사용해서 입력을 받을 때 우리가 평소 사용하는 state를 이용한 방식과 vanila 방식이 있다는 것을 알 수 있다. submit을 좀 더 잘 올바르게 사용할 수 있다. state를 사용했을 때 submit이 의미가 없는 이유를 알 수 있다. 어떤 방식이 유리한 경우인지 상황에 맞춰서 2가지 방법 중 골라 쓸 줄 알아야 한다. Controlled Form이란? input의 사용을 더 잘 알 수 있을 것이라고 상단에 이유에 대해서 기술했지만 사실 와 좀 더 깊은 연관이 있다. controlled, 이는 state을 사용해서 input에서 입력받은 값을 어떻게 변경하고 저장해서 우리가 나타내고 사용하는 방식이고 우리가 흔히 알고 있는 방식이다. import React, { us..