| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 |
- mybatis
- redis
- @Transactional
- Dead Letter Queue
- Routing Key
- JPQL
- AWS
- Web
- 서블릿 컨테이너
- dockerhub
- Spring Data JPA
- Spring
- Spring Container
- JWT
- CORS
- JdbcTemplate
- 페이징
- docker compose
- kafka
- @ComponentScan
- 지연 로딩
- DI
- securitycontextholderfilter
- MSA
- 쿠버네티스
- docker
- JPA
- DLQ
- 컨테이너
- 스프링 부트
- Today
- Total
목록elasticache (2)
look-forest
소셜 로그인 시 JWT(Access Token, Refresh Token)을 발행한다.Refresh Token을 저장할 용도와,로그아웃, 탈퇴 시 Access Token을 Blacklisting할 용도로 Redis를 도입할 예정이다.EC2 서버에 Redis 설치하여 적용하기 (개발계)개발계 서버에는 EC2에 직접 Redis를 설치하여 적용할 예정이다.우선 로컬 서버에는 Redis를 직접 설정하고, 개발계는 docker를 이용해 redis 설정을 적용한다. 로컬에 Redis 적용하기1. 로컬에 redis 설치2. Springboot에 Redis 적용하기1) 의존성 추가implementation 'org.springframework.boot:spring-boot-starter-data-redis' 2) R..
Redis를 springboot 프로젝트에 적용해 캐시 기능을 활용해보자.로컬 환경에서 Spring Boot + Redis로 구현하기1. 기본적인 Spring Boot 프로젝트 셋팅하기springboot 프로젝트를 만들고 게시글 조회 API 구현한다. 컨트롤러는 아래와 같다.@RestController@RequestMapping("boards")@RequiredArgumentConstructorpublic class BoardController { private final BoardService boardService; @GetMapping() public List getBoards( @RequestParam(defaultValue = "1") int page,..