본문 바로가기

분류 전체보기

(9)
리액트를 다루는 기술 개정판(11장) 랜더링 최적화 메모 1. 크롬 개발자 도구를 통한 성능 모니터링 - 크롬 개발자 도구의 Performance 탭을 사용하여 측정 - 녹화버튼 클릭 후 화면의 변화가 발생하는 이벤트를 발생시킨 후 화면에 변화가 반영되면 Stop 버튼 클릭 - 성능 분석 결과에 나타난 Timings를 열어보면 각 시간대에 컴포넌트의 어떤 작업이 처리되었는지 확인 가능 - App [Update] 박스에 커서를 올려보면 작업이 처리되는데 소요된 시간 확인 가능 2. 클래스형 컴포넌트의 리렌더링을 방지할 때는 ShouldComponentUpdate라는 라이프사이클 사용
vscode prettierrc 및 jsconfig 설정 파일의 경로는 프로젝트 최상위 디렉터리에 위치한다. 1. .prettierrc { "singleQuote": true, "semi": true, "useTabs": false, "tabWidth": 2, "trailingComma": "all", "printWidth": 80 } 2. jsconfig.json - 파일 생성 이후 컨트롤+스페이스바 입력시 자동으로 적용 가능 { "compilerOptions": { "target": "es6" } }
symmetricDS 셋팅 예전 프로젝트에서 실시간 DB 마이그레이션을 위한 트리거방식의 툴을 찾던중 셋팅을 하다 실패하였지만 혹시 몰라서 기록해 두려고 한다. symmetricDS 셋팅 1. engines\server.properties 셋팅 #Updated by SymmetricDS Pro #Tue Mar 19 10:06:35 KST 2019 external.id=server engine.name=server auto.config.registration.svr.sql.script=/symmetric-profile-standard-2-tier-config.sql sync.url=http\://DESKTOP-V5H1B3L\:31415/sync/server group.id=server db.url=jdbc\:postgresql\:/..
Linux Ubuntu 18.04 타임존 변경 1. cd /etc/share/zoneinfo/ 의 대륙, 국가 정보 기억 2. sudo ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime 서울로 변경
Apache Jmeter 간단한 사용법(성능테스트 툴) https://jmeter.apache.org/ Apache JMeter - Apache JMeter™ Apache JMeter™ The Apache JMeter™ application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other t jmeter.apache.org 접속하여 원하는 버전 다운 및 압축 제거 1. bin/jmeter.bat 실행 2. Test Plan 우클릭 -> A..
AWS EC2로 생성한 Linux 접속방법 AWS Linux 접속방법 1. EC2 생성시에 pem 파일 생성 2. PuTTY 설치 3. PuTTYgen 실행 4. Load an exsiting private key file -> Load 선택하여 생성된 pem 파일 선택 5. Save the generated key -> Save private key 클릭하여 저장 5. PuTTY 실행 6. Category -> Connection -> SSH -> Auth 메뉴 선택 7. Private key file for authentication: -> Browse 클릭하여 ppk 파일 선택 8. Category -> Session 메뉴로 이동 9. Host Name 입력, Port 22, Saved Sessions에 AWS입력 이후 우측 Save 버튼으..
리눅스 Ubuntu 18.04에 MariaDB 설치 방법 - AWS Ubunt 18.04 MariaDB-10.2 셋팅 메뉴얼 // MariaDB Open Key 추가 sudo apt-get install software-properties-common sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 sudo add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://mirror.host.ag/mariadb/repo/10.2/ubuntu bionic main' // 설정한 repository 적용을 위한 업데이트 및 MariaDB 설치 sudo apt update sudo apt install mariadb..
리눅스 Ubuntu 18.04에 Nodejs 설치 방법 리눅스에 NodeJS 설치하기 1. sudo apt update 2. sudo apt install nodejs 3. sudo apt install npm 4. cd ~ curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh 5. nano nodesource_setup.sh 6. sudo bash nodesource_setup.sh 7. sudo apt install nodejs 8. sudo apt install build-essential 9. curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh -o install_nvm.sh 10. nano i..