John Carnell wrote:Hi Jesper,
I dont think Spring Boot is obsolete at all. I know several companies (including mine) that a build a majority of their services in Spring Boot or are adopting it. Also you have to remember in the end Spring Boot just builds down to a executable jar or war. You still need a server or container to run service. For our application we have Spring Boot based services deployed on both standalone AWS servers and in Docker containers. Since, we let the teams choose their own technologies so teams have chosen to deploy their Spring Boot based applications using Docker.
In my book, I build all of services and the Spring Cloud services using Spring Boot and then deploy the Spring Boot based services using Docker. In Chapter 10, I deploy all of the Spring Boot-based services that I built into Docker containers to Amazon ECS (Amazon's Docker Container Service). I do think microservices will become a dominant architecture. The only real question I see is whether or not the deployment model of a microservice will change. Will development teams continue with a server/container model or will more companies deploy their microservices as Functions-as-a-service (e.g. Lambda). The other wildcard in the mix from a deployment model is UniKernels. Last quarter, during our semi-annual Hackathon I actually worked on team that deployed a Spring-Boot service using a Unikernel. A Unikernel is single memory address space with almost no operating system. Unikernels startincredibly fast and because there is almost no operating system present for the kernel to run have a very small attack surface from a security perspective.
Thanks,
John
I agree with what John said here. Spring Boot is not going anywhere soon. People are adopting it. We have adopted it too. We are mostly a
Java shop and have been using Docker for over 2 years now. Spring Boot fits right in and give us the opportunity to optimally use ECS and underlying EC2 servers.
The question as posed whether we will continue with Docker and ECS model for deploying and running the applications, is a real one. We are trying to measure our footprints and decide what suits our needs. Lambdas are a good contender and we are making a jump toward the same. But still Docker and Spring Boot powered Microservices are going to stay.