← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1746558] [NEW] Make service all-cells min version helper use scatter-gather

 

Public bug reported:

Currently the "get_minimum_version_all_cells" function in service runs
sequentially and this affects the performance in case of large
deployments (running a lot of cells) :
https://github.com/openstack/nova/blob/stable/pike/nova/objects/service.py#L440

So it would be nice to use the scatter_gather_all_cells function to do
this operation in parallel.

Also apart from the performance scaling point of view, in case
connection to a particular cell fails, it would be nice to have
sentinels returned which is done by the scatter_gather_all_cells. This
helps when a cell is down.

** Affects: nova
     Importance: Undecided
     Assignee: Dan Smith (danms)
         Status: New


** Tags: cells

** Description changed:

  Currently the "get_minimum_version_all_cells" functions in service runs
  sequentially and this affects the performance in case of large
  deployments (running a lot of cells) :
  https://github.com/openstack/nova/blob/stable/pike/nova/objects/service.py#L440
  
+ So it would be nice to use the scatter_gather_all_cells function to do
+ this operation in parallel.
  
- So it would be nice to use the scatter_gather_all_cells function to do this operation in parallel.
+ Also apart from the scaling point of view, in case connection to a
+ particular cell fails, it would be nice to have sentinels returned which
+ is done by the scatter_gather_all_cells. This helps when a DB is down

** Description changed:

  Currently the "get_minimum_version_all_cells" functions in service runs
  sequentially and this affects the performance in case of large
  deployments (running a lot of cells) :
  https://github.com/openstack/nova/blob/stable/pike/nova/objects/service.py#L440
  
  So it would be nice to use the scatter_gather_all_cells function to do
  this operation in parallel.
  
  Also apart from the scaling point of view, in case connection to a
  particular cell fails, it would be nice to have sentinels returned which
- is done by the scatter_gather_all_cells. This helps when a DB is down
+ is done by the scatter_gather_all_cells. This helps when a cell is down.

** Description changed:

  Currently the "get_minimum_version_all_cells" functions in service runs
  sequentially and this affects the performance in case of large
  deployments (running a lot of cells) :
  https://github.com/openstack/nova/blob/stable/pike/nova/objects/service.py#L440
  
  So it would be nice to use the scatter_gather_all_cells function to do
  this operation in parallel.
  
- Also apart from the scaling point of view, in case connection to a
- particular cell fails, it would be nice to have sentinels returned which
- is done by the scatter_gather_all_cells. This helps when a cell is down.
+ Also apart from the performance scaling point of view, in case
+ connection to a particular cell fails, it would be nice to have
+ sentinels returned which is done by the scatter_gather_all_cells. This
+ helps when a cell is down.

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1746558

Title:
  Make service all-cells min version helper use scatter-gather

Status in OpenStack Compute (nova):
  New

Bug description:
  Currently the "get_minimum_version_all_cells" function in service runs
  sequentially and this affects the performance in case of large
  deployments (running a lot of cells) :
  https://github.com/openstack/nova/blob/stable/pike/nova/objects/service.py#L440

  So it would be nice to use the scatter_gather_all_cells function to do
  this operation in parallel.

  Also apart from the performance scaling point of view, in case
  connection to a particular cell fails, it would be nice to have
  sentinels returned which is done by the scatter_gather_all_cells. This
  helps when a cell is down.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1746558/+subscriptions


Follow ups