Cross-reference the reference documentation and sample guide for Look-Aside Caching with Spring using Apache Geode.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[[geode-caching-provider]]
|
||||
== Caching using Apache Geode or VMware GemFire
|
||||
:gemfire-name: VMware GemFire
|
||||
:geode-name: Apache Geode
|
||||
== Caching using Apache Geode or VMware Tanzu GemFire
|
||||
:gemfire-name: {pivotal-gemfire-name}
|
||||
:geode-name: {apache-geode-name}
|
||||
|
||||
One of the quickest, easiest and least invasive ways to get started using {geode-name} or {gemfire-name} in your
|
||||
Spring Boot applications is to use either {geode-name} or {gemfire-name} as a
|
||||
@@ -18,7 +18,7 @@ TIP: Make sure you thoroughly understand the {spring-framework-docs}/integration
|
||||
behind Spring's Cache Abstraction before you continue.
|
||||
|
||||
TIP: You can also refer to the relevant section on {spring-boot-docs-html}/#boot-features-caching[Caching]
|
||||
in _Spring Boot's Reference Guide_. _Spring Boot_ even provides _auto-configuration_ support for a few,
|
||||
in _Spring Boot's Reference Documentation_. _Spring Boot_ even provides _auto-configuration_ support for a few,
|
||||
simple {spring-boot-docs-html}/#_supported_cache_providers[caching providers] out-of-the-box.
|
||||
|
||||
Indeed, _caching_ can be a very effective _software design pattern_ to avoid the cost of invoking
|
||||
@@ -112,7 +112,7 @@ NOTE: Spring Boot for {geode-name}/{gemfire-name} does not recognize nor apply t
|
||||
Instead, you should use SDG's `@EnableCachingDefinedRegions` on an appropriate Spring Boot application
|
||||
`@Configuration` class.
|
||||
|
||||
[[geode-caching-provider-look-aside-near-inline]]
|
||||
[[geode-caching-provider-look-aside-near-inline-multi-site]]
|
||||
=== Look-Aside Caching, Near Caching, Inline Caching and Multi-Site Caching
|
||||
|
||||
Four different types of caching patterns can be applied with Spring when using Apace Geode or {gemfire-name}
|
||||
@@ -143,6 +143,9 @@ Caching_ will be presented in a later release.
|
||||
[[geode-caching-provider-look-aside-caching]]
|
||||
==== Look-Aside Caching
|
||||
|
||||
TIP: Refer to the corresponding Sample link:guides/caching-look-aside.html[Guide] and {github-samples-url}/caching/look-aside[Code]
|
||||
to see _Look-Aside Caching_ using {apache-geode-name} in action!
|
||||
|
||||
The caching pattern demonstrated in the example above is a form of
|
||||
https://content.pivotal.io/blog/an-introduction-to-look-aside-vs-inline-caching-patterns[_Look-Aside Caching_].
|
||||
|
||||
@@ -285,7 +288,7 @@ class CustomerService {
|
||||
|
||||
Customer customer = customerRepository.findByAccountNumber(account.getNumber());
|
||||
|
||||
// post-processing locic here.
|
||||
// post-processing logic here.
|
||||
|
||||
return customer;
|
||||
}
|
||||
|
||||
@@ -26,6 +26,10 @@ _Cache Abstraction_ or Apache Geode is required to utilize caching in your Sprin
|
||||
|
||||
Let's begin.
|
||||
|
||||
TIP: Refer to the link:../index.html#geode-caching-provider-look-aside-caching[Look-Aside Caching] section
|
||||
in the link:../index.html#geode-caching-provider[Caching with Apache Geode or VMware Tanzu GemFire] chapter
|
||||
in the reference documentation for more information.
|
||||
|
||||
[#index-link]
|
||||
link:../index.html[Index]
|
||||
|
||||
|
||||
@@ -256,3 +256,7 @@ include::{include-dir}/cloudfoundry.adoc[]
|
||||
include::{include-dir}/docker.adoc[]
|
||||
include::{include-dir}/samples.adoc[]
|
||||
include::{include-dir}/appendix.adoc[]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user