Search code examples
gemfiregeode

How Apache Geode/ Gemfire sysnchronous read or write to other data sources?


I found this picture from Internet, it is about Gemfire structure.

I am confused how does Gemfire synchronous read or write to other data sources?

I didn't find any learning materials about this.

Anyone who can tell me ? Thanks so much.


Solution

  • This synchronous / asynchronous reads and writes are done through Events and Listeners, which allows you to plugin your own application code into the architecture. As an example, the CacheLoader is the ideal example of a synchronous read. You can get more information about this from http://geode.apache.org/docs/guide/11/developing/events/chapter_overview.html. Hope this helps. Cheers.