# Dragonfly - Redis와 Memcached의 최신 대체제

> Clean Markdown view of GeekNews topic #6645. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=6645](https://news.hada.io/topic?id=6645)
- GeekNews Markdown: [https://news.hada.io/topic/6645.md](https://news.hada.io/topic/6645.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2022-05-31T09:12:16+09:00
- Updated: 2022-05-31T09:12:16+09:00
- Original source: [github.com/dragonflydb](https://github.com/dragonflydb/dragonfly)
- Points: 28
- Comments: 6

## Topic Body

- SET/GET 성능면에서 Redis 보다 25배 빠른 인메모리 저장소. 메모리 효율도 뛰어남  
- 약 ~130개의 Redis 명령과 거의 모든 Memcache 명령(cas 제외)을 다 지원함  
- I/O를 위해서 Linux의 io-uring API를 사용. (Linux 5.10 이상을 요구함. Ubuntu 20.04.4~)  
- x86/arm64 바이너리 제공

## Comments



### Comment 10276

- Author: ifmkl
- Created: 2022-06-02T08:21:31+09:00
- Points: 1

호오... 예전에 Redis 첨 쓸때도 언빌리버블! 하면서 썼는데 25배라니...

### Comment 10227

- Author: nicewook
- Created: 2022-05-31T09:41:39+09:00
- Points: 2

이런걸 보면 왠지 불안한 부분이 있더라구요.   
Redis와 Memcached가 뭘 몰라서 25배나 느리게 돌아가고 있지는 않을 것인데  
25배 빠르게 한 만큼의 트레이드 오프가 어디에서 나올것인가 하는.

### Comment 10235

- Author: kunggom
- Created: 2022-05-31T10:23:43+09:00
- Points: 2
- Parent comment: 10227
- Depth: 1

최신 리눅스 커널에서만 지원되는 기능을 사용했으니, 그 댓가로 설치 가능한 시스템의 범위를 포기한 것이라고 보면 되지 않을까 싶습니다. 최신 커널의 리눅스가 아니면 동작하지 않을 테니까요. 하지만 최신 버전 리눅스를 실행하는 인스턴스를 금방 띄울 수 있는 클라우드 환경에서는 충분히 감수할 만한 트레이드 오프라고 생각합니다.

### Comment 10229

- Author: xguru
- Created: 2022-05-31T09:52:09+09:00
- Points: 2
- Parent comment: 10227
- Depth: 1

리눅스 전용 비동기IO인 io_uring 을 적용하면서 나오는 장점인 듯 하네요.   
Redis 에도 io_uring 적용해보자는 이슈가 있는거 같은데 아직 시도는 없는 듯   
https://github.com/redis/redis/issues/9441

### Comment 10230

- Author: nicewook
- Created: 2022-05-31T09:55:53+09:00
- Points: 1
- Parent comment: 10229
- Depth: 2

감사합니다.

### Comment 10223

- Author: xguru
- Created: 2022-05-31T09:12:21+09:00
- Points: 1

개발자가 HN에서 질문/답변 받고 있네요.  
https://news.ycombinator.com/item?id=31560547
