Convergence: optimize RPC calls to worker

Bug #1501192 reported by Anant Patil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Triaged
Wishlist
Anant Patil

Bug Description

RPC calls to worker to work on a resource should be optimized. Currently, all the check_resource calls do a RPC to worker. This can be optimized:

- When only one engine-worker is configured, the worker calls can be local instead of RPC. This saves lot of round-trips to AMQP.
- When a worker can steal a lock for a resource, it should right away run the task instead of doing another RPC call.
- If all the children resources are done, the current worker should pick-up the parent and start. If the current resource satisfies multiple parents, the current worker should take one and distribute remaining.

Anant Patil (ananta)
summary: - Comvergence: optimize RPC calls to worker
+ Convergence: optimize RPC calls to worker
Changed in heat:
assignee: nobody → Anant Patil (ananta)
Revision history for this message
Sergey Kraynev (skraynev) wrote :

Anant, this bug description looks like for several related bugs. May be will be better to add spec about it and upload three different patches?

Changed in heat:
status: New → Triaged
importance: Undecided → Medium
milestone: none → mitaka-1
Revision history for this message
Anant Patil (ananta) wrote :

Sergey, I thought a spec would be too much for it. But for better understanding and review, I think I should write a spec.

Changed in heat:
milestone: mitaka-1 → mitaka-2
Changed in heat:
milestone: mitaka-2 → mitaka-3
Changed in heat:
milestone: mitaka-3 → mitaka-rc1
Changed in heat:
milestone: mitaka-rc1 → newton-1
Revision history for this message
Anant Patil (ananta) wrote :

Sergey, I have added spec-lite tag to this bug.

tags: added: spec-lite
Rabi Mishra (rabi)
Changed in heat:
milestone: newton-1 → newton-2
Thomas Herve (therve)
Changed in heat:
milestone: newton-2 → ongoing
Zane Bitter (zaneb)
Changed in heat:
importance: Medium → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.