]
Mark Little reassigned JBESB-467:
---------------------------------
Assignee: Mark Little
Reducing registry lookup overhead
---------------------------------
Key: JBESB-467
URL:
http://jira.jboss.com/jira/browse/JBESB-467
Project: JBoss ESB
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Registry and Repository, Rosetta
Affects Versions: 4.0
Reporter: Mark Little
Assigned To: Mark Little
Priority: Optional
Fix For: 5.0
From our previous discussion on reducing registry lookup overhead (currently lookup per
message send):
There are a number of solutions to this and we should try to support them all
eventually:
(i) EPR lifetime: service deployers can register a lifetime associated with the EPR in
the registry and when something reads the EPR it also receives information on how long the
EPR will remain valid for. After that time elapses, clients must go back to the registry
to get a new copy.
(ii) building on (i), EPRs can be marked as persistent - they never change so one lookup
will always be enough.
(iii) interactions with services are scoped by sessions and the EPR is assumed to remain
valid for the duration of the session. The service can be marked as useable within such a
session.
(iv) EPRs are looked up once per client lifecycle and only rebound if the service fails.
If you recall from the original ESB architecture document, service migration is something
that is on the roadmap (5.0) and if a service moves it can leave a forwarding address
(EPR) and the architecture allows messages to be redirected and eventually short-cut,
i.e., the client EPR is updated with the new EPR transparently as a result of receiving a
response from a different endpoint.
(iii) and (iv) are really for the 5.0 architecture. However, it should be possible to add
something along (i) and (ii) for 4.0. What do you think?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: