- Ed Van Haren
- PowerServer
- Monday, 27 January 2025 03:37 PM UTC
Hi,
We converted old school PFC client server 2-tier applications to PowerServer. The applications talked directly to the database (DB2). We made the required changes to get it to work and it is working. The issue is that the applications are quite chatty. The performance of the applications have decreased substantially, so much so that the organization looked into placing the apps in the cloud on a VDI *shich has its own issues and cost).
So generally, the applications run on a client PC and connect to the PowerServer APIs on the cloud that talk to the database on the cloud. This works but some of the more chatty windows take around 10 seconds to open. The SQLs themselves are not the issue. The reason I say that (other than timing them), is that when we run a VDI client on the cloud that talks to the same APIs and the APIs talk to the same database, those same windows open in 1 - 2 seconds.
We are in the west coast of Canada and access the cloud in Canada Central (Toronto). So we know there is a cost for each round trip call to the PowerServer APIs (70 ms).
Is there anything people have done to increase the speed of converted apps? Other than completely rewriting parts of the apps to make them less chatty?
One thing I was wondering is if dropdown datawindows (with autoretrieve turned on) cause another trip to the API or does PowerBuilder / PowerServer know enough to do that work in the one API call of the main datawindow retrieve. We use a lot of DDDWs and if each one causes its own API call, then a simple change to buffer these and avoid the extra API calls would possibly help.
Any suggestions or help in getting the applications to perform better would be appreciated. Other than the speed issue, our applications are running pretty well. A few rogue crashes here or there but we are living with those.
We are running 32-bit clients (have a couple of old 32 bit third party objects we still need to support) calling 64 bit PS generated APIs under IIS calling 64 bit DB2 via the IBM driver.
Thanks,
Ed
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.