Skip to content

AfonsoManata/JustAQuote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JustAQuote 💡


JustAQuote banner

JustAQuote is a high-performance REST API built with Spring Boot, designed for the scalable delivery of daily motivational quotes.

The project showcases backend performance optimization using a Redis, dramatically improving response times under high-read workloads.

Performance Breakthrough

The primary technical achievement of this project is a drastic reduction in API response latency by introducing Redis as a distributed caching layer in front of PostgreSQL (The first value is from the database).


Performance comparison chart


Total Improvement: ~98.6% latency reduction 🚀

Tech Stack

  • Backend: Java 21, Spring Boot (Web, Data JPA, Redis)
  • Database: PostgreSQL (Persistent storage)
  • Caching: Redis (In-memory data store)
  • Containerization: Docker & Docker Compose
  • Build Tool: Gradle

Key Features

  • ⚡ Optimized Data Retrieval Implements a cache-aside pattern, querying Redis before PostgreSQL to drastically reduce database load and response latency.

  • 📈 Scalable Architecture Designed for high-read, high-concurrency environments by offloading frequent queries to an in-memory cache.

  • 🐳 Containerized Environment Fully orchestrated using Docker Compose, enabling one-command startup of the database, and cache.

  • 🧱 Clean Architecture Follows a Controller–Service–Repository layering approach to ensure maintainability, testability, and clear separation of concerns.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages