이 글의 목적 42gg 서비스 운영중 redis, mysql간의 transaction 동기화 문제 발견 탁구경기 결과 입력 현재 로직은 유저 승패정보 mysql → redis모두에 저장하는 식으로 되어있다, 만약 둘중 하나라도 실패하거나 중간에 로직에 문제가 생긴다면
main서버 db를 dump하여 테스트 서버에 옮긴 후 특정 api에서 database user not exist 오류 발생
문제상황 42GG 로그인 기능 구현 도중 로컬에서는 잘 세팅되고 동작하던 Cookie가 test서버에 배포했을 때 세팅이 안되는 문제 발생 JWT기반의 로그인 기능에서 refresh token을 cookie에 set하는 과정에서 문제 발생 처음에 cookie는 다음과
기존 배포 프로세스 -> ec2에서 tomcat server를 실행시키는데 local에서 build한 파일을 직접 ec2에 옮겨넣고 tomcat 서버를 실행시키는 방식비효율적이라는 생각이 들었고, 매우 불편해서 CI/CD를 적용해보기로함