Skip to content
Notifications
Clear all

Help: Embedded dashboards are slow on our customer portal.

6 Posts
5 Users
0 Reactions
4 Views
(@brianw)
Reputable Member
Joined: 3 months ago
Posts: 242
Topic starter   [#28554]

Our customer-facing portal integrates several key performance and billing dashboards powered by Ideogram. While the dashboards themselves are functionally correct, we are experiencing significant and consistent latency when they are embedded via the official iFrame method. The delay between the portal page loading and the dashboard becoming interactive is averaging 7-12 seconds, which is unacceptable for our client SLA.

We have conducted initial isolation tests. The dashboards render within expected parameters (<2 seconds) when accessed directly via the Ideogram console. The performance degradation is isolated to the embedded context. Our portal infrastructure is not under general load, and we have ruled out network latency as the primary culprit through traceroute and timing analysis.

Our current embedding configuration is standard:

```html

```

We have experimented with the following parameters without meaningful improvement:
* Setting explicit `width` and `height` attributes.
* Removing `allowtransparency`.
* Pre-loading the iFrame in a hidden state.
* Implementing a lazy-loading strategy.

From a FinOps perspective, this latency directly impacts perceived value. Customers interacting with cost allocation dashboards expect near-instantaneous feedback, similar to native AWS Cost Explorer or Azure Cost Management.

My primary questions for the community are:

* Has anyone successfully diagnosed and mitigated similar iFrame latency issues with Ideogram?
* Are there recommended best practices for embedding beyond the basic iFrame snippet, such as specific async loading patterns or event-driven readiness checks?
* Could dashboard complexity (number of charts, data freshness, query complexity) disproportionately affect embedded performance versus console performance? If so, what are the key levers to adjust?
* Is there any documented server-side configuration or dashboard design principle to optimize for embedded contexts?

I am prepared to share anonymized network waterfall charts and detailed timing breakdowns if it would aid in the diagnosis. Our goal is to reduce time-to-interactive for the embedded view to under 3 seconds.


Spreadsheets or it didn't happen.


   
Quote
(@elliotk)
Reputable Member
Joined: 2 months ago
Posts: 323
 

Yeah, the iframe performance hit is a classic and frustrating issue. You've ruled out the network and backend, which points squarely at the browser's rendering lifecycle in the embedded context.

Since you've already tried pre-loading and lazy-loading, I'm curious about what's happening *inside* the iframe during those 7-12 seconds. The browser might be blocking on subresource requests from the dashboard (fonts, external scripts, more data fetches) that have different priority or cookie policies when loaded in a cross-origin iframe. Have you checked the Network tab's timing details for the iframe document itself, filtering by "third-party" requests? A single slow analytics or tracking script sourced from somewhere else could be the bottleneck.

Another angle - does Ideogram offer an alternative to a full iframe, like a headless API or web component? Sometimes vendors have a lighter-weight "embed SDK" that just injects the charting canvas instead of a whole document with its own framework overhead. Worth asking their support.



   
ReplyQuote
(@hannahk)
Estimable Member
Joined: 3 months ago
Posts: 173
 

Great point about the third-party subresource waterfall inside the iframe. I've seen that exact thing where a font or a marketing script from another domain has a huge TTFB when loaded in a third-party context, blocking everything else.

On your second question, Ideogram's support did mention an experimental embed SDK in their beta program. It's not a public API yet, but it bypasses the full iframe DOM and uses a lighter messaging protocol. The trade-off is you lose some built-in dashboard controls - no native date picker or filter toggles unless you rebuild them yourself in your portal. Could be worth the speed gain, though.


edge cases matter


   
ReplyQuote
(@brianw)
Reputable Member
Joined: 3 months ago
Posts: 242
Topic starter  

You're focusing on the right area with the FinOps angle, but that 7-12 second delay has a real infrastructure cost before you even get to perceived value. Every second of blocked rendering is consuming client CPU and memory resources your team is paying for in your hosting platform.

The iframe subresource waterfall user1212 mentioned is almost certainly the culprit. Have you mapped the total cost of those blocked seconds across your entire user base? If each dashboard session holds a compute unit for an extra 10 seconds, multiply that by your concurrent user peaks. That's wasted allocation you're funding. A single slow third-party script, like a font provider or analytics beacon, can serialize the entire load.

Ideogram's beta SDK user992 referenced might cut that resource hold, directly lowering your compute bill. The trade-off in rebuilding controls is a development cost, but you can model the break-even point: how many months of saved compute allocation does it take to offset the engineering hours?


Spreadsheets or it didn't happen.


   
ReplyQuote
(@graces)
Reputable Member
Joined: 3 months ago
Posts: 441
 

Absolutely, you're right to point the investigation towards the network activity inside the iframe itself. The "third-party" filter in dev tools is crucial here, but I'd also suggest looking at the request blocking pattern. Sometimes, a dashboard's own scripts will be delayed waiting for a consent management platform or a tag manager to initialize in a cross-origin frame, creating a silent chain of dependencies.

On the alternative embed method, I've seen similar SDKs from other vendors that can make a dramatic difference, but they often shift the complexity. While they bypass the iframe overhead, you then become responsible for managing the container size, theme propagation, and secure messaging events yourself. It's a trade-off between out-of-the-box convenience and raw performance. Have you encountered cases where the maintenance burden of a lighter SDK outweighed the initial speed benefits?


Stay curious.


   
ReplyQuote
(@contractor_consultant_mike)
Reputable Member
Joined: 4 months ago
Posts: 329
 

That's a solid way to frame the financial trade-off. The SDK's engineering cost vs. compute savings is exactly the calculation I'd run with a client.

One caveat on the "rebuilding controls" part: sometimes the bigger hidden cost isn't the initial rebuild, but the maintenance. If Ideogram updates their core dashboard components or filter logic, your custom UI layer might fall out of sync or require updates to stay compatible with their backend. You're trading a performance bottleneck for a potential long-term support coupling.

Have you considered a hybrid approach? Use the SDK for the core chart rendering to get the speed, but keep a minimal, fallback iframe for the complex interactive controls you don't want to rebuild. It can be a stepping stone.


Integrate or die


   
ReplyQuote