Hacker GitHub

← All repos

antirez/redis

View on GitHub ↗ ★ 168 C

Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.

165 mentions on Hacker News by 142 people: 33 stories, 132 comments · first 2009-09-03 · latest 2020-06-30

Mentions per year 165 mentions · busiest year 2018 (27)
20082026
  1. On https://github.com/antirez/redis/tree/3.0 branch, it shows "This branch is 1004 commits ahead, 1252 commits behind unstable".
    comment by devy · 2015-04-01 · in Redis 3.0.0 is out
  2. …have a thousand engineers. [1] http://www.tgdaily.com/business-and-law-features/36436-tim-s... [2] https://github.com/antirez/redis/graphs/contributors
  3. …from Matt Stancliff, I wonder what the rationale was. Edit - particularly galling given this graph https://github.com/antirez/redis/graphs/contributors
    comment by phpnode · 2015-03-10 · in Redis Conference 2015 Recap
  4. ▲ 14
    “We assumed every user had an IQ greater than 42”
    story by marcuscog · 2015-02-26 · 14 comments
  5. ▲ 2
    Example Redis binds to just 127.0.0.1
    story by jamiesonbecker · 2015-02-20 · 2 comments
  6. Read the code yourself here: https://github.com/antirez/redis/blob/unstable/src/dict.c (It's a classic hashmap.) JSON in binary format? You mean BSON? Just use MongoDB at that point, or PostgreSQL with JSON support. Redis has tables to an…
  7. …(which has lot's of good information). Also learn some Tcl by reading the redis test suite here, ` https://github.com/antirez/redis/tree/unstable/tests' .
  8. ▲ 3
    Regexp-based DMCA takedowns claim another victim
    story by Fede_V · 2015-01-10 · 0 comments
  9. Direct link: https://github.com/antirez/redis/ Prior discussion: https://news.ycombinator.com/item?id=6552680
  10. ▲ 1
    Redis – First Commit Tree
    story by film42 · 2014-11-25 · 0 comments
  11. …way, so there is already a feature work in progress in order to support the Stripe-alike use case: https://github.com/antirez/redis/issues/2087
    comment by antirez · 2014-10-28 · in Game day exercises at Stripe
  12. Then you'll love his code. Redis has some of the nicest C code I've ever seen: https://github.com/antirez/redis
  13. ▲ 1
    Improving redis ZUNIONSTORE by orders of magnitudes.
    story by kauphy · 2014-06-06 · 0 comments
  14. I've heard lots of people sing praises for Redis source - https://github.com/antirez/redis . A cursory look into the source shows a very well documented code-base. It's one of the top items in my to-read-some-day list. Salvatore is an…
  15. This is awesome on so many different levels. Check out the implementation: https://github.com/antirez/redis/blob/unstable/src/hyperlogl...
  16. For more context pieter's original pull request is here: https://github.com/antirez/redis/pull/579
    comment by aitskovi · 2013-10-29 · in Finally Redis collections are iterable
  17. …If we counted normally, then on a shrink we would end up skipping parts of the old table. Lines https://github.com/antirez/redis/blob/unstable/src/dict.c#L7... explain it perfectly, now I understand it. Looking at the code, the increment…
    comment by Robin_Message · 2013-10-29 · in Finally Redis collections are iterable
  18. …log/2012/01/12/flake-a-decentralized-k-... [5] https://blog.twitter.com/2010/announcing-snowflake [6] https://github.com/antirez/redis/pull/295#issuecomment-46734...
  19. …of shared memory used by whitedb, it could be that its pages are locked and immune to swapping. [1] https://github.com/antirez/redis/issues/1177
  20. …for C code dating from past, say 2000. Also, one thing that made a negative impression on me is https://github.com/antirez/redis/blob/unstable/src/adlist.c : /* Free the whole list. * * This function can't fail. */ void listRelease(list…
    comment by Someone · 2013-10-15 · in A quick look at the Redis source code
  21. …work. You can tell Salvatore cares and has passion for what he does just by looking at his work. https://github.com/antirez/redis/tree/unstable/src
    comment by rdtsc · 2013-10-15 · in A quick look at the Redis source code
  22. Redis - https://github.com/antirez/redis Edit: GitHub actually has a good list of trending repositories that you can filter by language. Most C projects seem to be libraries, but you might be able to glean something interesting -…
  23. …them in a concise manner that omits structure overhead. Source: the source code of Redis itself https://github.com/antirez/redis/blob/unstable/src/ziplist.c , Redis documentation: http://redis.io/topics/memory-optimization , and/or my…
  24. …(which is itself a 5MB static binary). This makes things like this potentially possible: $ docker run git://github.com/antirez/redis Voila, you are running Redis - built and configured to the specifications of Salvatore himself.
  25. …, and I've submitted a patch to Redis that makes it even more efficient ( https://github.com/antirez/redis/issues/469 ).
  26. …to subscribe to keyspace events, which includes keys expiring (with millisecond resolution). https://github.com/antirez/redis/issues/594 psubscribe __keyevent@0__:expired cron_* psetex cron_run-me-in-1s 1000 0
  27. …of incrementally rehashing hash table in "dict.c" file. Very simple to understand code. https://github.com/antirez/redis/blob/unstable/src/dict.h https://github.com/antirez/redis/blob/unstable/src/dict.c As you can see no rocket science…
    comment by antirez · 2013-02-03 · in C++ containers that save memory and time
  28. ▲ 3
    Redis 2.6.5
    story by dotmanish · 2012-11-28 · 0 comments
  29. ▲ 2
    Redis 2.6.5 released
    story by chedar · 2012-11-22 · 0 comments
  30. ▲ 2
    Redis 2.6 is out (stable)
    story by salimane · 2012-10-23 · 0 comments
  31. Thanks, perhaps the design is even more evident here -> https://github.com/antirez/redis/blob/unstable/src/dict.h
    comment by antirez · 2012-10-01 · in Myths about Hash Tables
  32. https://github.com/antirez/redis/blob/unstable/src/dict.c
    comment by aaronblohowiak · 2012-10-01 · in Myths about Hash Tables
  33. …going forward with my ruby skills. It's nice, clean, commented, not too big, and useful. * Redis - https://github.com/antirez/redis - lots of data structure implementations. Antirez just writes C so nicely. anet.c has networking, TCP bits,…
    comment by radagaisus · 2012-09-24 · in Reading Other People's Code
  34. redis: https://github.com/antirez/redis/
  35. Redis (C): https://github.com/antirez/redis Underscore (JS): http://documentcloud.github.com/underscore/docs/underscore.h... Backbone (JS): http://documentcloud.github.com/backbone/docs/backbone.html
    comment by andrewjshults · 2012-05-25 · in Best code repos to learn from?
  36. …code. I think a good example you can learn a lot from is Redis[1]. Also written in C. [1] https://github.com/antirez/redis //edit: fixed typo
  37. ▲ 4
    Redis new commands: BITOP and BITCOUNT
    story by pixelcort · 2012-05-20 · 0 comments
  38. …according to the config file comments, slaves are now read-only by default. More explanation here: https://github.com/antirez/redis/blob/unstable/redis.conf
    comment by pjscott · 2012-04-27 · in Redis 2.6.0 RC1 Released
  39. …the whole VM deprecated thing will come up, here's a pretty awesomely informative recent status: https://github.com/antirez/redis/issues/254
    comment by quink · 2012-03-26 · in Redis persistence demystified
  40. Looks like there are release notes available here: https://github.com/antirez/redis/blob/2.6/00-RELEASENOTES And there's a 2.6 milestone here: https://github.com/antirez/redis/issues?milestone=1&stat...
    comment by phinze · 2012-03-10 · in Say welcome to the Redis 2.6 branch
  41. ▲ 25
    Say welcome to the Redis 2.6 branch
    story by tilt · 2012-03-10 · 4 comments
  42. Impressively, the Redis code actually lives up to the lofty rhetoric. https://github.com/antirez/redis It is some of the best C code that I've seen.
    comment by pjscott · 2012-02-04 · in The Redis Manifesto
  43. …MongoDB (on FreeBSD): https://jira.mongodb.org/browse/SERVER-3927 Redis: https://github.com/antirez/redis/issues/91 . . . are a few.
    comment by dodger · 2012-01-19 · in The Trello Tech Stack
  44. …the code is unambiguously improved. Incidentally I just checked out the redis code base. Gorgeous: https://github.com/antirez/redis/tree/unstable/src
    comment by djtriptych · 2012-01-15 · in Reading Code: In praise of superficial beauty
  45. …in the github issues for a redis-cli feature able to do this work. EDIT: feature request added -> https://github.com/antirez/redis/issues/288
  46. …is about getting them interested in the first place. "Hello I am Salvatore Sanfilippo, I created https://github.com/antirez/redis You see how completely badass that is? The next crucial piece for we unknown developers is honesty . I think…
  47. Did most of what you suggested: https://github.com/antirez/redis/issues/238#issuecomment-307... .
  48. https://github.com/antirez/redis/issues/100
  49. ▲ 167
    Microsoft team submits Redis patch to enable Windows support
    story by aaronlerch · 2011-12-08 · 93 comments
  50. You should check out Redis - https://github.com/antirez/redis
    comment by herbivore · 2011-11-11 · in Ask HN: Examples of beautiful C code?