SpinTheMic
Pro

Interview practice question

Slow startup of a Java service on Kubernetes

Backend Engineering · Language Runtimes · Intermediate

Your Spring Boot service takes 60 seconds to start, which slows deployments and autoscaling. How can you reduce startup time?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Profile startup (what beans/initialisation slow).
  • Lazy initialisation; remove unused auto-config.
  • Class Data Sharing (AppCDS), CRaC.
  • GraalVM native image or Spring AOT.
  • Enough CPU at startup.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics