-
Notifications
You must be signed in to change notification settings - Fork 332
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
replace some interceptor for events #247
Comments
I'm starting some performance tests here. |
To make this change, you have to create objects that represent each point
|
wait a second and you'll see an example :) |
related PR #248 opened, as a simple example. |
Performance results? |
I'll share it soon @garcia-jj, promise! Time is not being my friend :) |
Ok, just to feed my curiosity. If performance still good or better, we can implement this change to all interceptors like serialization, download and so on. |
Yes! We can use events for this specific cases. I'm changing all this possible interceptors, just for |
With these last two |
I'd change all infrastructure interceptors to Observers... ControllerLookup => ParametersInstantiator => Instantiate => MethodExecutor (with the interceptor stack inside it) |
handling all request execution with events. Closes #247
There are a few interceptors that can be easily replaced by CDI events. If events
get a higher performance, we could migrate these cases (need to be well tested)
The text was updated successfully, but these errors were encountered: