Lesson 76 - Caching: Single Data Grid

preview_player
Показать описание
In this first lesson of a 5-lesson series on caching, Mark Richards describes the single in-memory data grid caching topology and shows how it is implemented using Apache Ignite.

Links from the video:

Apache Ignite:
Рекомендации по теме
Комментарии
Автор

Done thanks (took notes)
Single in-memory data grid: the simplest form of caching, the application caches data in its memory.
5:00 instead of explicitly checking if value exists in the cache, we can do a read-through, which delegates that check to Apache ignite. (This example is using ignite cache)
5:30 write-through, when updating the cache we also update the database synchronously before returning the response (Delegating this task to the caching technology) high latency but no inconsistency between the local cache and the db
6:20 write-behind we just update the cache (without updating the db) and then the database is updated asynchronously (some inconsistency but better performance)

mostinho
Автор

Interestingly write-through and write-behind are options for writing while read-through is the only option for reading.

mqtt
Автор

Hi Mark, What is your take on Oracle Coherence vs Ignite? When Coherence is better than Ignite, if any time? After all it is licence based.

gagyboki