Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1.63 KB

README.md

File metadata and controls

20 lines (14 loc) · 1.63 KB

spring-boot-yaus Java Spring Redis Docker

Spring Boot native app demo (Yet Another URL Shortener with Redis).

  • Spring Boot version: 3.0.0 (RC2)
  • Java version: 17
  • Build tool: Maven

Disclaimer: the demo app is an over-simplified URL shortener for the purpose of testing HashiCorp Nomad's Horizontal Application Scaling capabilities with a Spring Native app as scaling target (an app that has some footprint and is not a simple "Hello World" case). You can read all about it on my Dzone article Auto-Scaling a Spring Boot Native App With Nomad. If you are interested in building an actual URL shortener clone, check System Design approaches like this one.

build

Run mvn -Pnative spring-boot:build-image

This will take some time ⏳ since we are building a GraalVM Native Image.

run

docker-compose up

References