This topic provides VMware Tanzu GemFire programming techniques, cache configuration suggestions, and other tuning suggestions for developers.
Before you begin, review Tanzu GemFire Basic Configuration and Programming.
In addition to standard Java serialization, Tanzu GemFire offers serialization options that give you higher performance and greater flexibility for data storage, transfers, and language types.
Cache timeout properties can modified through the gfsh
alter runtime
command (or declared in the cache.xml
file) and can also be set through methods of the interface, org.apache.geode.cache.Cache
.
For peer-to-peer communication, you can manage socket use at the system member level and at the thread level.
You have several options for handling slow members that receive data distribution. The slow receiver options control only to peer-to-peer communication between distributed regions using TCP/IP. This topic does not apply to client/server or multi-site communication.
Increasing the Ratio of Cache Hits
The more frequently a get fails to find a valid value in the first cache and has to try a second cache, the more the overall performance is affected.