Behind the Commit · Episode 13 · 8 September 2026 · 30 min

Daniel Moran | 40M+ Monthly Downloads: The Solo Maintainer Behind FakeRedis

Mia Bajić talks with Daniel Moran about maintaining FakeRedis, a package downloaded more than 40 million times a month, in his free time.

Daniel Moran is the solo maintainer of FakeRedis, a pure-Python Redis-compatible implementation used for testing, compatibility checks and server-agnostic development. They discuss how FakeRedis grew from a personal solution into a project supporting Redis, Valkey and Dragonfly, maintaining a 73-variation CI matrix, AI-generated pull requests, avoiding burnout, monetizing a JetBrains GitHub Actions plugin, Django Commons, and the future of FakeRedis.

About the guest

Daniel Moran

Solo maintainer of FakeRedis, a pure-Python Redis-compatible implementation used for testing.

Chapters

Links & Resources

Full Transcript
[00:00]

If before it was in the realm of like 1-2 million downloads a month, these days it's already have like more than 40 million downloads a month. So it's quite significant. The main one, which is like the matrix against like all different variations. I'm just like trying to find it now. We are talking 73 different variations.

[00:17]

Dragonfly flavor, therefore this command is implemented and these arguments are supported. Hello everyone and welcome to another episode of Behind the Comet. My guest today is Daniel Moran. He is a maintainer of FakeRedis, a pure Python implementation of the Redis API that began as a way to write tests without standing up a real server. And now works the drop-in replacement for both redis-py and valkey-py, pulling over 5 million downloads a month.

[00:47]

Beyond FakeRedis, he maintains Django Task Scheduler, built a GitHub Actions plugin for JetBrains IDEs, and helps run Django Commons, a community organization for keeping Django packages healthy. Welcome, Daniel. Thank you. And thank you for the nice introduction.

[01:05]

So let's start with what FakeRedis actually is. Can you tell us a little more about what it does and how it all started? So initially, like I was looking for, like I wanted to run tests, like I had my software using Redis and obviously I didn't want to use like the production Redis deployment. So I was looking for a way around it. I also, at the time, it was more difficult to bring up a container of Redis for testing purposes.

[01:43]

These days, it's like much easier, but like at the time, it was like a bit more difficult. So I was looking for a way around it and I found FakeRedis, but it wasn't maintained and it wasn't like, I think it was out of date with the latest Python version. Therefore, I adopted it and just like, at first, I just made sure that it works with the latest environment so I can actually use it. The idea is you can run, you can use it as your Redis within your own Python process. It's not an additional process.

[02:20]

It's not an additional container. It's just like you can use it as Redis within your Python single thread. Right. And there was a big jump in adoption when Reddit implemented those changes in regards to their license. So they changed their license.

[02:38]

There was a backlash and then they evoked part of it back. So I'm wondering as a downstream maintainer, how closely you were watching that and how did it change? How did it impact FakeRedis basically? It really, I think it kind of changed the main use case from if before it was for testing purposes, just being replacement to run within the Python process. I started getting issues of it, like it doesn't implement certain Valkey commands and or it's like the Valkey responses are different or Dragonfly have like a command, which is like not in Redis.

[03:15]

So it's like, can it be implemented? If before it was in the realm of like one, two million downloads a month, these days it's already have like more than 40 million downloads a month. So it's quite significant and these days it actually has multiple flavors of running. Like while it's like the package is still called FakeRedis, it implements like fake Valkey. It's also, if you look at the connectivity package, redis-py or valkey-py, it also implements both of them.

[03:47]

Right. So one use case is for writing tests, which is how it all initially started. And then you mentioned about the case of people wanting to switch from Redis to Valkey, right? So this was the tool to make sure for people to know if actually their setup is agnostic, right? Is this still the main use case or are there any other use cases how people nowadays use FakeRedis?

[04:13]

So obviously, like I cannot really tell like in particular how they use it, but I just like based on the different issues that people are opening, I can tell that people use it to determine whether they can upgrade, which is also a use case. Like it's basically changing. Also, it's like it's similar to being agnostic. Like can I upgrade or am I using a command, a Redis command, which was deprecated?

[04:38]

Or am I agnostic? Can I switch to Dragonfly? Can I switch to Valkey? Can I switch back to Redis? And so on and so forth.

[04:48]

Right. And you can also run FakeRedis as a server, right? So yeah, this is like, I would say in the past year, I added the ability to run FakeRedis as TCP server in its own thread. And it will respond just like you can, depending on what flavor you instantiate it on, it will respond like Valkey, Redis, like Dragonfly. Obviously, it's implemented in Python.

