목록[JS,TS,Node] (12)
포도가게의 개발일지
https://stackoverflow.com/questions/35432749/disable-web-security-in-chrome-48 Disable-web-security in Chrome 48+ I have a problem with the --disable-web-security flag. It is not working in Chrome 48 and Chrome 49 beta on Windows. I've tried killing all of the instances, reboot and run Chrome with the flag fi... stackoverflow.com open -na Google\ Chrome --args --user-data-dir=/tmp/temporary-chro..
Nginx? - Nginx는 경량 웹 서버입니다. 클라이언트로부터 요청을 받았을 때 요청에 맞는 정적 파일을 응답해주는 HTTP Web Server로 활용되기도 하고, Reverse Proxy Server로 활용하여 WAS 서버의 부하를 줄일 수 있는 로드 밸런서로 활용되기도 합니다. why? Apache vs Ngnix Apache와 같은 웹서버는 클라이언트로부터 받은 요청을 처리할 때 새로운 프로세스 또는 쓰레드를 생성하여 처리합니다. 요청마다 쓰레드가 생성되므로 접속하는 사용자가 많으면 그만큼 쓰레드가 생성되어 CPU와 메모리 자원의 소모가 커집니다. Nginx는 Event-Driven 구조로 동작하기 때문에 한 개 또는 고정된 프로세스만 생성하여 사용하고, 비동기 방식으로 요청들을 Concurre..
config: target: "http://localhost:8000/contents" phases: - duration: 60 arrivalRate: 1000 scenarios: - name: "Connect and join Room" engine: socketio flow: - emit: channel: "msgToServer" data: "name" : "grape1" "groupName" : "grapestore" "text" : "msg!!!" "icon" : "Lion" - think: 1 yml 파일로 작성 설치 : npm install artillery 레포트 생성 및 실행 : ./node_modules/artillery/bin/artillery run -o hax0r-report arti..