Fetch resources in parallel
Summary
=======
Speed up resource fetching using futurist library and GreenThreadPool
Motivation
========
On several tabs (e.g. networks, qoutas) we have to call different server APIs to fetch all needed data. We can do it in parallel to mage pages rendering faster.
Description
=========
Futurist library and GreenThreadPool
Testing
======
Current tests should be enough to verify that nothing is broken.
Outside Dependencies
==================
Futurist library is already including to requirements.txt, we need to add eventlet to get GreenThreadPool
Blueprint information
- Status:
- Complete
- Approver:
- Ivan Kolodyazhny
- Priority:
- Medium
- Drafter:
- Ivan Kolodyazhny
- Direction:
- Needs approval
- Assignee:
- Ivan Kolodyazhny
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- stein-1
- Started by
- Ivan Kolodyazhny
- Completed by
- Ivan Kolodyazhny
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Make API calls in Volumes view parallel
Could you show the fact that how making fetching resources in parallel contributes the speedup? Does futurist used in the proposed review use native threads rather than python greenthread? If so, this changes the way of optimization as it changes the balance of apache configurations like the number of processes or workers. At a first glance, I am not sure at all how this contributes the total performance. -- amotoki
[e0ne] related thread in the ML: http://
[e0ne] some performance testing results: https:/
Gerrit topic: https:/
Addressed by: https:/
Refactor futurist calls
Addressed by: https:/
Speed up quotas fetching using futurist library
Addressed by: https:/
Load networks and security groups in parallel
Addressed by: https:/
Speed up quotas fetching using futurist library
Addressed by: https:/
Refactor futurist calls