VSCode를 이용하여 개발 혹은 로그를 모니터링하는 경우 로그파일이 긴 경우 화면 밖으로 벗어나서 가독성이 떨어지는 경우가 있다. 이런한 경우 아래 옵션을 조정해주면 한 화면에 보여질 수 있다. 설정 방법 1. VSCode 좌측 화면 톱니바퀴(제어판) 클릭 2. 설정으로 이동 3. 설정 검색에서 'Word Wrap'으로 검색, Editor: Word Wrap을 'on' 상태로 변경
https://leetcode.com/problems/orderly-queue/ Orderly Queue - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 1. 문제와 예제, 그리고 제약사항 You are given a string s and an integer k. You can choose one of the first k letters of s and append it at the end of the string.. Return the lexicograph..
https://leetcode.com/problems/container-with-most-water/ Container With Most Water - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 1. 문제와 예제, 그리고 제약사항 You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line a..
https://leetcode.com/problems/product-of-the-last-k-numbers/ Product of the Last K Numbers - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 1. 문제와 예제, 그리고 제약사항 Design an algorithm that accepts a stream of integers and retrieves the product of the last k integers of the stream. Imp..
2022.08.07 - [Backend/Server&Network] - 프록시 서버란? 프록시 서버란? 1. 프록시 서버란? Proxy의 사전적 의미는 '대리' 라는 의미이다. 말 그대로 2개의 서버가 직접 통신하지 않고 중간에 서버를 중계역할로 이용하는 서버를 프록시 서버라고 한다. 프록시 서버는 보 yarisong.tistory.com 지난 포스팅에서 프록시 서버에 대해 간략히 알아보았다. 이번 포스팅에서는 HA프록시에 대해 간략히 알아보고자 한다. 1.HA Proxy란? HA Proxy란 L4, L7과 같이 하드웨어 로드밸런서를 대체하기 위한 오픈 소스로 리버스 프록시를 기반으로한 L4, L7 소프트웨어 로드 밸런서이다. 2. HA Proxy 동작 방식 위에서 설명한 것과 같이 HA Proxy는 리..
1. 프록시 서버란? Proxy의 사전적 의미는 '대리' 라는 의미이다. 말 그대로 2개의 서버가 직접 통신하지 않고 중간에 서버를 중계역할로 이용하는 서버를 프록시 서버라고 한다. 프록시 서버는 보안 목적, 캐싱 등의 기능을 제공한다. 프록시 서버가 중간에 위치함으로써 클라이언트는 프록시 서버를 서버로 인식하고 서버 입장에서는 프록시 서버를 클라이언트로 인식하게 된다. 프로시 서버는 서버의 위치에 따라 크게 두 가지로 나뉘어지게 된다. 자세한 것은 아래에서 확인해보자 2. 포워드 프록시(Forward Proxy) 클라이언트에서 서버로 리소스를 요청할 때 프록시 서버를 거쳐 요청하는 경우를 이야기 한다. 프록시 서버를 거칠 경우 서버에서는 받은 IP가 누구의 IP인지 모르기 때문에 클라이언트가 누군지를 ..