Focal Point
[CLOSED]Is there a way to load graph in queue?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7937023396

May 05, 2020, 06:43 AM
nox
[CLOSED]Is there a way to load graph in queue?
Hi,

I created several graphs and then create a "page" in webFOCUS and insert those graphs into this one "page".

During running time, it try load all graphs at same time and I think that is where bottleneck is. is there a way to load those graph like queue?

This message has been edited. Last edited by: nox,


WebFOCUS v8.2.06 , Windows
May 05, 2020, 08:47 AM
MartinY
Can those graphs been created over night, saved on disk and then accessed to be loaded on your page or those graph will be generated on the fly at run time by the user based on selections ?


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
May 05, 2020, 04:21 PM
Waz
How much processing is needed for each graph and how many are there ?

Also, what actually happens?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

May 05, 2020, 09:27 PM
nox
Hi Martin,

Those graphs are created individually(via IA or .fex file) and then put those graphs into a "Page" and set some of default value due to filters(eg. filter for date, default as today's date) and those graphs will be changed once user select different date in the filter.

Hi Waz,

if your "processing" mean by compute, define, filter or etc. then yes there are several those "processing" in each graph(different graph have different amount) do you need exact number of processing?
On one page will have 8~10 graphs.

and what actually happen is those individual graph is running fine and after insert into a "page" is running the result, BUT it take long to load all those graphs to show in one page.(like 1 and half minute, even more sometime)
Each graph take 5sec to show, but when put multiple graphs into single page, it take much longer to load. So we guess it's performance issue, so wandering if there is a way to load those graph quicker? like loading those graph in queue?


WebFOCUS v8.2.06 , Windows
May 05, 2020, 09:45 PM
Waz
quote:
On one page will have 8~10 graphs.


The issue may well be concurrency.

That is the Max number of agents defined in the reporting server ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

May 06, 2020, 07:54 AM
Frans
in The admin console you can trace your session. Activate it and then load the page. In the trace you'll see the performance bottlenecks on the server side. This is also partly caused by your browser, each graph needs a separate call to WebFOCUS, a browser has maximimum of ~ 6 concurrent sessions (depending on browser). Checkout with developer tools in your browser to see if there are long running requests.


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
May 07, 2020, 01:11 AM
nox
Hi Waz,

Agent number is set as default amount(I think is 10 agents), increasing agent number would affect the performance?


WebFOCUS v8.2.06 , Windows
May 07, 2020, 05:54 AM
nox
Hi Frans,

I think you are right about the "browser session" is one of issue. As I try use Firefox or Chrome(session=6), it took average of 90sec to load all graphs, while using IE 11(Session=13) and it took around 55sec. to load all graphs. so I guess browser did play a big role here.

I'll have another performance issue about active report(FORMAT AHTML) , but I'll open another discussion.

Thank you all.


WebFOCUS v8.2.06 , Windows
May 07, 2020, 03:50 PM
Waz
quote:
increasing agent number would affect the performance?


Yes to some degree.

But you can also set up queuing on the reporting server.

It worries me that it is taking 55 to 90 seconds for a chart. Perhaps a but of performance tuning.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!