[05:12]

You shouldn't expect the same performance as Redis, Valkey, Dragonfly. But it does save you the time of setting up the networking between containers and so on. So if we're looking at the project, which is not really about like the performance, then it is a good solution for that. So that means basically that if I want to run Redis, but actually I don't need Redis performance and I want something that's simpler and good enough for my use case, then I could use FakeRedis instead of using Redis because it would be slower.

[05:49]

But on the other hand, for some use cases, I guess slower is okay. Sometimes you just care about simplicity. You just want to set up something and you want it to work right. So this is the use case. You're saying that people use it mostly for simplicity instead of Redis when they use it locally.

[06:04]

Yeah. And you can also argue that if your networking setup is not that fast, then actually, like, you know, the Python performance from compute perspective, it's slower. But if your networking is slow, then actually it's better because it works within the same Python process. Right. And you said that the goal for FakeRedis is actually to be server agnostic.

[06:27]

So people can use it to test, for example, if they can switch to Redis or Valkey or any of those. So I'm wondering, how does that actually work under the hood? So does it mean that features get ported command by command? Or do you have any other way? How do you make sure that actually it is server agnostic?

[06:45]

Meanwhile, all those tools are adding new features and bug fixes into their packages. So I am closely watching the release notes of Redis, Valkey, Dragonfly. I am implementing changes. Also, when a command is deprecated, I make sure that it's deprecated. And one good example is Dragonfly implements a command set EX, which is set expire, which is not implemented in Redis and Valkey.

[07:16]

So when you instantiate FakeRedis with the Dragonfly flavor, the command will be supported. When you instantiate FakeRedis with Redis or Valkey flavor, you will get an error, just like Redis or Valkey will give you. So the CI-CD that I have set up in GitHub Action, it's testing against like different variations, different Python version, different Redis Pi version and different Redis server versions. And also Valkey Pi and Valkey versions and Dragonfly as well. Now I'm wondering how does your test matrix look like?

[07:50]

Because you said you're testing against different Python versions and against different Redis and Dragonfly versions. So how does the matrix look like? And how do you make sure it doesn't keep on exploding when there are all the time like new versions coming in? So yeah, the test matrix, I can share my screen if you want. It's like, yeah.

[08:11]

How many jobs do you have? One second. Is it a few or dozens or hundreds? So I do have like a few, like whether it is like formatting, linting and stuff like this. But like the main one, which is like the matrix against like all different variations.

[08:29]

I'm just like trying to find it now. We are talking 73 different variations. Oh. Different Redis version, Python version, Redis Pi version, and also like you have Valkey or valkey-py. Yeah.

[08:46]

And you mentioned a case of a command, if I understood you correctly, that existed in Redis, but not in Dragonfly, right? The other way around. The other way around, right. So I'm wondering when you have this case where there are two compatible servers and they disagree that there is one feature in one and not in the other, etc. How does FakeRedis handle that?

[09:07]

How do you decide what is the right behavior? Does it mean that you have features from both or only from one or the other? Or what is your approach to it? So the way that I think that's the core of FakeRedis, when you want to implement the command, you have the FakeRedis framework, which just like as an abstraction layers, which hide like all the socket interface of like getting basically the command as on the network. And it just like parse all the different, the command and different arguments as part of the way, like when the command is parsed, it says like, okay, I'm a FakeRedis with Dragonfly flavor.

[09:52]

Therefore, this command is implemented and these arguments are supported. Or alternatively, it's like, it's going to say, oh, I am FakeRedis with Redis flavor. And therefore this command is not supported through an error. Right. So that means that users always know what is the flavor and they can pick their own flavor, right?

[10:13]

When they instantiate. Yeah, exactly. When, when they instantiate FakeRedis, I mean, the default is a Redis 7, sorry, Redis 7, but they can instantiate like with any, any flavor of like Valkey, Dragonfly or Redis. And Redis is supported for version 6, 7, and 8. So also if like a command was introduced, for example, in Redis 8 and it didn't exist in Redis 7, it's going to throw an error if you instantiate it with Redis 7 flavor.

[10:42]

And FakeRedis is a very popular package. So it has around 41 millions of downloads per month and 304 millions of downloads since you adopted it. And you mentioned to me that you do this in your free time. So this is sort of your hobby. This is not your main work where you're employed to maintain it.

[11:02]

So I'm wondering what does keep you motivate to, what does motivate you to keep maintaining it? And what was your primarily motivation? Why did you get started? So initially, like I said, it's like I had this need. I just like I didn't, I was looking for a way to not deploy a Redis container on the side and then set up like the network in between like how I run my CI CD.

[11:29]

