Re: IWS REST API performance questions
Nathan Andelin <[email protected]>
| Newsgroups | gmane.comp.systems.as400.web |
|---|---|
| Message-ID | <CACCOLZmZWT_D84iU27xE3vVN9ypHT8u_6ksK0cdwJxaAQTNMTA@mail.gmail.com> |
Jim, In regard to your point about network bottlenecks, we were recently measuring the performance of a predictive text-box utility that we were implementing, where each keystroke made a new request to the server and returned a filtered list of results. The latency was about 2-3 milliseconds per response on a LAN, which increased to 80 milliseconds over the Internet, which increased to 300 milliseconds when passed through an external proxy server. Nathan. On Mon, May 10, 2021 at 9:55 AM <midrangel-zbO79nAUJZvJTQUaaPvyeQC/[email protected]> wrote: > As you might guess the best answer to all your questions is: "It > depends"..... > > Generally we see memory footprint and proper use on shared pools to have > the > biggest effect on this type of transaction. Rarely CPU becomes a > bottleneck > if the transactions are complicated, so I suggest you make the REST API do > as little as possible and push the bulk of the processing to asynch batch > (data queue ??) > > The thing we see most often in these situations are network bottlenecks. > DNS look ups take too long, firewall rules that cause things to bounce > around, too slow of an internet connection, poorly configured line > descriptions, etc.. > > -- > Jim Oberholtzer > Agile Technology Architects > > -- This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/web400 or email: [email protected] Before posting, please take a moment to review the archives at https://archive.midrange.com/web400.