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
20082026
-
…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 -
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 -
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:…
comment by mk1982 · 2020-06-13 · in On Redis master-slave terminology (2018) -
…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 -
…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 -
…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) -
…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 -
…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 -
It is live on unstable which should become stable by the end of year: https://github.com/antirez/redis/commits/unstable?after=c653...
comment by xfalcox · 2019-10-07 · in A multithreaded fork of Redis that is faster -
Yes, the implementation is in this PR: https://github.com/antirez/redis/pull/6236
comment by antirez · 2019-10-07 · in A multithreaded fork of Redis that is faster -
…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#...
comment by femto113 · 2019-10-07 · in A multithreaded fork of Redis that is faster -
…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…
comment by stevekemp · 2019-09-16 · in How Do Developers Promote Open Source Projects? -
…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]…
comment by mehrdadn · 2019-08-01 · in Ask HN: What are the “best” codebases that you've encountered? -
…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]…
comment by dataflow · 2019-07-29 · in Ask HN: What are the “best” codebases that you've encountered? -
E.g. Redis is a well known example, that have to battle with the fragmentation problem: https://github.com/antirez/redis/pull/3720
comment by szemet · 2019-05-09 · in For Better Computing, Liberate CPUs from Garbage Collection -
[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 -
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 -
…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 -
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 -
…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
comment by vemv · 2018-11-24 · in Too small to Kafka but too big to wait: Really simple streaming in Clojure -
…[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 -
…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 -
…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
comment by spin · 2018-09-13 · in LOLWUT: a piece of art inside a database command -
…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 -
…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.
comment by dsr12 · 2018-09-07 · in We Should Stop Using Terminologies Like Master-Slave To Make Progress In Tech -
…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
comment by cryptica · 2018-08-26 · in Methodologies for measuring open source project health -
…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
comment by servilio · 2018-08-22 · in The Commons Clause is an existential threat to open source -
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 -
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 -
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 -
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 -
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
comment by kozziollek · 2018-05-09 · in Cloud Memorystore: A fully managed in-memory data store service for Redis -
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? -
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 -
…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 -
…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 -
…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
comment by mythz · 2018-04-27 · in Forking Redis: SSL/TLS and Transactions -
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 -
…be [0], as dash retains the ability to easily copy the whole identifier in most terminals. [0]: https://github.com/antirez/redis/commit/1189d90d749c84e98424...
comment by zedpm · 2017-10-03 · in Streams: a new general purpose data structure in Redis -
…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 -
…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
comment by fancy_pantser · 2017-07-14 · in Redis on the Raspberry Pi: Adventures in unaligned lands -
…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 -
…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
comment by JdeBP · 2017-03-19 · in Properly setting up Redis and Sidekiq in production on Ubuntu 16.04 -
…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
comment by planteen · 2017-03-13 · in Notes on Programming in C – Rob Pike (1989) -
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? -
…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? -
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…
comment by rdtsc · 2017-03-13 · in Ask HN: What are some examples of good code? -
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?