Skip to content

Spring Embedded Tomcat (WIP)

1. Introduction

Spring boot with the starterweb gives us the possibility to set up a web application, based on tomcat (by default) or netty.

2. Configuration

It is configured:

server:
  port: 8080
  tomcat:
    threads:
      max: 400
      min-spare: 10
server.tomcat.threads.max: Indicates the maximum number of concurrent threads that tomcat’s pool has to process requests. server.tomcat.threads.min-spare: Indicates the minimum number that will always be available to accept requests.