-
Notifications
You must be signed in to change notification settings - Fork 289
DOC-5991 page of advice on choosing data types #2466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Sounds cool. I'll dig in on Monday. |
dwdougherty
left a comment
There was a problem hiding this 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. |
There was a problem hiding this comment.
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? 😃
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's fair.
Co-authored-by: David Dougherty <[email protected]>
|
Thanks for the feedback @dwdougherty ! |
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.