Hi Anurag, I hope you are well!
It sounds like your system is expecting to see 500,000 API calls a day. Dividing this number by 8 business hours, we are talking 62,500 API calls per hour. Further dividing by 60 minutes and then by 60 seconds, we are looking at ~18 API calls per second (TPS).
The API Gateway component (DataPower) is the component that will see the main impact of these API calls, as during runtime it will be enforcing security, performing payload validation, perhaps some message transformation, etc
In this presentation (refer to slide 10), you can see that we tested both a virtual and a physical appliance against 3 use cases, and we observed the following (for 4KB payload and CPU at 100% utilization):
1. Complex testing (map+invoke+map)
Virtual 8 vCPU = 912 TPS
Physical IDG X2 = 5,088 TPS
2. Medium testing (OAuth+invoke)
Virtual 8 vCPU = 4,271 TPS
Physical IDG X2 = 25,571 TPS
3. Simple testing (invoke)
Virtual 8 vCPU = 5,144 TPS
Physical IDG X2 = 29,932 TPS
The numbers above will be different if you change the complexity of the API or the request and response sizes, but it should give you an idea.
From the information you have provided so far, it sounds like that the minimum requirement for DataPower (4 vCPU) would provide sufficient processing power to run your use case. We however recommend you to test in your own environment with your own equipment, as other factors, such as network, hypervisor engine, processor and server models, etc, may affect these results.
Does this help?
------------------------------
Bruno R Neves
Integration Specialist
IBM
Tampa FL
------------------------------
Original Message:
Sent: Tue December 07, 2021 01:05 AM
From: Anurag Gupta
Subject: Inbound and Outbound Req Calculation
Hi Bruno,
Thanks for you response.
As per requirement I am assuming 5 lac. approx. API transaction per day, with an average payload size. What should be basic infrastructure required for such specifications in Datapower.
Regards
------------------------------
Anurag Gupta
Original Message:
Sent: Fri December 03, 2021 09:58 AM
From: Bruno R Neves
Subject: Inbound and Outbound Req Calculation
Hi Anurag, I hope you are doing well!
I am answering this with the assumption you want to size a deployment for a future use case. Let me know if that is not the case.
Your IBM account team has access to an internal sizing tool that can help you with that. You would need to provide them with scenario type, payload sizes, desired transaction per second rate, and head room you wish to have at peak.
If you are not sure who your IBM account team are, let me know and I will put you in touch with them.
Hope it helps!
Thanks!
------------------------------
Bruno R Neves
Integration Specialist
IBM
Tampa FL
Original Message:
Sent: Thu December 02, 2021 01:01 AM
From: Anurag Gupta
Subject: Inbound and Outbound Req Calculation
Is there any formula/algorithm or anything to count or calculate datapower requests with hardware specification on the basis of api calls, payload size to work seamlessly.
------------------------------
Anurag Gupta
------------------------------