A Performance Analysis between point to point Web Service call Vs Brokered Web Service call via PI
We once had a requirement to integrate a 3rd party IVR system with SAP ECC. As a standard practice we approached the solution to be brokered , ie interfacing via SAP PI. The interfacing solution agreed upon was a synchronous webservice call. We would be exposing the web service and IVR would be consuming it.
The performance requirement we had was 3 secs. That is the request-response cycle should complete within 3 seconds. This led us to consider a statistical analysis between the following cases:
- Using PI-AAE -Proxy — Here we had exposed the Webservice out of PI, and IVR would Call PI webservice. PI will call ABAP proxy on the ECC end using Advance Adapter Engine’s local processing capability.
- Direct ECC- RFC Webservice By-Passing PI — This case, an RFC was written on the ECC end and exposed directly out of ECC as WebService which IVR would Call.
We tested both the scenarios using SOAP UI and below is the statistics which we got. Whatever cases crossed the SLA of 3 secs is highlighted in yellow.
Summany of the analysis:
Looking at the above statistics, we find that Direct ECC calls performed better(but not significantly) than being routed through PI AAE. We tested with a small set of data, and having simplest coding, involving one select statement only. However, with increase of data volume, and with further complex logics involved, this observation / ratio of response times might get changed.