× 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.



Granted, the HTTP part is pretty minor but when people say "web services" they usually mean SOAP and that is not light weight because of dealing with XML. Also, HTTP keep-alives can cause their own problems because they tie up a server thread until either the client says to close it (fat chance that will happen in a web app) or it times out.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Thorbjørn Ravn Andersen
Sent: Monday, August 18, 2008 11:34 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Getting started with Net.data - was-I'dbetterdomorethan talk

Haas, Matt (CL Tech Sv) skrev den 18-08-2008 17:06:

Once you understand what exactly has to happen for a web service call, it's pretty obvious that it isn't going to perform well (especially for chatty applications like the above mentioned app). First, you have the CPU and memory usage to build up a pretty bloated XML document and then you have to open a connection to an HTTP server that has to pass all that data to another application (more memory and CPU). That application has to then translate that XML file into what ever type of data structure it needs to deal with (yet more memory and CPU), do what ever it has to do (memory, CPU, other I/O), build up another XML document with its response (more memory and CPU), and send that back to the caller which will most likely then convert it into its own data structures. What about that process sounds like it's good for doing inter process communications?

There is nothing as such wrong with doing web service calls using other
protocols than http, and others may perform better.

In your current scenario I would look at whether your http connections
are recreated at every call, or you can keep the connection open (http
1.0 versus 1.1). That may buy you extra time :)

--
Thorbjørn Ravn Andersen "... plus... Tubular Bells!"

--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.