-
Notifications
You must be signed in to change notification settings - Fork 87
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
Cross Context Dispatch #410
Comments
On Mon, 26 Jul 2021 at 21:50, @markt-asf Mark Thomas [email protected] wrote:
I generally agree that this adds a lot of complexity and that quite a I'd be happy to see
|
Currently jetty has good cross-context dispatch support. We think we have worked out solutions for most of the complexities. But generally it is a very seldom used feature and I think it is a mill stone around the neck of future innovation. If it became an optional feature, then we would give consideration to dropping it in future major releases as there would probably be some minor performance improvements for literally trillions of request - giving a good reason for it. We may then provide some limited support for it with more expensive mechanisms that only effect the applications that use it (taxation only with representation!). I agree with your points 1. & 2. above, so we probably do need to start by defining all the behaviours affected by this. For the most part they are related to session life cycles and are illustrated by the following use-cases:
@janbartel can you expand on this list. |
Cross Context Dispatch is a surprisingly complex mechanism, with significant impacts on the complexity of handling session, security, async etc.
Containers are already allowed to disable
ServletContext.getContext(String)
and return null. We should go further and make it an optional feature in the specification so that a container can be considered compliant even if it never returns non null fromgetContext(String)
.The text was updated successfully, but these errors were encountered: