Search code examples
openshiftnewrelicopenshift-cartridgedatadog

Test performance in Openshift and prevent get banned IP


I have an application hosted in openshift. Now I want figure out how many request can handle in order to check the speed and availability.

So my first attempt will be generate a multiple HTTP GET requests to my Rest Service(made in python and hosted in openshift).

My fear is can get my IP workplace banned regarding this looks like an attack.

In the other hand I see there are tools like New Relic or DataDog to check metrics, but I don't know if I can simulate http requests and then check the response times.

Openshift Response

I finally wrote to Openshift support and they told me I can simulate http requests without worries.


Solution

  • I recall the default behavior being that each gear can handle 16 concurrent connections, then auto-scaling would kick in and you would get a new gear. Therefore I would think it makes sense to start by testing that a gear works well with 16 users at once. If not, then you can change the scaling policy to what works best for you application.

    BlazeMeter is a tool that could probably help with creating the connections. They mention 100,000 concurrent users on that main page so I don't think you have to worry about getting banned for this sort of test.