Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Apache Ignite Quick Start Guide

You're reading from   Apache Ignite Quick Start Guide Distributed data caching and processing made easy

Arrow left icon
Product type Paperback
Published in Nov 2018
Publisher Packt
ISBN-13 9781789347531
Length 260 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Sujoy Acharya Sujoy Acharya
Author Profile Icon Sujoy Acharya
Sujoy Acharya
Arrow right icon
View More author details
Toc

Caching topology

The Apache Ignite caching API provides three caching modes to distribute cache elements:

  • Local
  • Partitioned
  • Replicated

Local

The local mode is similar to JVM caching using a HashMap. Data is local to the node and not distributed to any other nodes of the cluster. The following are the benefits of the local mode:

  • Fastest data access as there is no need for network operations
  • Fastest data modification

The main drawback of this approach is if there is more than one JVM that needs to access the same data, then more than one local cache will be created. A local cache is useful for read-only data access where the JVM doesn't need to update any cache elements. Still, a local cache is way better than hashmap...

You have been reading a chapter from
Apache Ignite Quick Start Guide
Published in: Nov 2018
Publisher: Packt
ISBN-13: 9781789347531
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image