Skip to content

Instantly share code, notes, and snippets.

@jwizard
Last active December 10, 2015 20:38
Show Gist options
  • Save jwizard/4489964 to your computer and use it in GitHub Desktop.
Save jwizard/4489964 to your computer and use it in GitHub Desktop.
1. apache 설정
1. mpm 모듈 - prefork로 설정 초기10개)
2. keepAlive 설정 ( KeepAliveTimeOut/MaxKeepAliveRequests)
3. Vary 설정
4. mod_expires.c 모듈을 이용한 cache(last-modified, ETag) 설정
5. mod_deflate 모듈을 이용한 deflate 압축설정
6. LD_PRELOAD=tcmalloc.so
2. 리눅스 설정
1. strip 을 이용한 httpd 슬림화
3. DB
1. slow-query 3초 넣어서 쿼리확인 (slow query 없음)
2. tcmalloc.so 사용 (20% write 성능향상)
4. http web TPS 성능향상을 위한 튜닝
1. js,css >> minify
2. text/html 압축(deflate)
5. redmine
3. redmine cache 사용
4. gravatar 이미지 삭제
5. smtp email 보내기 async로 설정
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment