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. …about.gitlab.com/blog/2020/06/24/scaling-our-use-of-... in April you personally responded to an issue https://github.com/antirez/redis/issues/7071 within an hour. I glad you are choosing for what makes you happy, you more than earned it.
    comment by sytse · 2020-06-30 · in The End of the Redis Adventure
  2. Redis does have tests, especially for the clustering feature.. https://github.com/antirez/redis/tree/unstable/tests/cluster...
    comment by KenanSulayman · 2020-06-24 · in Jepsen: Redis-Raft 1b3fbf6
  3. In the meantime, the Slave terminology is on its way out in Redis too. Here are a few commits: https://github.com/antirez/redis/search?q=%22slave+removal%2... Here's the issue where some of the discussion happened:…
  4. …consume it paginated as other clients insert into the middle of it. Also, the code is in one file ( https://github.com/antirez/redis/blob/unstable/src/t_stream.... ); that file is ~3KLOC. It's just another Redis Module, isolated into its…
    comment by derefr · 2020-04-30 · in Redis 6.0 GA
  5. …hof those issues have fundamental problems that the creator explicitly drilled into and explained ( https://github.com/antirez/redis/pull/1906#issuecomment-5145... )
    comment by deanCommie · 2020-03-08 · in How I survived being a $220k/year intern
  6. …are very impressive. Some other notable C codebases: Redis, LuaJIT, FreeBSD, Memcached --> https://github.com/antirez/redis https://github.com/LuaDist/luajit https://github.com/freebsd/freebsd https://github.com/memcached/memcached
    comment by eindiran · 2020-02-14 · in To become a good C programmer (2011)
  7. …bias is affecting my judgement :) Eg, to me this is well-commented and I wouldn't call it sparse. https://github.com/antirez/redis/blob/unstable/src/latency.c
    comment by tln · 2019-11-10 · in Keep your source code SIMPLE
  8. …and they follow the rule of "don't comment unless it's decidedly non-obvious" pretty assiduously: https://github.com/antirez/redis/blob/unstable/src/ae_epoll....
    comment by pytester · 2019-11-10 · in Keep your source code SIMPLE
  9. It is live on unstable which should become stable by the end of year: https://github.com/antirez/redis/commits/unstable?after=c653...
  10. Yes, the implementation is in this PR: https://github.com/antirez/redis/pull/6236
  11. …libraries that can produce the format. Perhaps still worth it in the end, but not trivial. [1] https://github.com/antirez/redis/blob/unstable/src/t_zset.c#...
  12. …unlikely to contribute to your project, because I don't use it. But here is a sample pull-request: https://github.com/antirez/redis/pull/6058 Looking, briefly, I see there are the same kinds of typos present, presumably from when you…
  13. …leave comments nearly that good myself, and I will almost certainly refer back to them later. [1] https://github.com/antirez/redis/blob/583933e2d6b4c2721554ab... [2] https://github.com/antirez/redis/blob/unstable/src/rax.c#L10... [3]…
  14. …decent, but I'm not particularly coming away from it in awe like everyone else seems to have. [1] https://github.com/antirez/redis/blob/unstable/src/server.c#... [2] https://github.com/antirez/redis/blob/unstable/src/server.c#... [3]…
  15. E.g. Redis is a well known example, that have to battle with the fragmentation problem: https://github.com/antirez/redis/pull/3720
  16. [update - re redis ssl] pretty sure thats what this upstream pull request to redis is https://github.com/antirez/redis/pull/4855
    comment by kapilvt · 2019-03-11 · in Open Distro for Elasticsearch
  17. The ACL implementation: https://github.com/antirez/redis/blob/unstable/src/acl.c
    comment by Chris911 · 2019-02-22 · in An update about Redis developments in 2019
  18. …to 2019 by antirez himself. Yes there are other contributors but they make up a minority share. https://github.com/antirez/redis/graphs/contributors
    comment by nacs · 2019-02-22 · in Shorewall – The End of the Road
  19. I feel like most open source projects are like that. https://github.com/antirez/redis/pulse/monthly https://github.com/django/django/pulse/monthly https://github.com/moby/moby/pulse/monthly
    comment by nerdbaggy · 2019-02-22 · in Shorewall – The End of the Road
  20. …be another alternative. It seems still underdocumented though as it's a recent addition. I created https://github.com/antirez/redis/issues/5582 asking what should be a basic, necessary, straightworward question, still no luck
  21. …[0] https://twitter.com/antirez/status/1037809132303208455 [1] http://antirez.com/news/122 [2] https://github.com/antirez/redis/issues/5335
    comment by Roritharr · 2018-10-27 · in SQLite updated Code of Conduct
  22. …before you spin up a self-hosted instance for your own code, such as: https://sourcegraph.com/github.com/antirez/redis/-/blob/src/... Here is more info on using C/C++ on Sourcegraph (and an animated GIF):…
    comment by sqs · 2018-10-02 · in Sourcegraph is now open source
  23. …That terminology is very, very common in computers. EDIT: I guess this is the original complaint?: https://github.com/antirez/redis/issues/3185 EDIT #2: I guess I'm late to this conversation: http://antirez.com/news/122
  24. …kernel [2], Apple's Darwin kernel [3] and I am sure many more have references to master/slave. [1] https://github.com/antirez/redis/issues/3185 [2] https://github.com/torvalds/linux/search?q=master+slave&unsc... [3]…
    comment by kgraves · 2018-09-10 · in The use of "blacklist" is offensive
  25. …an issue in Redis repo for Changing Redis master-slave replication terms with something else: https://github.com/antirez/redis/issues/5335 I think it's best if we give our thoughts there.
  26. …is a perfect example of a healthy OSS project. The contribution stats on GitHub look ideal to me: https://github.com/antirez/redis/graphs/contributors
  27. …used, AGPL included. Redis has been licensed under BSD 3-clause since at least version 2.2[1]. [1] https://github.com/antirez/redis/blob/2.2/COPYING
  28. The license commit is very clear redis core is unchanged BSD 3 https://github.com/antirez/redis/blob/unstable/COPYING
    comment by esterly · 2018-08-22 · in Commons Clause
  29. Best to check the source, license unchanged: https://github.com/antirez/redis/blob/unstable/COPYING Thank you Salvatore for Redis, it has benefited so many projects.
    comment by esterly · 2018-08-22 · in Redis will remain BSD licensed
  30. I clarified that the Redis core ( https://github.com/antirez/redis ) remains BSD, and what I think about the license switch Redis Labs is operating on certain Redis Modules. https://twitter.com/antirez/status/1032180321834467330 and the…
    comment by antirez · 2018-08-22 · in Commons Clause
  31. Can you point me to the line in the license file that clearly demonstrates Redis is not open source? https://github.com/antirez/redis/blob/unstable/COPYING
    comment by bradrydzewski · 2018-08-22 · in Commons Clause
  32. It's being worked in in pull request: https://github.com/antirez/redis/pull/4855 Also, antirez recently met with patch author: https://news.ycombinator.com/item?id=16943289
  33. You see it too in people going around telling people to stop saying master/slave for clusters https://github.com/antirez/redis/issues/3185
    comment by __s · 2018-05-08 · in Who controls glibc?
  34. It looks like Amazon's patches are already on their way in: https://github.com/antirez/redis/pull/4855
    comment by danudey · 2018-04-27 · in Forking Redis: SSL/TLS and Transactions
  35. …some people who have no idea what they're doing, but the industry managed to go around that. Also, https://github.com/antirez/redis/pull/4855 ? [1] https://redislabs.com/redis-enterprise/
    comment by decebalus1 · 2018-04-27 · in Forking Redis: SSL/TLS and Transactions
  36. …of this effort by AWS. [1]: https://aws.amazon.com/cn/blogs/opensource/open-sourcing-enc... [2]: https://github.com/antirez/redis/pull/4855#issuecomment-3831... [3]: https://www.reddit.com/r/redis/comments/8f373k/a_new_redis_f...
    comment by piquadrat · 2018-04-27 · in Forking Redis: SSL/TLS and Transactions
  37. …to see much traction given there's already an open PR to add SSL to Redis (from an AWS employee): https://github.com/antirez/redis/pull/4855
  38. First PR I saw on redis GH: https://github.com/antirez/redis/pull/4714 That same user also made https://github.com/antirez/redis/pull/4685 This may be? https://github.com/antirez/redis/pull/4622 This was apparently critical, but also kind…
    comment by __s · 2018-02-27 · in Nobody's just reading your code
  39. …be [0], as dash retains the ability to easily copy the whole identifier in most terminals. [0]: https://github.com/antirez/redis/commit/1189d90d749c84e98424...
  40. …been impressed with. Short, readable functions and good comments make it quite easy to follow. [1]: https://github.com/antirez/redis
    comment by runlevel1 · 2017-10-02 · in Interesting Codebases
  41. …used for the STREAM type? I am hoping it would be in place before you publish benchmarks for it. https://github.com/antirez/redis/pull/3889
  42. …being stored for this, there is a periodic active scan and manual measurement. See more here: https://github.com/antirez/redis/pull/3720
    comment by ihsw2 · 2017-07-14 · in Redis 4.0
  43. …://issues.apache.org/jira/browse/COUCHDB-2248 [3] - https://code.djangoproject.com/ticket/22667 [4] - https://github.com/antirez/redis/issues/3185
    comment by randomdrake · 2017-07-14 · in Redis 4.0
  44. …void∗ or macros, or both, in order to roll their own generic data structures. > Look at Redis, https://github.com/antirez/redis/blob/unstable/src/adlist.h — generic doubly-linked list with void∗ https://github.com/antirez/redis/blob/unstabl…
    comment by pcwalton · 2017-06-15 · in Go and Simplicity Debt
  45. …Adding systemd service units to redis proper, in contrast, has been stalled for a while now: * https://github.com/antirez/redis/pull/2004 * https://github.com/antirez/redis/issues/3251
  46. …includes server.h have to include these 34 files before including server.h? Seems insane to me. https://github.com/antirez/redis/blob/unstable/src/server.h
  47. A URL to the actual source helps, I think, to put it in context: https://github.com/antirez/redis/blob/d680eb6dbdf2d2030cb96e... The parent poster didn't link, so I lacked the context to really evaluate it. Your persistence at waving this…
    comment by deathanatos · 2017-03-13 · in Ask HN: What are some examples of good code?
  48. …well written. However, is it common for production C code to have a single file with 5,300+ lines? https://github.com/antirez/redis/blob/4.0/src/cluster.c
    comment by nodesocket · 2017-03-13 · in Ask HN: What are some examples of good code?
  49. Not Ruby but for C code, I like Redis's code: https://github.com/antirez/redis/tree/unstable/src I don't personally use the product, but I find the source well written and always share it as an example of nicely done C code. Here is some…
  50. I've read that Redis ( https://github.com/antirez/redis ) has well written code, in C.
    comment by mathewpeterson · 2017-03-13 · in Ask HN: What are some examples of good code?