C API: Limiting Resources

Is it possible to limit the amount of CPU resources a C API is allocated when running? We have an API that when running on a test server grabs over 40% of the CPU resources and we don’t have that amount space on the production environment so are unable to test the true performance of the API.

Any solutions?

Subject: C API: Limiting Resources

The amount of CPU the API application will use depends on several factors including:* How streamlined it has been written

  • The functionality it’s performing

I’d probably start by reviewing those two first.

Is the application consuming a large amount of resources for an extended period of time or only intermittently?

Alex