So that was like why I adopted it in the first place. A personal need. These days, I think just like because it's so popular, first of all, it's like it's cool to see that people use what I'm doing. And there is the technical challenge of, I mean, if you look at the test matrix of like all the different variations that people are using it and like being able to support like all the different variations because it's so popular. And it's like if now I want to introduce something new, I need to consider like all the different variations when I consider it.

[12:05]

So there is like the technical challenge. I enjoy the technical challenge. I'm learning a lot from this. Otherwise, I also I can say it's like I had like, for example, like in one of the job interviews that I had, the interviewer said like, oh, you're the maintainer of FakeRedis. Like, so I don't need to test your technical abilities.

[12:26]

Like, obviously, you know what you're doing. So there is a value in this. Like, while maybe people are more familiar with my GitHub handle because like this is where they downloaded it from. But once they realize that this connection, there is, it gives me a sense of like some kind of credentials, like that I know what I'm doing. And it's not, let's say I didn't get like how to implement the tree in my latest interviews.

[12:50]

Other than this, I can say that also I had like two leads, two clients that I got thanks to FakeRedis. They just like approached me. One of them actually like they just saw like what I did with GitHub Action, like implementing this massive matrix of like what's going on. And they say like, yeah, we need like to do something similar in our situation, like with GitHub Actions. And you obviously like you know how to create like this matrix in GitHub Actions.

[13:16]

So yeah, and this I did the project for them. Another one they wanted to extend actually FakeRedis. So and have it support something else. So overall, I would say, yes, it is technically challenging and I enjoy this. And yeah, it does like, while it doesn't pay the bills like directly, but yeah, the fact that then interviews, like it gives me some credibility before even being interviewed.

[13:44]

And like it gets me leads and it is valuable. Right. So basically, you're saying that it's something you enjoy doing in your free time. But also it's something that shaped your career, which I think is very nice if you're able to combine both. So actually, your hobby can also be useful to you in your professional life. So FakeRedis is maintained by in total one person.

[14:08]

You, right? You have no other team members. So you are the team of one. So I'm wondering for someone starting a popular project or inheriting it, what actually works for avoiding burnout if you are the only maintainer there? Do you have any specific rules, for example, when it comes to interaction with people on the Internet or when it comes to yourself?

[14:31]

How do you basically prevent yourself getting exhausted because of so many issues and pull requests incoming? So I am trying to, this is generally like also what I do with work. I'm trying to, there is like inbox zero is a way of life. So that way it's like I'm never overwhelmed. And also when it comes to FakeRedis, I'm trying to, so the equivalent of like inbox zero, it's like list of issues zero.

[15:00]

So I'm trying to address it as soon as possible and make sure that the list doesn't grow. If like I'm trying to be responsive to issues, if I need like additional details or something like this, I'm also encouraging people like, okay, I mean, you, you describe the issue, you know what it is. Do you mind actually implementing the code for it? And it's like, that's where I'm also encouraging people to contribute. And if needed, I just like give them a link to the relevant part of the, the commentation of like how to do it.

[15:34]

I am doing it in my free time. So obviously I'm making sure like to keep my priorities straight. So yes, if now I don't see it happening, but like if in theory I wake up and I see that I have like a list of like 50 new issues, it never happened. But if in theory something like this will happen, then I will just like make sure that I have my priorities straight. And like, you know, I'm, yeah, it's important, like you said, to have a balance and not to get burned out.

[16:00]

I'll do like an issue per day or maybe like two per day, see if I can merge some of them together. And I'm wondering, it's 2026 and I cannot not to mention AI. So it's everywhere nowadays and it's in open source projects too. So I'm wondering as a maintainer of a popular open source projects, what are your thoughts about AI? Is it good or bad thing?

[16:29]

It's both. Of course. I mean, it's, I would say it like this. It's like, it's actually related also. Like I'll start with the bad and then I'll go with the good because that's kind of like as a developer, this is how I am, I guess.

[16:44]

You mentioned the burned out. So it's actually very recently, like you have a lot of PRs that are obviously written by AI. And because it's the documentation is, well, I'm praising myself, but I do think the documentation of FakeRedis is good. So is AI, like the code quality is, it's very good, I would say, but we're talking about edge cases. For example, like what happens if the user sends, this is one of the latest PR that I got.

[17:14]

What happens when the user sends a negative amount for like the count, which I mean, okay, it is a valid edge case. Nobody cared about it for like the past five years that I've been maintaining this package. So you can argue that it's just like created an additional overhead for me to review the code and then to maintain the code because it's just like it's code that now it's never going to leave. And if nobody cared about it for five years, then should it be there? But then again, it is a valid case because this is like I want to be like as compatible as possible with Valkey, with Redis and so on.

