Live data from Hacker News

The “Build Your Own Redis” Book Is Completed

build-your-own.org

71–80 of 131 posts

Re: The “Build Your Own Redis” Book Is Completed

#71

> Redis could be considered one of the building blocks of modern computing Is Redis really that critical to modern computing?

I'd say that for "modern computing", no.

Modern web applications? I can see it.

Redis rules and fixes a lot of problems, especially when you probably already have a server/cluster for something else. A building block of modern computing is a bit overzealous to me.

Re: The “Build Your Own Redis” Book Is Completed

#72
post #20
post #15

Earlier quoted context omitted.

You're probably thinking of https://codecrafters.io/ . I've been meaning to check them out with my education stipend from work, just haven't had the time to devote to it.

Curious if anyone else has checked out their content yet? If so, hows the quality?

I have finished their build your own Redis exercise. It is very well organized and there are hints/discord groups in which you get sufficient help if you make the effort.

This model is great for someone who loses patience with all the groundwork setup.

However, I do agree that the next leg is taking this MVP/Prototype level to production and ideally sell it as a real alternative to the commercial version of Redis.

Re: The “Build Your Own Redis” Book Is Completed

#74

Earlier quoted context omitted.

It’s free, but isn’t it one lesson per day?

Correct. For many of our users, doing one stage per day is just the right amount of exercise (especially on the later stages — as it gets more challenging)

Not to by hyper critical but that is just not enough to support learning for more ambitious people. There are too many great learning communities that are way cheaper. I really hope you guys revise the pricing structure. At a $20mo price point, I know a ton of people that would buy it. At the current price point, well, it’s just people with a learning stipend at big corp that don’t like to buy books.

Great idea, but only accessible to the rich.

Re: The “Build Your Own Redis” Book Is Completed

#75
I saw this "Build Your Own Text Editor"[0] on HN a month or two ago, everyone was raving about it so I went through it and it really was fantastic. The learning experience was unparalleled. I'm a believer in the idea of "Build Your Own..." guides now, I hope this Redis guide is just as good as the kilo text editor. I'm definitely bookmarking this for a deep dive when the time is right. Any other top notch "Build Your Own" recommendations would be highly appreciated.

[0] https://viewsourcecode.org/snaptoken/kilo/

Re: The “Build Your Own Redis” Book Is Completed

#76
post #18

Earlier quoted context omitted.

I would ask chatgpt to refactor his text rather than waiting him to do so... I think poor english as an excuse will be a thing of past.

I would rather poor English than confidently completely factually incorrect.

Why would it be factually incorrect? You tell it to proof-read, not add stuff. It works great.

Re: The “Build Your Own Redis” Book Is Completed

#77
post #7

i love this! is there a book like this to learn rust with? it would be amazing to have a working system at the end. (not looking for a beginner, but say, intermediate level book).

I've created a repository for all tutorials that I found in rust [1] I guess that's what you're looking for

[1] -https://github.com/osynavets/build-your-own-x-in-rust

Re: The “Build Your Own Redis” Book Is Completed

#78
Purchased this via Gumroad, but the epub version seems to not be formatted correctly. After about page 3 it decides the book is finished on my Kobo. Hopefully the author will get a fix out, I'm pretty excited to read it and pdfs are pretty hard to read on my device.

Re: The “Build Your Own Redis” Book Is Completed

#79
post #26

I actually build minimal Redis clones in every new language or runtime, or when I want to explore threading models. It all started with https://github.com/rcarmo/miniredis (which I forked to add and experiment with pub/sub), and I just found myself doing it again and again because Redis is the quintessential network service: By implementing it, you learn about socket handling, event loop for a specific runtime, threa…

RESP3 is really nice too. It should probably be required reading. There’s a lot of interesting / subtle design choices worth studying. https://github.com/antirez/RESP3/blob/master/spec.md The best parts still haven’t been implemented.

Depends on how much time I have. The Python tests work, so I’ve re-used them a couple of times. Sometimes I also explore the native testing.

Re: The “Build Your Own Redis” Book Is Completed

#80
post #14

While I applaud the initiative and effort, I want to urge the author to consult a good proofreader. I’m only in chapter 2 yet I’ve already encountered enough friction in the form of poor English to put me off. I think the substance looks great, so it’s a bit wasteful to not walk the last mile and make it genuinely enjoyable to read by eliminating blatant errors like this one: “The Redis is an example of the server/cl…

I noticed that in the blog post announcing the book and that was enough to put me off.
Post reply on HN