Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Chunk
- upgrade
- Express
- nodejs
- 퀵소트
- 정규표현식
- Effective Java
- log4j2
- regex
- spring
- log_bin
- java
- mysql 5.5
- spring cloud
- REACTJS
- update
- Regular expression
- current_date
- Webpack
- npm
- Effective Java 3/e
- Node
- JavaScript
- eslint
- migration
- Spring Batch
- REACT
- MySQL
- expire_logs_days
- git
Archives
- Today
- Total
내 세상
[NodeJS] Package 비교, node-redis VS ioredis 본문
728x90
반응형
https://www.npmjs.com/package/redis
redis
A modern, high performance Redis client. Latest version: 4.6.13, last published: 15 days ago. Start using redis in your project by running `npm i redis`. There are 9607 other projects in the npm registry using redis.
www.npmjs.com
https://www.npmjs.com/package/ioredis
ioredis
A robust, performance-focused and full-featured Redis client for Node.js.. Latest version: 5.3.2, last published: 10 months ago. Start using ioredis in your project by running `npm i ioredis`. There are 5681 other projects in the npm registry using ioredis
www.npmjs.com
Package 명 | node-redis | ioredis |
특징 | 공식 라이브러리 | 공식보다 Weekly Downloads가 높음 |
사용해본 버전 | 3.0.2, 4.6.13 | 5.3.2 |
주관적인 장단점 | v3 부터 사용했으나, 이슈 없었음. v4로 migration 이후에도 이슈 없었음. Redis Cluster 사용시 connect가 안됨. |
Redis Cluster 연동 잘됨. |
두 패키지 간 사용이 거의 동일함.
Redis Client 나 Cluster 선언부 코드가 매우 조금 다르지만, Document 를 통해 쉽게 변경 가능함.
사람들이 많이 쓰고, 다운 받는 건 이유가 있다...
![](https://t1.daumcdn.net/keditor/emoticon/friends1/large/007.gif)
728x90
반응형
'Technical > NodeJS' 카테고리의 다른 글
[NodeJS] Material-React-Table 사용법 (0) | 2024.03.06 |
---|---|
[NodeJS] 이유를 알 수 없는 오류 process is not defined (0) | 2024.02.22 |
[NodeJS] CentOS 7 환경 NodeJS Offline 설치 (0) | 2024.02.16 |
Eslint & Prettier 참고사이트 (0) | 2024.01.18 |
[NodeJS][NPM] pingus package 사용법 (0) | 2024.01.08 |