spring-cloud-samples / spring-cloud-gateway-sample

Sample Spring Cloud Gateway Application
Apache License 2.0
360 stars 235 forks source link

Spring Cloud Gateway - Production Mode #20

Open JeyanthiBalakrishnan opened 2 years ago

JeyanthiBalakrishnan commented 2 years ago

What are the key configurations to be considered when we are moving spring cloud gateway to production ?

Should we consider adding reactor netty configurations max connections , maxIdleTime , etc ?https://projectreactor.io/docs/netty/snapshot/reference/index.html#_connection_pool

https://docs.spring.io/spring-cloud-gateway/docs/current/reference/html/appendix.html

Simply running gateway jar is suffice to handle thousands of concurrent requests due to the fact of non-blocking threads(NIO).

Please share your experience. Any configurations suggestions would be highly appreciated.