In this talk, Eduardo Aparicio Cardenes, Senior Software Engineer at the Super Group, tells a story of a little iFrame with big dreams, and how some simple rules when using iFrames can help solve some seemingly complex problems. This talk was recorded live at HalfStack Vienna on November 15th 2026.
----------------------------------------
Welcome to WeAreDevelopers, the #1 developer community in Europe!
This is your one-stop destination for the latest tech insights, tutorials, and career advice to elevate your developer career.
Stay updated Dev Digest, with our weekly newsletter featuring the most recent tech trends, career guidance, and original content crafted by developers, for developers. Subscribe now
Interested in advancing your career? Browse through our job board featuring over 190,000 jobs. Unlock job opportunities with a free developer profile
Don't miss out on the annual highlight of every developer's calendar - the WeAreDevelopers World Congress. Network with 15,000 peers and learn from over 500 speakers. Secure your spot and save 10% with "wearedevs_yt"
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_00Thank you very much. Hello, hello. Hello, hello. Hello, hello. Can you hear me? Lovely. Thank you very much, guys. Um, my name is Eduardo, and thank you very much for joining today. Today I have a little fabble for you. The story of a little mammoth with a very big dream. He wanted to become the biggest payment platform out there. But to get there, he had to overcome a series of challenges.
SPEAKER_00And the first one was the speed. You see, O Little Mammoth had finally gained his independence. But independence alone wasn't enough. He wanted his improvements to reach out to his customers as fast as possible. So he reached out to the fastest friend he knew, the roadrunner. And the roadrunner gave him a red shiny car. O Little Mammoth was delighted. Finally, I can go blazing fast. So without a second thought, he jumped into the car and gets ready to start the race.
SPEAKER_00But suddenly, when the lights turn green, something unexpected happened. The car barely moved. Or Little Mammoth was confused. Why? Because the car had no engine. Or Little Mammoth had to pedal its way through. And that was a reality 20 months ago. We extracted the payment experience from the native applications and the website into a separate iframe to speed up time to market, reduce coupling, and enhance security.
SPEAKER_00One project, four channels. To give you an idea of the scale, in March 2026, we processed over 1.6 million daily transactions. And we handled over 300 million euros in deposit. We supported over a dozen payment methods across seven jurisdictions. But unfortunately, as all the as amazing stories, there was a twist. We inherit the delivery process of the website. Let me tell you a little bit more about that process.
SPEAKER_00Developers will branch from the non-production branch, make their changes, and open a pull request. When those changes get approved, then those changes get merged into the non-production run. And only then those changes will reach the staged environment. And only then QA will be able to validate those changes. And that was our first bottleneck. All the changes from the different developers came together into one non-production environment.
SPEAKER_00And therefore in one shared staging environment. QA aimed to validate things individually, but developer kept merging changes and the staging environment kept changes. Or QA was crazy in the sense that he wanted to actually know exactly what changed on that particular individual change. And it was impossible to know if something break, if it was related with the changes on the specific ticket or someone else's. And there was a second problem with this approach.
SPEAKER_00To give you an example, the release candidates were like 75 commits over 100. And the reality was even if your changes were ready to be released and the QA validate all your changes, you still have to wait for everyone else's changes to be validated before you can release. So we ended up releasing once or twice a month. And that wasn't great. And when you release, because the blast radius was so big and something breaks, it was very difficult to keep pointing things.
SPEAKER_00And this was before AI. So now that these problems are clear, how did we solve this? Well, we created feature branch deployments that they kick off when the pull request was open. Now developers and QA could validate changes independently without being affected by anyone else's. The GitHub Action CI will build the cashier based on the changes of your branch and then upload them to S3.
SPEAKER_00Then we use the feature, the branch names, and the hash commits to actually identify uniquely the bill. Then the GitHub workflow, as you can see on the screen, publish the preview links for each market. Now the developer can share those links in the ticket and QA could validate those things independently. When you open those preview links, what happens is it set up a cookie on the website, and then that cookie remains until you clear it, fetching the right version of the player can share within the browser.
SPEAKER_00So now the QA can test features for payments end-to-end without any disruptions. And now the most important part for us the non-production branch became stable and always releasable. And that raises a very interesting question. Do we really need to maintain two long list branches with all the coordination and synchronization overhead that that represents? Well, the answer is no.
SPEAKER_00We move to trunk-based development. That meant that we kept the production branch and rename it to main. Then we retire the non-production branch. And from that point, the developer will keep actually branching their changes. But now from non-production, they will actually branch from main. They will validate the changes and something have changed. Now they cannot merge their changes until QA sign off that pull request. So when that pull request is merged, now a new process starts.
SPEAKER_00Those changes will be bound together and actually upload to street. And we use basically one extra change. In order to make things easier to trace, we move from merge and commit to squash mergers. So now we have a single commit per pull request. So it's easier to trace when a new version gets released exactly what changed either on your sentry logs or even on the side of the backends because we send the version every time we make a payment.
SPEAKER_00So it was very easy as well to roll back because you know exactly which version has caused the issue. So now that we have all of this, we are very excited. But when we publish a new version, it actually add a new variant to our system on feature flagging, which is in Launch Darkly. LaunchDarkly is a feature flag system if you're not familiar with it. And the developer still manually have to upgrade that version in order to make it available to the customer. And as well, publish those release notes within the maintenance channel so everyone knows what's happening.
SPEAKER_00That means that our little mammoth still have to pedal. We have improved a lot of things, but we haven't got to the end goal. So now the last step. We move to continuous delivery into continuous deployment. By doing so, we guarantee that the experience is end-to-end and very easy to maintain. So now the automations of the GitHub actions will extend it to support the end-to-end delivery, and now that version will automatically be upgraded and it will be rolled out to customers.
SPEAKER_00And additionally, the GitHub workflow will publish that GitHub comment on the maintenance channel so the support team can actually know what's going on. So now, no more manual work from the little mammoth. And you say, why this matter? Why this is very common to us, but that wasn't a reality 20 months ago. To give you some numbers, we, as I mentioned on the left-hand side, we tend to release once or twice a month. That was a reality until 13 of October when we reach out continuous delivery.
SPEAKER_00At that point, our release process actually increased over a 20x, delivering value like 40 times a month. And this is not counting a large thing. This is actually a six people thing today. It has grown to eight people, but that's in count in the metrics at the moment. So less than 10 people T provides 40 changes a month. And you say, well, yes, true, you actually merge everything together into commits, and now you're constantly releasing.
SPEAKER_00So the version gets upgraded faster than with the release candidate. And that's a third channel. So I wanted to give you another number. So once something is stronger. Think about on the left-hand side is one commit that you have published on your changes on the non-production branch. And that's the time it took that change to reach out the customer. Around six days, 139 hours that that changes that was actually published reach out the customer. Now with continuous deployment, we went to 150 minutes.
SPEAKER_00That's the how fast the customer actually, how fast the change reach our customers. That's true, there are some non-sites, it's not for free. As you can see on the left hand side, we have three hours merge. That's the time it took us to merge those changes from the pull request. Now it takes almost a day because the QA involvement have to review manually those changes before you can merge them. That was an ideal. But finally, O Linda Mamu got his energy.
SPEAKER_00Now he can race. And he started going faster and faster and faster. Very exciting. But something went off. The car suddenly started losing its screws and started having some of the indicators flashing out. He was very desperate. What's happening? What's going on? What is this happening? So he reached out to his friend the mechanic and asked, Can you help me with this? And our little mechanic, very nice and very polite, asked, pull over on the pitch top, let's look into what happened to your car.
SPEAKER_00And start looking at the engine, at the car, at the wheels, at the screws, and start growing, growing lists. Every new feature to that car was actually increasing that validation list. And everyone was waiting for that mechanic to be available to review the things. And that's what happened to us. When we have increased the pace of the delivery, the QA person wasn't able to keep up and we were struggling. She was working 12 hours a day doing her best, but we wouldn't be able to keep up with the new pace of styles.
SPEAKER_00So I sat with the team and tried to analyze what was the problem. To give you a clear idea, I call it the melted ice cream of testing from the adding pattern, the ice cream of testing. That was a reality 20 months ago. Most of the tests were actually manual, and we only have 61 tests, and 56 of those 61 tests were unit testing. So everything was in the solace of our QA team.
SPEAKER_00And that was an idea. So I sat with the team and proposed a new solution. I call it the outside in testing strategy. The concept is how RQ8 mindset works when it validated the change. So the way it worked, it looks at the customer journey and interact with the applications and the browser to guarantee that that works correctly. To give you a little bit of an idea how that will work is this is like a draft of payments, no specifically how the app is built, it's just to explain the concept.
SPEAKER_00So you, when you wanted to make a payment, wherever you go, either you do a deposit or a withdrawal. You put money in or money out. You choose what payment method you wanted to use: PayPal, car, back account, and then you put some information on it. You put your bank details, and then you put the amount you wanted to deposit or the amount you wanted to withdraw. And then there is a few steps extra on that process. Sometimes you have phase edit verification, MFA, 3DS checks to guarantee that you are who you say you are.
SPEAKER_00And finally, always we get to this final outcome, which is either you succeed or you fail. That's the reality. So what about if we get the good things of end-to-end tested and bringing water level along as is described by Kenodons on the trophy of tested? And we make it mainly doing integration testing for us. Well, in order to achieve that, we need to understand our system well. And in our case, the player cachier has four clear boundaries: the backend API, the feature flag that allows us to provide us that gate to provide the safety when we do continuous deployment, which every continuous deployment requires feature flagging to guarantee that the features reach out to the customer, but you can roll it back easily.
SPEAKER_00Then we have the payment provider on the bottom. And the payment provider is important to us because not all the journey is native. Some things require PCI compliance and force us to use specific iframes or reader eds to that journey. So we control up to the point with reader, and we control the redirect back to our customer. And then finally, the point of the list, which is the crucial part, because we are in the context of an iframe or web view, we have to have a communication and a contract with the parent.
SPEAKER_00And generally, for iOS and web, we use post messages. For Android, we use a different protocol. Not gonna talk about if you're interested, we can talk about it later. So how do we modelate to get the best of end-to-end testing without ending up in a situation which is very heavy and very flucky? So for the back-end IPI we use mock service work, so we actually do an interface from the network to guarantee that we can control what's the output of that network request, but we test the journey end-to-end. So we no longer validate unit testing that is making the IPI or check the service.
SPEAKER_00We do journeys end-to-end. So all until we leave the cachier. The same thing happened with feature flags. We wanted to actually replace the SDK from launch exactly, and we create a mock IPI. But that IPI actually is interacted through the network, so we actually get what's the response of that IPI, and we can validate everything end-to-end. The same for the payment provider, we actually have a mock situation where we actually know exactly when it lives and when it's back. I don't wanted to go too much into detail because I have gave another talk about this one.
SPEAKER_00But overall, the reality is, at least in my opinion, I see outside in testing strategy based on this particular quote. Confidence is the byproduct of understanding the customer reality and the boundaries between the system. That will guarantee that when you test everything, everything works the way you expect. And to give you some numbers, this is what happened to us. We went from 61 tests to 1700 or even more today. Obviously, in the last few months, the adoption of AI have significantly increased the number of tests, but the most important part is the percentage-wise.
SPEAKER_00We have almost a 50-50 split between the low-level validation logic for taxation or stuff like that, and then the journey, which is a crucial part of that. This number might not represent so much to you, so I wanted to give you another set of numbers. And if you allow me, I will explain a little bit how that means. So on the left-hand side, we can see on the top left, so we see how many of the PRs before making all these changes on this journey, how much of those checks pass at the time.
SPEAKER_00We have 23%, now we are over 100%. Well, we cannot go over 100%, but we are 100% coverage. And from not validating the customer journey to have over 700 test cases, 3DS, MFA, validations, then we have biometrics and name it. And the second thing is all the work that OrQA was doing by hand now is automated. We have done 310 releases signs, the automation happened without having to worry about if anything fails.
SPEAKER_00And this last one is very interesting. I'm gonna read it because it's it's something I don't have by hand. But this release cycle, this 15% was basically the time that was needed to roll back or hot fix within a week something that you have put to the customer's hands. Means that before we set out this confidence, we will end up 15% or 15.8% of the time, and then I have to roll back something or fix something on the client no longer.
SPEAKER_00Finally, our little mammoth has his own testing area. He has to be able to check his engine, he was be able to get his car to optimal condition. And the most important part, or little mechanic or QA can focus on the complex and relevant tasks. No longer headaches, no longer a lot of back and forth between the engineer and the QA, and most importantly, happy life for everyone, right? Unfortunately, as old stories, it doesn't end there. When something needed to change, a new piece needed to be replaced, our little mom would have to go to different galleries because everything lived in different places.
SPEAKER_00So he ended up going to all the pieces to get his car working back again, and that wasn't ideal. So he took the time and reached out to his friend the beaver, and the beaver, an excellent building, came out with a plan. Let's build everything under one roof. Let's create one factory so everything that you need will be there together. And to give you an idea, this is how fragmented was Word ecosystem. We have the website, then we have the player cachier on a separate repository that we created to actually have that independence that I told you about earlier.
SPEAKER_00But we created two additional repositories: the SDK, which is the interface as you will actually use SDK day to day. You have an SDK for Android, you have an SDK for an iOS, and you have an SDK for web. And then we have the types that actually glue everything together and guarantee that the data that comes in and out between the pattern and the application is always correct. And that was a reality. So imagine that you wanted to add a new element to the contract. You need to upgrade the types on the player cachier, then propagate it to the cachier types, then you actually need to upgrade the SDK to have that new feature on the post messages.
SPEAKER_00And finally, you need to actually update the website. Imagine how much time and coordination that took us when you need to actually publish temporary releases, use JarnLeak, and many other things. That's very complex and very convoluted. So, as one of the sponsors that is here today, we decided to go with Innex. That's a very powerful set of tools to bring everything together under one mono repo. Today, the website is not part of us because the website has their own way of thinking and the complexity is different.
SPEAKER_00But we brought all ORI on a rule. So now when you add a new feature to your contract on the post message, everything is together. But obviously, it doesn't mean that much to you today, right? So, how much that represents an engineering saving time? So let's look at the numbers. So, overall, we calculated based on the historical time on the past 20 months that we have wasted almost 300 hours of engineering time on coordination across 240 different packages.
SPEAKER_00So it means that just by adding that moral repo on your day, you're saving almost 14 hours a month per engineer within their ecosystems on that coordination alone. So such a small change, such a big difference. So everything was under one roof. So every time the car needed repairs, he was able to change everything. He was very excited and was able to race. So he went out race by race, went to every single place in Europe: Romania, Serbia, Greece, Belgium, and every single race, he was happy and won.
SPEAKER_00He was a very amazing thing behind him and guaranteed everything worked. And then he went into the ambitious Brazil. He went across the river, well across the river, across the ocean, in the Atlantic Ocean, and decided to race there. But unfortunately, as you wanted, Brazil was very different, very different from the reality in Europe. They have hills, they have all changes, and the car wasn't able to keep up, and he was falling behind it.
SPEAKER_00So finally he reached out to the last friend that he had, the Fox. And the Fox, very clever and astute, said, Let me look at your car, let me look at the terrain around you. What's going on? What's there in Brazil that is nowhere else? Well, and they asked a very clever question What's the customer reality in Brazil? Looking back, the customers in Brazil, a large majority were using low devices with low CPU and low memory.
SPEAKER_00And then when we look at the network, the round trip time were almost twice as Europe. And the time Of advice up to 2.5 times slower. With those constraints clear, we look back at the cost of run architecture. What does the player cachier need to do before the customer can use it? Well, we can identify four different initialization phases. The first one, we render the player cachier in an iframe or web view. Second, we synchronize the context to extract the execution information from the parent.
SPEAKER_00And third, we retrieve the necessary data from the IPI's feature flags and translation. And fourth, the final one, we resolve the payment auctions, fetching the necessary assets, and compose the final payment experience for the customer. The problem wasn't any specific initialization phase. It was the compose effect of processing time plus network latency across the critical path. And you will ask me, how did we solve this?
SPEAKER_00Well, I introduced the critical path principle. Let me tell you a little bit more about them. First, if the customer doesn't need it, remove it. Second, if the customer needs it, move it earlier. And third, if it doesn't need to happen at runtime, move it out of runtime. These principles are simple, but what is interesting is what forced us to change in the player cashier. So let's look at the first principle in action.
SPEAKER_00If the customer doesn't need it, remove it. In payments, we use kill switches behind feature flags to disable payment auctions during provider outages. That gave us safety, but it came with a cost. The customer needs to wait for those chains to complete before they can continue. If we look back at the initialization phases, feature flags were part of phase three. In Brazil, resolving those feature flags took up to 15 seconds.
SPEAKER_00And the interesting part, Brazil has a single payment method with many providers as a fallback. So that left us with a decision to make. Do we keep customer waiting for an exception, or do we trust the packet to check for payment availability? We choose the second. We didn't remove safety, we removed waiting time for an exception. But now everything can be removed. Some requests are necessary, like eligibility, bank account details, or balance.
SPEAKER_00And that limits to the second principle. If the customer doesn't need it, move it earlier. At that time, those requests sat in the initialization pass as part of phase three. Under those conditions, the network became the bottleneck. So can we make them earlier? Well, we move them to the parent application. Now the request can start while the player cashier was loading. That improved the experience, but there was still a synchronization point.
SPEAKER_00If the customer reached the cashier before the data is ready, they still had to wait. So we move it earlier again, immediately after logging, prioritization, prioritizing the first time depositors. Now, by the time the customer reached the cashier, the data could already be there. We didn't make the IPI faster. We changed when we pay the cost. But it doesn't really need to happen at runtime at all.
SPEAKER_00And that leads me to the last principle of today. If it doesn't need to happen at runtime, move it out of runtime. At that point, the player cached was a single page application, but much of the initial experience was predictable. We knew the market, the language, and the route before the customer arrived. So instead of rendering everything at runtime, we pre-render those predictable parts. Then we resolved the experience and DH based on the market language and route.
SPEAKER_00Now we didn't regrite the application. We kept the single-page applications, but we grabbed it around static site generation. And the result, after applying these three principles, Brazil performance went from 16 seconds B90 to under 3 seconds. Now, finally, Olitan Mammoth won the best race of his life. The race that actually we handled over 65% of these 300 million depositors came from Brazil, just to give you an idea.
SPEAKER_00So he was very excited. Now he can win that race, and all the customers were happy, and he was happy. Thanks to the friend of all the broadrunner, the mechanic, the beaver, and the folks that she was on holiday, so he couldn't make it to the picture. So just to recap a little bit. So looking back at all the journey and all the experience, every time a problem was solved, a new problem pops up, right? So we automated the process, but we needed confidence.
SPEAKER_00We got confidence, but we needed we struggled with coordination. So we solved coordination, and then Brazil actually became a challenge on performance. So look at those principles because apply for any project that you want. So through all of this, our little mammoth learned a very important lesson. The right solution is to start understanding the right problem. Thank you very much, and thank you for joining this journey to me.
SPEAKER_00I have a lot of content on this more technical detail on my website, and feel free to connect on LinkedIn or ask me questions after if you're interested. Thank you.
This talk - delivered by Paul Campbell, Founder of ticketing software Tito - was recorded live at HalfStack Vienna on November 15th 2026. Paul tells us developers and users deserve better software, and that now is the...
In this talk, Ramona Schwering talks - and draws - her way into explaining some key and increasingly important security concepts that all builders should know. This talk was recorded live at HalfStack Vienna on November...
On this edition of Coffee with Developers we're joined by CEO and Lead Software Architect @ daenet, Dr. Damir Dobric, to look at the Masterclass he'll be leading at 2026's WeAreDevelopers World Congress Europe....
Faris Aziz, Software Engineer at Netlify, asks what seniority means in the age of AI, when writing code is no longer the bottleneck. This talk was recorded live at HalfStack Vienna on November 15th 2026....
This talk - delivered by Ruben Marcus Luz Paschoarelli - was recorded live at HalfStack Vienna on November 15th 2026. Ruben Marcus is a AI Fullstack Engineer at Big Shot Pictures, and has worked in the tech space for...