Skip to content

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

Notifications You must be signed in to change notification settings

kmandalas/spring-boot-yaus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published