728x90

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

 

반응형
코드플리