-
Notifications
You must be signed in to change notification settings - Fork 273
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
Added 2 mermaid diagrams to demonstrate entity caching and entity cache invalidation #6260
Added 2 mermaid diagrams to demonstrate entity caching and entity cache invalidation #6260
Conversation
✅ Docs Preview ReadyNo new or changed pages found. |
@andrewicarlson, please consider creating a changeset entry in |
CI performance tests
|
end | ||
|
||
subgraph PriceQueryFragment["Price Query Fragment (e.g. TTL 2200)"] | ||
n2["` ̶{̶ |
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.
Similar to the above, I found that Mermaid didn't support the delete sequence in Markdown, so I kludged together this solution for crossing out the individual characters.
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.
These diagrams are such a great value add, ty @andrewicarlson ! I've made some suggestions to give them context and clarify the arrow directions in the invalidation diagram, but otherwise LGTM!
Co-authored-by: Maria Elisabeth Schreiber <[email protected]>
Co-authored-by: Maria Elisabeth Schreiber <[email protected]>
This PR adds two Mermaid diagrams demonstrating Entity Caching using a Price entity, and then a cache invalidation workflow. These are similar to the diagrams we used in the GraphQL Summit 2024 keynote, but I had to make some styling concessions to fit within the constraints of Mermaid (comments inline in the file below)