Skip to content
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

Adding reference to architecture diagrams #1125

Merged
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/cache/introduction/common-caching-patterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ On the other hand, an inline cache is one that is transparent to your service th

You can see why these caches get the name from the architecture diagrams below. The aside cache sits _aside_ your application and is called separately from your data source. Alternatively, the inline cache is used inline with your request to the data source.

![Architecture diagram of aside/inline cache](images/caching-strategies-and-patterns/cache_architecture_diagram.png "Aside/inline cache")
riokwmt marked this conversation as resolved.
Show resolved Hide resolved

Aside caches are more common due to their flexibility for nearly any use case. Additionally, they are decoupled from your end datastore and allow you to choose how to handle failures at the caching layer.

The benefit of an inline cache is simplicity within your application. Your application doesn't need to worry about multiple different stores and the corresponding logic to fallback to a database in the event of a cache miss.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ Momento Swift SDK と source code は GitHub にあります: [momentohq/cli

## Integrations

近日公開
近日公開
Loading