news.volyx.in

Redis explained (architecturenotes.co)

455 points by mgrouchy · 1491 days ago · 98 comments on HN

Article summary

The article explains how Redis works and its various setups. It covers data types, including strings and bitfields, and discusses the importance of understanding the big-O complexity of each operation. The article also touches on the use of Redis in different scenarios, such as with SSDs and networks. The content is presented in an easy-to-understand way, with diagrams and illustrations.

Main themes

  • Redis explanation
  • Hacker News algorithm
  • Data structures and complexity
  • Performance and scalability
  • Serialization and overhead
  • SSDs and networks
  • Presentation and clarity

What commenters say

  • Some commenters appreciate the article's presentation style, finding it helpful for understanding complex concepts.
  • The use of a native number type in Redis could potentially avoid some serialization overhead, but others argue that it may not make a significant difference.
  • There is a discussion about the behavior of Hacker News' algorithm, with some commenters observing that it combines the scores of new submissions of the same URL to the first submission's score.
  • Others point out that Redis reaches the limits of what can be done in well-written single-threaded C, and that understanding the big-O complexity of each operation is crucial for proper usage.
  • Some commenters share their personal experiences with using Redis, including its performance and scalability.
  • There is a debate about the accuracy of some statements in the article, such as the comparison of random and sequential reads on SSDs.
  • The importance of mastering Redis data structures and understanding their complexity is emphasized by some commenters.
  • Others suggest that the article could be improved with more concrete use cases and clearer explanations of certain concepts.