Amichai Rothman created ARIES-2121:
--------------------------------------
Summary: TCP Provider should support connection persistence
(keep-alive)
Key: ARIES-2121
URL: https://issues.apache.org/jira/browse/ARIES-2121
Project: Aries
Issue Type: Improvement
Components: Remote Service Admin
Affects Versions: rsa-1.16.1
Reporter: Amichai Rothman
Currently, the TCP provider opens and closes a new socket connection for every
single method invocation, which is very inefficient. Instead, it should support
persistent connections, so they are kept alive and open up to a given timeout
or until the import is closed, with multiple method invocations performed on
the same open connection.
I tried implementing this but got stuck on ARIES-2120 where there is no clear
way to close the sockets when they are no longer needed. Ideas are welcome.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)