Where the open-source database community meets: Secure your spot at PerconaLive.com
Back to all talks

Hosting Someone Else's App: Iframe Choreography

Event: FEIT STU - Free/Open Source Software in Education, Science & Business

Dates: October 1, 2026 – October 2, 2026

Presentation: October 2, 2026 , 11:55

Link: On event website

Speaker: Fábio Silva

Most frontend architecture talks assume you control the whole page. This one doesn’t. Percona Monitoring and Management (PMM) ships a React/TypeScript shell that owns routing, navigation, and auth — and then embeds an entire third-party application, Grafana, inside an iframe it doesn’t control the internals of. The two apps have to feel like one product: shared theme, shared navigation, shared login state, no visible seam.This talk walks through how that’s actually built: a custom CrossFrameMessenger that turns postMessage into typed, promise-based RPC calls with timeouts and listener lifecycles; and the handshake that gates showing the iframe until the guest app has actually finished loading. I’ll cover the race conditions this design has to defend against, how you test cross-frame code without an end-to-end browser suite for everything, and where the abstraction leaks.You’ll leave with a mental model for host/guest iframe architecture that applies well beyond Grafana — anywhere you’re embedding a third-party app, a legacy system, or a different team’s SPA inside your own shell.

Event

Speaker card

Hosting Someone Else's App: Iframe Choreography

Speakers