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. …(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.
  2. …, and I've submitted a patch to Redis that makes it even more efficient ( https://github.com/antirez/redis/issues/469 ).
  3. …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
  4. …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
  5. 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
  6. https://github.com/antirez/redis/blob/unstable/src/dict.c
    comment by aaronblohowiak · 2012-10-01 · in Myths about Hash Tables
  7. …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
  8. redis: https://github.com/antirez/redis/
  9. 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?
  10. …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
  11. …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
  12. …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
  13. 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
  14. 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
  15. …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
  16. …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
  17. …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
  18. …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…
  19. Did most of what you suggested: https://github.com/antirez/redis/issues/238#issuecomment-307... .
  20. https://github.com/antirez/redis/issues/100
  21. You should check out Redis - https://github.com/antirez/redis
    comment by herbivore · 2011-11-11 · in Ask HN: Examples of beautiful C code?
  22. …lower than 1000 means some of their zipmaps will be converted to normal redis key/value encodings. https://github.com/antirez/redis/blob/unstable/src/zipmap.c
  23. …was one of the things that most excited me about it (here's what it looked like around then: https://github.com/antirez/redis/tree/0b420168b485d0a9c4b66d... )
  24. The the code the article links to for zipmap.c ( https://github.com/antirez/redis/blob/unstable/src/zipmap.c ) is rather literate. I haven't dug extremely deeply into the sources for many F/OSS projects; the code I'm interested in reading…
  25. I wrote a similar glob-style string matching, but it's far more than 30 lines (130 lines of C): https://github.com/antirez/redis/blob/unstable/src/util.c#L1... I use it in Redis, but in general being "glob matching" more standard compared…
  26. Release notes are here: https://github.com/antirez/redis/raw/1a6281f52f6025a7c3304c3... A quick scan through there doesn't show anything hugely new and exciting, but a lot of good, solid improvements, all packaged up in a in a stable…
    comment by pjscott · 2011-02-22 · in Redis 2.2.0 is out
  27. C: Redis http://github.com/antirez/redis
  28. Redis is wonderfully well written. http://github.com/antirez/redis
  29. The changelog hasn't been updated since May 21 [1], so here's the 2.0.0 tag timeline [2]. [1]: http://github.com/antirez/redis/blob/v2.0.0-rc2/Changelog [2]: http://github.com/antirez/redis/commits/2.0.0/
    comment by superjared · 2010-07-01 · in Redis 2.0.0 RC2 out
  30. There is linenoise ( http://github.com/antirez/linenoise ) but not Redis ( http://github.com/antirez/redis ). Looks very strange :)
    comment by antirez · 2010-06-01 · in Top 50 GitHub Projects on Twitter
  31. …so trivial that it's worth to pull even the littlest of the modifications. For instance: http://github.com/antirez/redis/commit/ca3f830b32a0a8303a5a7... Instead I think that an impressive amount of energy and work is often wasted because…
    comment by antirez · 2010-05-29 · in GitHub is the Best Thing Ever
  32. hello, it's documented in the default redis.conf comments, the parameter is called "save": http://github.com/antirez/redis/raw/master/redis.conf