Spring Boot로 Redis 간단한 CRUD를 예제를 해보겠다. 1. Redis 설치 아래 링크에서 Redis를 설치하면 된다! 로컬환경에 설치를 진행했다. https://github.com/microsoftarchive/redis/releases Releases · microsoftarchive/redis Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes - microsoftarchive/redis github.com 2. Spring Bo..
redis
1. Redis(Remote Dictionary Server)란? key, value 구조의 비정형 데이터를 저장하고 관리하기 위한 오픈 소스 기반의 비관계형 DBMS 메모리에 저장하고 조회하는 인메모리 DB 다양한 자료구조를 지원한다.(아래 표 외에도 다양한 자료형을 지원한다.) Type 설명 String 가장 일반적인 형태로, key - value 로 저장하는 형태 List Array 형식의 데이터 구조로 List를 사용하면 처음과 끝에 데이터를 넣고 빼는것은 속도가 빠르지만 중간에 데이터를 삽입할 때 성능이 떨어질 수 있다. Set 순서가 없는 Strings 데이터 집합으로 중복이 없다. Sorted Set Sets와 같은 구조이지만 Score를 통해 순서를 정할 수 있다. Hash Key-Valu..