Understanding Spring Data Redis

Spring Data Redis is intended to bring the concepts of Spring Data repositories to enable easy development of Redis repositories. It provides an abstraction layer on top of Redis to successfully store, retrieve, and modify documents available in Redis transparently.

Spring Data Redis eases CRUD operations by allowing the CrudRepository interface, which extends from the repository. This hides the complexities of plain Redis implementations, which need to be implemented and tested by developers. Using Spring Data Redis could reduce the development time dramatically because of this.

Furthermore, Spring Data Redis provides a set of templates to enable reactive programming in the form of ReactiveRedisTemplate and ReactiveRedisOperations.

In coming chapters, CrudRepository with default methods and ReactiveRedisTemplate will be used extensively to implement business logic and to write Spring Data Redis repositories and test them. The following sections will discuss how to use a domain model designed using a class diagram as a base to implement Spring Data Redis-based documents and repositories.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.161.116