Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how can i mock Instances in OpenStack? (For Scale testing)

I'm trying to mock up instances in my openstack-havana setup.

I'm trying to scale test my Web-app that i've built using OpenStack API. My ultimate aim is to check how much time my app takes to list out 10,000 (100,000 eventually) instances and it's properties. (i dont need them to be in Active status, suspended or shutdown is fine too)

i followed 2 approaches

  1. I tried creating entries in nova and ovs_neutron databases but i keep on getting some error because of the DB constraints on the table and since there are so many of them, i'm loosing my mind.
  2. Using Shell script, i'm using nova commands to spawn an instance and then shut them down.unfortunately an instance on shutting down/suspended is not releasing memory effectively. I'm not able to create more than 100 instances.(In theory, there should be no limit, except mysql DB size)

Any help on this would be appreciated.

how can i mock Instances in OpenStack? (For Scale testing)

I'm trying to mock up instances in my openstack-havana setup.

I'm trying to scale test my Web-app that i've built using OpenStack API. My ultimate aim is to check how much time my app takes to list out 10,000 (100,000 eventually) instances and it's properties. (i dont need them to be in Active status, suspended or shutdown is fine too)

i followed 2 approaches

  1. I tried creating entries in nova and ovs_neutron databases but i keep on getting some error because of the DB constraints on the table and since there are so many of them, i'm loosing my mind.
  2. Using Shell script, i'm using nova commands to spawn an instance and then shut them down.unfortunately an instance on shutting down/suspended is not releasing memory effectively. I'm not able to create more than 100 instances.(In theory, there should be no limit, except mysql DB size)

Any help on this would be appreciated.

how can i mock Instances in OpenStack? (For Scale testing)

I'm trying to mock up instances in my openstack-havana setup.

I'm trying to scale test my Web-app that i've built using OpenStack API. My ultimate aim is to check how much time my app takes to list out 10,000 (100,000 eventually) instances and it's properties. (i dont need them to be in Active status, suspended or shutdown is fine too)

i followed 2 approaches

  1. I tried creating entries in nova and ovs_neutron databases but i keep on getting some error because of the DB constraints on the table and since there are so many of them, i'm loosing my mind.
  2. Using Shell script, i'm using nova commands to spawn an instance and then shut them down.unfortunately an instance on shutting down/suspended is not releasing memory effectively. I'm not able to create more than 100 instances.(In theory, there should be no limit, except mysql DB size)

Any help on this would be appreciated.