Skip to content

Conversation

@andy-stark-redis
Copy link
Contributor

This adds a page about choosing among the more general purpose data types to get the best balance of features and performance. This was suggested as an AI-friendly page, but will probably be a useful intro for at least some humans too, with any luck.

The page also includes decision tree diagrams that is visible to AI tools only as a source metadata format. Shuttling this back and forth between Augie and the ChatGPT app many times has resulted in some good feedback, and hopefully this should help AI reason about common use cases.

Any feedback about the general page content, the diagrams, etc, is most welcome. In particular, I'm sure there is more advice we could add about choosing your data type wisely. This is just a starting point we can build on, but I'm happy to add any further advice we can think of.

@andy-stark-redis andy-stark-redis requested a review from a team November 27, 2025 16:20
@andy-stark-redis andy-stark-redis self-assigned this Nov 27, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 27, 2025

DOC-5991

@dwdougherty
Copy link
Collaborator

Sounds cool. I'll dig in on Monday.

Copy link
Collaborator

@dwdougherty dwdougherty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few minor issues, otherwise it LGTM. Approved.

- [Sorted sets]({{< relref "/develop/data-types/sorted-sets" >}}):
store a collection of unique strings with associated scores.
- [Streams]({{< relref "/develop/data-types/streams" >}}):
store a sequence of entries, each with a set of field-value pairs.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the bitmap and bitfield hate? 😃

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dwdougherty No hate implied towards our bit-based friends! I just figured that for the purposes of this page, bitmap and bitfield are really string operations rather than separate types. If you think they are worth adding here for completeness then I'll certainly do that.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's fair.

@andy-stark-redis
Copy link
Contributor Author

Thanks for the feedback @dwdougherty !

@andy-stark-redis andy-stark-redis merged commit 97352d1 into main Dec 1, 2025
8 checks passed
@andy-stark-redis andy-stark-redis deleted the DOC-5991-data-type-choices branch December 1, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants