I have a WCF service hosted in IIS which is an adapter for various ThirdParty APIs. All this service does is: - accept a synchronous operation call from GUI - fire a synchronous Http Request to third party - convert the result to canonical format - return to GUI
In practice it spends most of the waiting on network i/o to complete. What is the best pattern to make such service scale while maintaining synchronous interface for the GUI? I know that for ASP.NET apps that have a lot of i/o it is recommended to use async handlers to free-up the thread executing request.
Is there any good pattern for WCF?
Thanks, Piotr