2022-04-15-TIL
2022-04-15-TIL Today I Learned Health Checks with Spring Boot https://reflectoring.io/spring-boot-health-check/ Apache Tomcat Access Log https://m.blog.naver.com/solinsystem/22179616735...
2022-04-15-TIL Today I Learned Health Checks with Spring Boot https://reflectoring.io/spring-boot-health-check/ Apache Tomcat Access Log https://m.blog.naver.com/solinsystem/22179616735...
2022-04-13-TIL Today I Learned Content-Type in HTTP GET Reqeust https://stackoverflow.com/questions/5661596/do-i-need-a-content-type-header-for-http-get-requests HikariCP Maximum Pool Size ...
2022-04-12-TIL Today I Learned API 응답으로 code와 message를 보내는데 에러코드를 어떻게 분류할지에 대해서 팀원들과 논의하던 중에 그 필요성이나 실효성이 있는지 고민하게 되었다. 반대의 의견으로는 그냥 RuntimeException만 던지고 에러메시지만 적절히 적어두면 충분하며, 어차피 에러코드에 매핑되는 커스텀...
2022-04-11-TIL Today I Learned Redis Cluster and Sentinel https://velog.io/@always/Redis-%EC%9A%B4%EC%98%81-%EB%B0%A9%EC%8B%9D-Cluster-vs-Sentinel-%EC%96%B4%EB%96%A4-%EA%B2%83%EC%9D%84-%EC%84...
2022-04-09-TIL Today I Learned DB Lock https://sabarada.tistory.com/121 https://www.mysqltutorial.org/mysql-table-locking/ https://dev.mysql.com/doc/refman/5.7/en/locking-functions.html ...
2022-04-07-TIL Today I Learned ResponseEntity https://stackoverflow.com/questions/22725143/what-is-the-difference-between-responseentityt-and-responsebody https://stackoverflow.com/question...
2022-04-04-TIL Today I Learned Spring4Shell 제로데이 취약점 https://m.blog.naver.com/skinfosec2000/221282525919 https://www.lunasec.io/docs/blog/spring-rce-vulnerabilities/ https://svrforum.com/...
2022-03-30-TIL Today I Learned Spring RestTemplate Logging RestTemplate으로 외부와 통신하는 부분에서 request body나 response body를 직접 로깅하고 싶다면 인터셉터를 추가해서 잡아서 보아야 한다. https://www.baeldung.com/spring-restte...
2022-03-29-TIL Today I Learned JIB JIB는 구글에서 제공하는 의존 라이브러리로 스프링 부트에서 메이븐이나 그레이들 의존 설정만으로도 도커라이징을 간편하게 해준다. https://www.youtube.com/watch?v=2roToBBsmWY&t=357s https://www.youtube.com/wa...
2022-03-25-TIL Today I Learned Entity 중복 한 테이블에 대해서 용도에 따라 여러개의 중복된 엔티티를 가지는게 나은가? 아니면 엔티티 중복을 하지않도록 현재는 불필요하지만 완전히 테이블과 1대1 매핑되는 엔티티를 하나만 가지도록 하는게 나을까? @GeneratedValue를 사용해야 하는가? https://w...