| Summary: | Ability to disable portable interceptors for local invocations | ||
|---|---|---|---|
| Product: | JacORB | Reporter: | jmonin <jm.ais40> |
| Component: | ORB | Assignee: | Mailinglist to track bugs <jacorb-bugs> |
| Status: | RESOLVED INVALID | ||
| Severity: | enhancement | CC: | jacorb |
| Priority: | P5 | ||
| Version: | 3.2 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
jmonin
2013-06-04 05:18:59 UTC
JacORB's behaviour to use interceptors in local calls is specified in the IDL/Java mapping 1.3 2008-01-11 4.21 Is there a particular problem with interceptors being called on local paths? i.e. could you not do some logical determination in your code to prevent expensive calls if they are not necessary? Thanks for your precise answer! We use interceptors to encrypt/decrypt requests to ensure data security. We obviously don't need that for local exchanges, hence my request. I see the disabling of interceptors for local calls as the preferred "choice", as it's the best solution performance-wise for us. What process would you recommend in the portable interceptors to know whether the call is local or not? I could maybe do some benchmarks to see if the performance degradation is bearable for us. Anyway, thanks for your insights! You could add a check for whether the object is_local ? As per commit 8647cbcf0d9c3fc8f433b82050aa95a764d188e6 |