Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply PGbouncer for connection pooling #183

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

benhenryL
Copy link
Contributor

@benhenryL benhenryL commented Jul 23, 2021

DB 커넥션 풀링을 위해 PGbouncer 적용.

  • dev 환경에서도 PGbouncer 사용 가능.
  • github action에서 백엔드 테스트를 할 때, migrate를 하지 않아서 dev 환경에서 pgbouncer를 사용이 불가능해서 test-backend.yml 파일도 수정.
  • PGbouncer 관련 파라미터는 wiki 참조(https://github.com/skku-npc/skku-coding-platform/wiki/Pgbouncer)

Close #154

benhenryL and others added 5 commits July 7, 2021 18:20
기존에는 django에서 만든 test db를 만들어서 테스트가 수행됐는데,
이를 init_db로 만든 pgbouncer-postgresql 컨테이너를 대상으로 테스트가 수행되도록 수정함.
Apply PgBouncer for DB Connection Pooling
@benhenryL benhenryL requested review from Jeongcc and dotoleeoak July 23, 2021 11:17
@dotoleeoak
Copy link
Member

PgBouncer 좀 알아보고 review 할게요

@Jeongcc Jeongcc removed their request for review July 27, 2021 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Apply DB Connection Pool
3 participants