× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Charles Wilt wrote:
> Lets say you need to call an external web service from multiple
> applications on multiple systems.
> Does it make sense to create your own internal web service to act as
> basically a gateway to that external web service?

Walden H. Leverich wrote:
On the down side, as Aaron pointed out, there's a single point of
failure, but that's only true if you only implement the service on one
machine. Implement it on two and they're redundant.

FWIW, another alternative to address the "single point of failure" problem would be to create a library function (ie. a SRVPGM or DLL) on each system that is responsible for calling the web service. I expect you might want to do this in any case. Then, in the library, you could call direct to the external web service if the internal one is down.

Of course, if the internal web service is down, you've lost your caching, logging, and other benefits of the gateway, but at least you have something. I guess the decision of whether this is acceptable comes down to which is more important - access to the web service or the logging, caching, etc.

If you want to have a simplified interface to the internal web service, you would need to implement the less simple interface once per machine on top of the implementation in the internal web service, with the obvious maintenance concerns.

Just a thought in case the redundant web server option is not feasible.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.