웹(web)136 HTTP 2 vs http1.x http2(이하 h2)은 무엇이고 1.x 과 어떤 차이점이 있을까? 다음 사이트에 접속하면 h2와 http1.1 방식으로 각각 이미지를 다운 받게된다. 이 때, http1.1과 h2는 중 어떤게 더 빠를까? 아래 링크에 접속해서 직접 확인해보자 https://imagekit.io/demo/http2-vs-http1?utm_source=blog&utm_medium=blog&utm_campaign=Blog HTTP/2 vs HTTP/1.1 - Performance Comparison A performance comparison between images loaded over HTTP/2 and HTTP/1.1 via ImageKit.io imagekit.io 인터넷 환경이 느린 상황이라면 확연히 차이가 .. 2021. 9. 29. cache 정책 캐시 정책 아폴로에서 캐시 사용에 대한 정책으로 캐시 동작 방식이 바뀐다. 공식 문서에 나와있는 내용인데, 세 개의 핵심적인 내용은 다음과 같다. A read function that specifies what happens when the field's cached value is read 캐시 데이터를 정제해주는 방식을 지정할 수 있다. A merge function that specifies what happens when field's cached value is written 캐시 데이터가 업데이트 될 때, 업데이트 될 데이터를 정제해주는 방식를 지정할 수 있다. 서버에서 받은 데이터를 캐시에 업데이트 할 때나 writeQuery 를 사용하여 프론트에서 캐시를 업데이트 할 때 등 캐시를 업데이트.. 2021. 9. 28. Ubuntu screen 사용법 ubuntu환경의 ec2를 생성하게 되면 ssh 등으로 ec2에 접속하여 프로그램을 구동시킨다. 이 때, ssh가 종료되어도 ec2에서 프로그램을 계속 구동하고 싶을 때 screen을 사용할 수 있다. Insatll Screen apt-get install screen Session 리스트 확인 screen은 session 단위로 관리하는 방식이다. screen -ls Screen 생성 screen -S [session-name] : screen-name을 이름을 지정하여 실행 ex. `screen -S django` Screen 진입 및 탈출 screen -r [session-name] : 실행중인(Detached) screen 세션으로 재 진입 screen -x [session-name] : 실행중인.. 2021. 8. 22. HTTP 모아보기 HTTP를 공부하면서 찾아보았던 온라인 자료들을 정리하는 글입니다. 공부하실 때 참고해보세요 'what is http' 'what is http2.0' 등으로 검색해보시면 더 많은 자료들을 찾으실 수 있습니다 https://developer.mozilla.org/ko/docs/Web/HTTP https://developers.google.com/web/fundamentals/performance/http2?hl=ko https://whatis.techtarget.com/definition/HTTP-Hypertext-Transfer-Protocol https://www.cloudflare.com/ko-kr/learning/ddos/glossary/hypertext-transfer-protocol-http/.. 2021. 8. 22. 이전 1 2 3 4 5 6 7 ··· 34 다음