Redis는 정말 빠를까? #52
Replies: 3 comments
-
redis 한국 지사가 생겨서 linkedin에 많은 자료를 올리고 있습니다. Which latency numbers you should know? Please note those are not accurate numbers. They are based on some online benchmarks (Jeff Dean’s latency numbers + some other sources). 🔹L1 and L2 caches: 1 ns, 10 ns 🔹RAM access: 100 ns 🔹Send 1K bytes over 1 Gbps network: 10 us 🔹Read from SSD: 100 us 🔹Database insert operation: 1 ms. 🔹Send packet CA->Netherlands->CA: 100 ms 🔹Retry/refresh internal: 1-10s Notes1 ns = 10^-9 seconds -- |
Beta Was this translation helpful? Give feedback.
-
@hellices 한국지사도 생겼군요 ㅎㅎ몰랐습니다. https://www.linkedin.com/in/bonghwan-kim-9a30701/ 알아보니 이 분이 한국지사에서 근무하시는 분이 더라구요. https://university.redis.io/ # 공식 교육 사이트도 있네요. https://www.facebook.com/groups/rediskorea/ |
Beta Was this translation helpful? Give feedback.
-
The diagram below shows 3 main reasons: 1️⃣ Redis is RAM-based. Access to RAM is at least 1000 times faster than access to random disks. Redis can be used as a cache to improve application responsiveness and reduce database load when used as a cache. 2️⃣ Redis implements IO multiplexing and single-threaded execution. 3️⃣ A number of efficient lower-level data structures are leveraged by Redis. By keeping these data structures in memory, serialization and deserialization costs are reduced. SortedSet, for example, makes the implementation of leaderboards so simple and efficient. On the other hand, a bitmap can be used to aggregate month-over-month login statuses. Over to you: What do you use Redis for in your projects? — |
Beta Was this translation helpful? Give feedback.
-
https://siyul-park.github.io/database/is-redis-really-fast/
Beta Was this translation helpful? Give feedback.
All reactions