Best Practice Question RRS feed

  • Question

  • Dear All, 

    i have a classic Web Service (SOAP , Lets Call IT FrontENDWS) , hosted on Azure. This Soap XML Service cannot be changed for now since it is being consumed by thousands of other sub systems for now. 

    anyhow, this Web Service in return works as a Relay service to fetch data from other SOAP XML Services (hidden to the customer , lets Call IT BackEndWS),

    the question is , is it better inside the code of to create One instance of the BackEndWS, on the frontENDWS to be used in all calls or is it better to initialize a new object from the webservice and destroy it within the context of each web-service call on the FrontEnd WS.

    the reason i am asking this, is that front-end SOAP service is handling over 250,000 Requests per hour, and since it is hosted on Azure, Resources are expensive.

    i can try both ways and see which works better. but i am checking if anybody has prev. experience and can guide me to best-practice and if there is any side effects on any of the methods.

    thank you all in advance.

    Maged A. Reda

    • Moved by Alex-KSGZ Wednesday, August 29, 2018 6:46 AM
    Tuesday, August 28, 2018 6:14 PM

All replies