nodepool/nodepool/driver/aws
James E. Blair d2ac0de07b Improve AWS driver performance
The following adjustments improve performance at large scale:

* Save the quota object earlier in the state machine.  This is
  still using cached data, but it's not necessary to re-run this
  each time.

* Flatten iterators returned from cached methods.  Some of our
  methods intended to cache heavy list responses were in fact
  only caching the iterator, and re-iterating would end up
  re-running the request.  This change does two things: it causes
  the iteration to happen within the rate limit calculator so we
  have a better idea of how long it actually took, and it causes
  the actual data to be put in the cache so that we don't re-run
  the request.

* Don't create a second instance object after creating the
  instance.  The create call returns an instance object in the
  form that we expect already.  Avoid creating a second one which
  incurs another DescribeInstances call.

Change-Id: I73bc099b450879917ab923fb7371f8006b113d68
2022-05-04 11:02:08 -07:00
..
__init__.py Update AWS driver to use statemachine framework 2022-02-22 17:06:07 -08:00
adapter.py Improve AWS driver performance 2022-05-04 11:02:08 -07:00
config.py Fix default python paths in aws, azure, ibmvpc drivers 2022-04-12 06:32:41 -07:00