Redis 소개
- Key - Value 형태
- 인메모리 데이터 저장 구조
- 문자열, 해시, 리스트, 셋, 스트림 등 데이터 구조 제공
Spring Data Redis
Some commands (such as SINTER and SUNION) can only be processed on the server side when all involved keys map to the same slot. Otherwise, computation has to be done on client side. Therefore, it is useful to pin keyspaces to a single slot, which lets make
docs.spring.io
Introduction to Redis
Learn about the Redis open source project
redis.io
Redis 설치
Docker가 먼저 설치되어 있어야합니다.
# Redis 이미지 다운
$ docker pull redis
# Redis 실행
$ docker run --name some-redis -p 6379:6379 -d redis
# redis-cli 접속
$ docker exec -it some-redis redis-cli
redis - Official Image | Docker Hub
Quick reference Supported tags and respective Dockerfile links 7.0.7, 7.0, 7, latest, 7.0.7-bullseye, 7.0-bullseye, 7-bullseye, bullseye 7.0.7-alpine, 7.0-alpine, 7-alpine, alpine, 7.0.7-alpine3.17, 7.0-alpine3.17, 7-alpine3.17, alpine3.17 6.2.8, 6.2, 6, 6
hub.docker.com
Docker 용어
- --name: 컨테이너 이름 설정
- -p: 포트 포워딩
- -d: 백그라운드에서 실행(데몬)
참조
GitHub - ParkJiwoon/PrivateStudy: 개인 공부용
개인 공부용. Contribute to ParkJiwoon/PrivateStudy development by creating an account on GitHub.
github.com
'Basic > Database' 카테고리의 다른 글
[Oracle] 오라클 8080 Port 변경하기 (2) | 2023.01.28 |
---|---|
[Redis] Redis Spring 세팅 (0) | 2023.01.08 |
[MySQL] current_timestamp를 사용했는데 현재 시간이 다르다면? (0) | 2023.01.07 |
[Oracle] Select 문 (3) - ORDER BY 절 (0) | 2022.06.09 |
[Oracle] Select 문 (2) - WHERE 절 (0) | 2022.05.15 |