Skip to content

ewolff/spring-redis-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spring Redis Demo

This is a very simple demo to show what Spring Redis can do. It contains quite a few JUnit tests to show the main features. The tests assume a running Redis on localhost on port 6379 - the standard port. The scenario is a list of high scores for players that should be kept in a database.

Here are some more details about the tests:

  • RedisHighScore shows how the highscores are written to the database and how they are automatically sorted.
  • RedisWriter and RedisMultiWriter show two ways to write data into the databse. RedisMultiWriter is much faster.
  • RedisCreateID shows how a unique ID can be created using Redis
  • RedisCache shows how Redis can be used as a cache with time to live

About

Shows how Spring can be used to access the Redis NoSQL store

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages