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

feat: mysql max lifetime 추가 #302

Merged
merged 3 commits into from
Apr 16, 2024
Merged

feat: mysql max lifetime 추가 #302

merged 3 commits into from
Apr 16, 2024

Conversation

humy2833
Copy link
Contributor

@humy2833 humy2833 commented Apr 15, 2024

배경

  • replica 가 추가되면 무조건 배포를 해줘야만 새로운 노드로 접속이 됨
  • replica 한쪽으로 과도하게 쏠리는 현상이 좀 나아지지 않을까하는 1%의 기대감

작업

  • 커넥션을 맺을때의 timestamp 추가
  • 커넥션이 풀에 반납될때 시각을 비교해 커넥션 종료처리

고민

  • 머지된다면 버전업 & 배포는 어떻게 하나요?

@humy2833 humy2833 self-assigned this Apr 15, 2024
@humy2833 humy2833 requested a review from sixmen April 15, 2024 07:26
@sixmen sixmen changed the title feat: mysql idle timeout 추가 feat: mysql max lifetime 추가 Apr 15, 2024
@humy2833 humy2833 merged commit dd58c95 into main Apr 16, 2024
1 check passed
@humy2833 humy2833 deleted the add-mysql-idle-timeout branch April 16, 2024 01:22
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.

None yet

2 participants