[17:52]

So it is a valid case. So basically you're saying that it puts some like maintenance burden on you because you have to review it and you have to maintain it, but you are not really sure if that's like worth the effort, the value that it brings. Because it's an edge case that no one complains about, if I understand it correctly. Exactly. Yeah.

[18:10]

Right. So like it basically creates a significant overhead. I did create like the CloudMD and I did, I'm not, English isn't my first language. So obviously like having AI, reviewing the documentation, creating the FakeRedis logo and so on and so forth. Absolutely amazing.

[18:30]

If now in the recent year, I implemented the Vector Set commands. Now, whenever implementing, they're implementing a new command. I have a very good documentation, how to do it. It's still a boilerplate code that needs to be written because it's documented properly. AI is doing it very, very well.

[18:51]

And then it leaves me with like actually implementing the data structure for like the Vector Set commands. And it's, this is basically, it takes away all the nitty gritty kind of boring work. It takes it away. And so on this side, I think AI is absolutely amazing. It's, I would say it would have taken me probably double the time to implement the Vector Set commands if it wasn't for the AI.

[19:18]

Right. All right. So it's a useful tool that you use in your daily life. It makes you more productive. But also sometimes there's this burden of people misusing it and just sending random pull requests.

[19:30]

I'm wondering how often do you have to deal with those random pull requests? Is this something that happens every day or once a week or once a month? So actually recently in the past month, there was quite a lot of them. I noticed that when I see multiple pull requests by the same user, I'm also looking at the user and I see that I'm not sure what's the motivation behind it. But if I see a user that is contributing to 100 packages in a week, basically having AI running and just like finding bugs and fixing them.

[20:05]

It's like, I'm not sure what's the motivation behind it. I'm kind of, it's obviously like it creates an additional overhead and I try to discourage it. I'm saying like, you know, hey, like merge all of your PRs into one and I'll review it all at once instead of like sending every time that I close one. It's like the day after I'm getting an additional one. So, yes, I am encouraging contribution, but it's important that the contribution has value, whether it is to other people that want to contribute or to the users of FakeRedis as well.

[20:42]

Right. Because of the maintenance burden, basically. Speaking of it, so you also, except of FakeRedis, you also created the GitHub actions plugin for JetBrains IDE. This is a plugin that started as open source and then you decided to monetize it because of the maintenance burden that you had with that. So, could you tell us a little bit more about how it started and what does it do?

[21:05]

So, I was actually working for a client which had, I think it was like a project with 40 repositories and jumping from IntelliJ, like JetBrains IDE, IntelliJ, PyChamp, whatever. It's like jumping from IntelliJ to the browser to IntelliJ to the browser and having like 40 tabs open. I, basically, it drove me a bit crazy and I said like, why isn't it in the IDE as a, like, I mean, I have Git. Why don't I have GitHub actions? Like, I have, I have a terminal in the IDE.

[21:39]

I have like connection to database. Like, this is, what is an IDE? It's an integrated development environment. You want it integrated with GitHub actions as well. It's like, it's almost a missing piece.

[21:49]

It wasn't there. And, yeah, I just, like, I implemented it just so, basically, you don't have to jump to the browser to see GitHub actions, all the workflows and all the logs. It was open source at the beginning, like you said. Maintaining a plugin for JetBrains with SDK, they introduced, like, breaking changes, like, once a year. And it is quite difficult.

[22:12]

And people, obviously, like, yes, I think it's, like, it reached at the time to 100,000 downloads when it was still open source. So, obviously, like, people liked it, started asking for different features, like, okay, why can I just, like, you know, trigger a workflow? Can I, like, filtering of, like, different workflows and so on and so forth. And at some point I said, like, okay, I'm in. I'm sorry.

[22:35]

It's, like, the original feature of seeing a list of workflow runs, list of jobs for workflow runs and the logs. This is still free, but all the additional features in these days, there is a list. I mean, people can go and have a look at, like, the list of, like, different features that exist there. But all these additional features are actually paid. And, yeah, it's this subscription base.

[23:01]

And also, I make sure that it's up-to-date and supports the latest JetBrains IDs. And so, there are some features that are still for free, right? And some of them are paid. So, I'm wondering, how did you split them? So, the original features of, like, my original problem was I don't want to jump to, from IDE to browser to view workflow runs.

[23:28]

And then, like, when clicking on workflow run, seeing the list of jobs and then per job, like, to view the logs. Yeah. So, this is something which you basically needed three tabs to do what I just said. Like, one for the list of workflow runs, one for the list of jobs in the workflow run, and one for the logs of a single job. And multiply this by multiple repositories.

