-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add fast compiled route matcher #10131
base: 4.3.x
Are you sure you want to change the base?
Commits on Nov 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 66c2acc - Browse repository at this point
Copy the full SHA 66c2accView commit details
Commits on Nov 17, 2023
-
Add fast compiled route matcher
This PR adds an alternate request processing path that mostly bypasses RoutingInBoundHandler. The goal is to speed up processing of simple routes significantly. The approach taken here is to accumulate all routes, prepare those that can be executed quickly (i.e. simple argument / return binding, exact path match, no difficult filters), and then compile the routing tree into an optimized MatchPlan. In principle this approach could be extended to all routes, we "just" need to adapt other framework features (e.g. path parameters) to be included in the compiled MatchPlan. This is my long-term vision for the future of routing in the Micronaut HTTP stack.
Configuration menu - View commit details
-
Copy full SHA for 85e72d1 - Browse repository at this point
Copy the full SHA 85e72d1View commit details
Commits on Nov 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 411f689 - Browse repository at this point
Copy the full SHA 411f689View commit details -
Configuration menu - View commit details
-
Copy full SHA for 445fd26 - Browse repository at this point
Copy the full SHA 445fd26View commit details
Commits on Dec 7, 2023
-
Merge branch '4.3.x' into short-circuit
# Conflicts: # http-server-netty/src/main/java/io/micronaut/http/server/netty/HttpToHttpsRedirectHandler.java # http-server-netty/src/main/java/io/micronaut/http/server/netty/NettyHttpRequest.java # http-server-netty/src/main/java/io/micronaut/http/server/netty/RoutingInBoundHandler.java # http-server-netty/src/main/java/io/micronaut/http/server/netty/binders/NettyBodyAnnotationBinder.java # http-server-netty/src/test/groovy/io/micronaut/http/server/netty/stack/InvocationStackSpec.groovy # http-server-netty/src/test/groovy/io/micronaut/http/server/netty/websocket/WebSocketContextValidationFilter.java # router/src/main/java/io/micronaut/web/router/DefaultRouteInfo.java # router/src/main/java/io/micronaut/web/router/RouteInfo.java
Configuration menu - View commit details
-
Copy full SHA for 8282299 - Browse repository at this point
Copy the full SHA 8282299View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1df33d6 - Browse repository at this point
Copy the full SHA 1df33d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fd5290 - Browse repository at this point
Copy the full SHA 6fd5290View commit details
Commits on Dec 13, 2023
-
Merge branch '4.3.x' into short-circuit
# Conflicts: # core/src/main/java/io/micronaut/core/propagation/PropagatedContextImpl.java # core/src/main/java/io/micronaut/core/propagation/ThreadContext.java # http-server-netty/src/main/java/io/micronaut/http/server/netty/handler/PipeliningServerHandler.java # http-server-netty/src/test/groovy/io/micronaut/http/server/netty/handler/PipeliningServerHandlerSpec.groovy
Configuration menu - View commit details
-
Copy full SHA for 3397bec - Browse repository at this point
Copy the full SHA 3397becView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68cf3e6 - Browse repository at this point
Copy the full SHA 68cf3e6View commit details
Commits on Dec 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cdd2d3c - Browse repository at this point
Copy the full SHA cdd2d3cView commit details -
Merge branch '4.2.x' into short-circuit
# Conflicts: # gradle.properties # gradle/libs.versions.toml # http-client/src/main/java/io/micronaut/http/client/netty/DefaultHttpClient.java # inject-java/src/test/groovy/io/micronaut/visitors/ClassElementSpec.groovy
Configuration menu - View commit details
-
Copy full SHA for 8e1319e - Browse repository at this point
Copy the full SHA 8e1319eView commit details -
Merge branch '4.2.x' into short-circuit
# Conflicts: # http-server/src/main/java/io/micronaut/http/server/exceptions/response/HateoasErrorResponseProcessor.java
Configuration menu - View commit details
-
Copy full SHA for fe0f885 - Browse repository at this point
Copy the full SHA fe0f885View commit details
Commits on Dec 19, 2023
-
Merge branch '4.2.x' into short-circuit
# Conflicts: # http-server-netty/src/main/java/io/micronaut/http/server/netty/handler/PipeliningServerHandler.java
Configuration menu - View commit details
-
Copy full SHA for 84c7293 - Browse repository at this point
Copy the full SHA 84c7293View commit details
Commits on Jan 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 585cc4e - Browse repository at this point
Copy the full SHA 585cc4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ee51c9 - Browse repository at this point
Copy the full SHA 7ee51c9View commit details
Commits on Jan 8, 2024
-
Merge branch '4.3.x' into short-circuit
# Conflicts: # gradle/libs.versions.toml # http-server-netty/src/main/java/io/micronaut/http/server/netty/RoutingInBoundHandler.java # http-server-netty/src/main/java/io/micronaut/http/server/netty/handler/PipeliningServerHandler.java # http-server-netty/src/main/java/io/micronaut/http/server/netty/handler/RequestHandler.java # inject-java/src/test/groovy/io/micronaut/visitors/ClassElementSpec.groovy
Configuration menu - View commit details
-
Copy full SHA for 82dcfab - Browse repository at this point
Copy the full SHA 82dcfabView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab9e7de - Browse repository at this point
Copy the full SHA ab9e7deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 280a35a - Browse repository at this point
Copy the full SHA 280a35aView commit details
Commits on Jan 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 971b300 - Browse repository at this point
Copy the full SHA 971b300View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9eb93d - Browse repository at this point
Copy the full SHA e9eb93dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd0c252 - Browse repository at this point
Copy the full SHA cd0c252View commit details -
Configuration menu - View commit details
-
Copy full SHA for 409c4d9 - Browse repository at this point
Copy the full SHA 409c4d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3a3849 - Browse repository at this point
Copy the full SHA f3a3849View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43c5c25 - Browse repository at this point
Copy the full SHA 43c5c25View commit details