Add gateway-mvc: Spring Cloud Gateway Server MVC 5.1 on Boot 4.2.0 + virtual threads, retry, Redis rate limiting

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b3W3uHbHAmM3orhn7b
This commit is contained in:
asmhatre
2026-11-26 00:55:16 +05:30
co-authored by Claude Sonnet 5.5
parent 7211b0fb80
commit 32086c1f5b
19 changed files with 821 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
## virtual threads (server.tomcat.threads.max=10)
$ curl -i localhost:8080/diag/thread
HTTP/1.1 200
Content-Type: application/json
{"thread":"VirtualThread[#N,tomcat-handler-1]/runnable@ForkJoinPool-1-worker-1","virtual":true}
$ java scripts/LoadClient.java 'http://localhost:8080/api/slow?ms=500' 200
requests=200 statuses={200=200} elapsed_ms=2154
## platform threads (server.tomcat.threads.max=10)
$ curl -i localhost:8080/diag/thread
HTTP/1.1 200
Content-Type: application/json
{"virtual":false,"thread":"Thread[#N,http-nio-8080-exec-3,5,main]"}
$ java scripts/LoadClient.java 'http://localhost:8080/api/slow?ms=500' 200
requests=200 statuses={200=200} elapsed_ms=10903