Jacob S. Barrett created GEODE-6605:
---------------------------------------
Summary: Simply connection load conditioning
Key: GEODE-6605
URL: https://issues.apache.org/jira/browse/GEODE-6605
Project: Geode
Issue Type: Sub-task
Components: client/server
Reporter: Jacob S. Barrett
Currently load conditioning requires scanning the {{allConnections}} for N
number of idle connections to specific servers. Each matching
{{PooledConnection}} then has it's underlying {{Connection}} swapped out for
one to a different server. This requires extra logic in the
{{borrowConnection(forServer)}} method to check that the associated server
hasn't changed between to matching and activation, if it has it must be placed
back in the queue and the scan must be repeated. Removing the secondary pool
will removed the need to swap out connections. Any matching idle connection
from the {{availableConnections}} queue will just be destroyed. New connections
will be created to the less loaded server either on demand or via pre-fill. No
complicated logic for swapping connections is required and no recheck for
chaining servers is required.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)