Settings

Theme

Why didn't anybody tell me about Redis hash slots?

blog.verygoodsoftwarenotvirus.dev

33 points by badrequest · 10 comments

Reader

6 threads
lesam

I'm confused how you find the data again in this cache? It seems like you're randomly salting your cache keys, so I don't understand how subsequent requests find cached data.

  • catlifeonmars

    Naively (and naive is often fine), you can query each node in parallel. The number of nodes is usually very small relative to the amount of data per node and reading is usually much faster than writing.

  • lyjackal

    Wish this was clarified. One thought would be to choose a stable component to in turn hash, such as the source coordinate hexagon, but then why not just put that in the hashtag

HeavyStorm

I can see how the author put some work in this article. But I can't handle any more AI speak, even more after spending the whole day talking to Claude. It's too bad - blogging has been dying (well, at least in decline) for half a decade, and AI might be the final nail in the coffin.

"You sound like a robot m" has a whole new meaning for me.

coolThingsFirst

What do they use to make those visualizations?

I see them pretty frequently.

ironqcold

How much of the tools you use every day stays unnoticed...

emkoemko

without even reading you can see the shape of AI text, weird, wonder what that is

abofh

Because you inherited it from someone who built it before that was a thing, and discovered it when you went serverless.

How'd I guess on the article itself?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection