Building High-Performance Web Services with Redis and Spring
This course teaches Spring developers of all experience levels how to get the most from Redis. Together we'll build a RESTful API using Spring Boot and Spring Data Redis. The API will power the back end for a bookstore, which will allow us to explore domain modeling, indexing, caching, session storage, and more.
In this course, you'll learn about building High-performance Services with Spring and Redis.
LEARNING OBJECTIVES
- Creating a Spring Boot Application configured to use Redis
- Downloading, launching, and testing a Redis Instance
- Working with Spring Data Redis templates
- Mapping domain objects with Spring Data Redis
- Loading JSON data with Jackson and using CommandLineRunners to seed Redis
- Working with Redis repositories
- Implementing pagination on a Redis-backed domain
- Enhancing your domain models with RedisJSON
- Implementing full-text search, faceted search, and auto-complete with RediSearch
- Implementing a recommendation service with RedisGraph
- Producing and consuming streaming data with Redis Streams
- Efficiently maintaining a leaderboard with RedisBloom
- Caching REST services with Redis
- Securing REST services with JWT Token Security in a Redis environment
PRE-REQUISITES
To get the most from this course, you'll need a machine that can run the application and the Redis server, which is provided as a Docker container.
You'll also need the following installed on your machine:
- Git: See https://git-scm.com/
- Java 11 or higher: I recommend SDKMAN to install Java (https://sdkman.io/)
- Maven 3.2+: See https://sdkman.io/sdks#maven
- Docker: See https://docs.docker.com/get-docker/
- Docker Compose: See https://docs.docker.com/compose/install/
- Postman or Curl: See https://www.postman.com/ / Curl is built-in on most platforms (for Windows see https://curl.se/windows/)
- Your favorite IDE or Code Editor (such as VSCode, Eclipse or IntelliJ IDEA)
About Brian Sam-Bodden
Brian Sam-Bodden is a developer advocate at Redis Labs as well as an author, instructor, speaker, and hacker who has spent over twenty years crafting software systems. He holds dual bachelor’s degrees from Ohio Wesleyan University in computer science and physics. Brian is a frequent speaker at user groups and conferences nationally and abroad and is the author of “Beginning POJOs: Spring, Hibernate, JBoss and Tapestry”, co-author of the “Enterprise Java Development on a Budget: Leveraging Java Open Source Technologies” and a contributor to O'Reilly's “97 Things Every Project Manager Should Know”.
More About Brian »