[23:51]

So, it's, like, the number of tabs is just it grows exponentially. At some point, it's, like, it's ridiculous. This original feature, which I was aiming to solve, and I solved it in the plugin, these are still free. And I aim to keep it free unless JetBrains are going to make it very difficult to maintain it. I'm planning to keep it free forever.

[24:12]

All the additional features that, like, just, like, got added with time, these are just, like, with the premium version that you need to pay for. I do have, these days, 700,000 downloads. Yeah, obviously, people like it, and the majority are using the free version. They're not paying. I'm not.

[24:34]

It would have been nice to get, like, $2 a month from, like, 700,000 downloads. Yeah, and so, except the fake redis and the GitHub's plugin, you're also involved in the Django Commons project, right? So, could you tell us a little bit more about what it is? So, Django Commons, it is an organization that aims to support maintainers of Django packages. It's similar to JazzBem.

[25:08]

The idea is to support maintainers, improve, like, the experience of, like, maintaining Django packages, whether it is, like, for the original maintainer or for contributors. Whether it is, like, to reduce the barrier to entry for new contributors, just make it easy, guiding them, documentation, explaining the best practices. And reducing some overhead for, like, package maintainers, showing, again, best practices, package, addressing security issue, having a community support where we kind of listen to what their needs are and see if we can address it in the organization level. And, you know, if one package has the problem, chances are that other packages are having similar problem. And if one package is solved, then chances are, like, that this solution can be applied to other packages in some 80% similar to solution, I would say.

[26:06]

So, it's about sharing best practices and supporting each other, basically. Yes. And if someone would like to start contributing to fake redis tomorrow or maybe to learn a little bit more about it, where should they begin? Because you mentioned that fake redis has a really good documentation. So, is this the right place where people should start?

[26:27]

Or is there anything else you would like to mention? I think, like, yeah, the documentation and the GitHub repository where you can see, like, issues in the documentation. Also, you can see the commands that are implemented and, obviously, like, the commands that are not implemented. So, this is, like, if you need an idea of, like, where to go first. Obviously, if you see in the documentation something which is not clear, I think the documentation are clear.

[26:53]

But, I mean, the fact that it's clear to me doesn't mean that it is clear. So, if, like, obviously, like, I think this is just as valid contribution, if not even more important, to improve the documentation constantly. Hmm. And where would you want all of this to go next? Is there any version of done for a project like fake redis or any big vision you have?

[27:17]

Or where do you see it in five or ten years? I would say that in my vision, I would say, is to have, like, fake redis becoming the standard for the protocol. Because Valkeyve forked from, I think it was redis 7.2, if I remember correctly. And ever since, you can tell that, like, they already started diverging. And you see there are commands that are implemented in one and not the other.

[27:41]

Dragonfly was already, like, having their own path. And, yes, they are, like, aligning with, like, the standard, but not 100%. So, there is no standard. Each implementation can do what they want. They can introduce new commands.

[27:55]

They can introduce, like, how the response should look like. Sometimes you have examples where in some commands, like, dragonfly returns null while this returns zero. There is no right or wrong. It's just, like, different implementations. And because there is no standard, you cannot really know what to expect in certain situations, especially if you want to be agnostic.

[28:20]

Fake redis allows you to be agnostic. And I do, if I'm looking at the term, in terms of, like, in 5, 10 years, I would love it if fake redis would be, in a way, the standard. So, if redis, dragonfly, or any other implementation that comes, like, would like to implement a new, introduce a new command, it will be, like, introduce a standard. And then others can implement this standard. That way, you can have, like, also one connectivity package instead of, like, having different ones for each implementation.

[28:52]

Because eventually, they are, I mean, Valkey is a fork of a certain version of redis. So, obviously, they are similar, very similar. You can say, like, 95%. But with time, at least the way it goes at the moment, they're going to diverge more and more. Right.

[29:08]

So, the big vision of fake redis is becoming the standard in the ecosystem. Hopefully. And the last question for me is, if people would like to get in touch with you or follow you on social media, where can they find you? So, I would assume, like, you can put, like, obviously, they can go, like, to my GitHub profile. And, like, there you have a link to my LinkedIn and my email.

[29:32]

And I would assume you can put, like, a link to my GitHub profile. Yes, I will put all links in the description so you can also find it there. So, yeah, like, in my LinkedIn and GitHub, that's, like, probably the best way to approach me. Thank you very much for coming. Thank you, Mia.

[29:47]

I really appreciate it.

Behind the Commit is a podcast hosted by Mia Bajić. All episodes.