반응형
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Selenium
- grafana
- RabbitMQ
- mybatis
- Airflow
- MySQL
- spring boot redis
- Hibernate
- Redis Sentinel
- Spring Open Feign
- spring boot
- docker
- weblogic 10
- redis
- docker compose mysql
- vue.js
- JPA
- docker-compose
- Docker Compose
- WebLogic
- QueryDSL
- netflix oss
- cassandra
- spring cloud
- argo cd
- KAFKA
- coalesce
- Netty
- ChannelPipeline
- jmeter
Archives
- Today
- Total
IT.FARMER
Redis 특징 본문
반응형
2020/01/10 - [NoSQL/Redis] - Redis 특징
2020/01/10 - [NoSQL/Redis] - Docker Redis
2020/01/10 - [NoSQL/Redis] - Spring Boot Redis (standard)
2020/01/10 - [NoSQL/Redis] - Redis install linux
2020/01/10 - [NoSQL/Redis] - Redis Replication (Master Slave) 구성
2020/01/10 - [NoSQL/Redis] - Redis Sentinel 구성
2020/01/10 - [NoSQL/Redis] - Redis Clustering 구성
2020/01/13 - [NoSQL/Redis] - Spring boot redis Sentinel Config
2020/01/13 - [NoSQL/Redis] - spring boot redis clustering config
Redis 특징
- Remote Dictonary Server 의 약자
- 휘발성이며 영속석을 가진 Key-Value 형태의 in-memory 저장소
1. NoSql 대표 데이터 모델
- Key-Value
- 하나의 key 에 Value를 갖는 데이터 모델 , Key로 접근 가능
- Column
- 하나의 Key 에 여러개의 Value를 가질수 있 데이터 모델
- 중첨된 HashMap 구조
- Document
- Value가 Json 이거나 XML Document를 갖는 데이터 모델
- Value의 일부로 질의하고 일부만 가져올수 있다.
- Graph
- 관계에 특화된 모델
- 노드와 간선에 대한 정보
2. 휘발성이며 영속성 보장
Redis는 디스크 기반이 아닌 메모리에 데이터를 쓰고/저장하는 in-memory 솔루션이다.
메모리 기반이기때문에 다음과 같은 장점을 가지고 있다.
- 메모리에 데이터를 read/write 하기 대문에 매우 빠른 속도를 보장한다.
- 모든 데이터가 메모리 안에 있기때문에 캐시 관점에서 매우 유용하다.
- Cashe 방식을 통한 DB 부하 감소
인메모리 방식이기때문에 휘발성이긴 하나 지속성을 보장하기 위해 데이터를 디스크에 저장 할 수 있다. 서버가 내려 갔을경우 디스크에 저장된 데이터를 읽어서 메모리에 다시 저장한다. 영속성을 보장하기 위해 디스크에 저장하는 방식은 두가지 방식이 있다.
- snapshotting(RDB) 방식 순간적으로 메모리에 있는 내용을 디스크 전체에 옮겨 담는 방식
- AOF(Append On File) 방식 redis의 모든 read/write event를 모두 log 파일에 기록하는 형태
3. Redis Data Type
- String
- Set
- Sorted Set
- Hashes
- List
반응형
'NoSQL > Redis' 카테고리의 다른 글
Redis Clustering 구성 (0) | 2020.01.10 |
---|---|
Redis Sentinel 구성 (0) | 2020.01.10 |
Redis Replication (Master Slave) 구성 (2) | 2020.01.10 |
Redis install linux (0) | 2020.01.10 |
Spring Boot Redis (standard) (0) | 2020.01.10 |