Skip to main content

Multiple DataLayer.* are they Async

Comments

3 comments

  • Blake

    I don't have a direct answer to your question, but if you turn on debugging and debug the page you should be able to see how the data layers are being executed.

    1
  • VISUI

    Blake's answer is the best way to determine if the datalayers are processed in different threads.

    I ran some tests and was surprised by what I found.  This was v14 sp1

    Typically, if any of your datalayers are Local (either to the report or to the panel) they will get process first in a synchronous fashion, however, it appears that Local Data Layers in separate dashboard panels will run asynchronously.

    If you have multiple Local Datalayers within the same Dashboard Panel, they will both run in the same thread, asynchronously from the report's thread.

    Also, I was under the impression that If you have multiple Dashboard Panels, the content for each panel will run asynchronously (meaning the datalayers within two panels will run in different threads), however, when the above datalayers are moved directly within the dashboard content (in this case beneath datatables), the debug shows the datalayers run synchronously within the same thread.

    Also If a panel has multiple datalayers in its Panel Content, each datalayer will typically be processed synchronously.

    Interesting stuff.

    1
  • Burt Wang

    Thanks for your answers.

    If we have multiple panels for a Dashboard, what is the best practice to ensure all DataLayers.Rest for charts to be async to improve performance? Most of data for charts are aggregated in nature and are not going to be fast.

    0

Please sign in to leave a comment.