octavia/octavia/db
Michael Johnson af901ccaa5 Fix health manager performance regression
When running stress tests against the Octavia Health Manager it was
observed that the scalability and performance of the health manager has
degraded.
It was observed that the ORM layer was forming poorly optimized queries,
putting excessive load on the database engine and unnecessary code paths
were executing for each heartbeat message.
This patch optimizes the health manager processing of amphora-agent
heartbeat messages by optimizing the database requests, pool processing,
and event streamer code paths.

Story: 2001896
Task: 14381
(cherry picked from commit f13a2e6546)

Change-Id: If2f81129ca94882b42b04ddf5652ff03e8a48edf
2019-02-04 13:43:35 -08:00
..
migration Extend api to accept qos_policy_id 2017-12-20 09:23:16 +08:00
__init__.py Initial directory skeleton 2014-09-04 15:28:10 -06:00
api.py Make health checks resilient to DB outages 2018-09-13 20:00:42 +00:00
base_models.py Fix fields translation on filtering 2018-07-03 11:47:52 +00:00
models.py Merge "Improve user error messages for duplicate objects" 2018-01-05 03:15:48 +00:00
prepare.py Add support for single-create for APIv2 2017-05-05 20:56:22 -07:00
repositories.py Fix health manager performance regression 2019-02-04 13:43:35 -08:00