№ 03 · Cases

Stories we
love to tell.

Platforms, ticketing systems, marketplaces. What we do is not always visible — but it always shows when it goes wrong. Here are a few where it went right.

4 cases
Case · 01 · Media & streaming

Warner Bros. Discovery

2019 – 2023 · Chief architects · Lead developers
New streaming platform from scratch

Built WBD's new global streaming platform — Discovery+ and HBO Max/MAX. POC in three weeks, then chief architects and lead developers as the team scaled to 1000+ devs. Event-driven microservices, non-blocking and with no external runtime dependencies.

Event-drivenMicroservicesLead architectsGlobal scale
13ms
avg API response time
80M
API calls / day
99.9999%
API uptime
3 200
peak req/s

From POC to global streaming platform for Warner Bros. Discovery — Discovery+ and HBO Max/MAX, built from the ground up to handle global peaks without losing control of cost or latency.

Background

WBD needed a new global streaming platform that could deliver Discovery+ and later HBO Max/MAX to an audience measured in hundreds of millions. The existing architecture could not handle that scale, and the timeline was uncompromising.

What we did

A three-week POC confirmed the direction. From there SCG stepped in as chief architects and lead developers as the team scaled from a dozen to over 1000 developers. Event-driven microservices, non-blocking IO, no external runtime dependencies — so that every service could be operated, scaled and debugged in isolation.

Result

13ms average API response time, 80 million API calls per day, 99.9999% uptime and 3 200 peak requests per second. The platform handles global peaks without losing control of cost or latency, and the development team can iterate service by service without coordination nightmares.

Case · 02 · Public transport

SL

2020 – 2023 · Chief Software Architect (David Looberger)
New ticketing system with contactless

Architecture and delivery of SL's new ticketing system — built from scratch on AWS. David Looberger from SCG as chief software architect. Travel with a bank card, automatic discounts for students/seniors, accessibility features. AWS wrote a blog post about the project.

EMV contactlessAWSPCI-compliant
800k
journeys / day
EMV
contactless payment
AWS
EC2, RDS, KMS
PCI
compliant

SL's new ticketing system — contactless payment with bank cards, automatic discounts, built from scratch on AWS. SCG's David Looberger as chief architect all the way.

Background

Stockholm's public transport needed to replace its ageing ticketing system with a solution that handles 800,000 journeys a day — and gives travellers a far smoother experience. The demands on operations, security and accessibility in a critical public service are hard and non-negotiable.

What we did

David Looberger from SCG led the architecture as chief software architect. The system was built from scratch on AWS with EMV contactless as the primary payment method — travel with your bank card, automatic discounts for students and seniors, accessibility features baked in from the start. PCI-compliant and designed to handle peak hours without compromising on performance.

Result

800,000 journeys per day, EMV-based contactless as standard, full PCI compliance. AWS wrote its own blog post about the project as a reference implementation for the public sector's transition to modern cloud infrastructure.

Case · 03 · Marketplace

Blocket

2022 – 2024 · Architects, developers, product manager
Monolith → microservices with no downtime

SCG drove Blocket's transformation from a large legacy monolith into well-defined microservices with clear boundaries. Architects, developers and a product manager — all the way from planning to delivery. Event-driven on Kafka, event sourcing via DynamoDB streams, onion architecture.

Kotlin · Spring BootKafkaAurora · DynamoDBOnion / Hexagonal
Kafka
event-driven
Kotlin
Spring Boot · K8s
Aurora
PostgreSQL + DynamoDB
Onion
Hexagonal architecture
"The consultants from Stockholm Code Group truly stand out. They bring remarkable technical expertise and seniority, and are dedicated to delivering effective and modern solutions."
— Niklas Lager, CTO, Blocket

Transformation of Blocket's large legacy monolith into well-defined microservices — event-driven, with no downtime, with a team that covered the whole path from planning to delivery.

Background

Blocket ran an extensive legacy monolith that had grown over several decades. It was stable but had become a brake on development pace — every change required coordination, deploys were rare events, and new ideas ended up in a queue.

What we did

SCG drove the transformation from monolith to well-defined microservices with clear boundaries, without Blocket having to stand still. We staffed architects, developers and a product manager — all the way from planning to delivery. Event-driven on Kafka, event sourcing via DynamoDB streams, onion and hexagonal architecture so that domain logic and infrastructure can evolve independently of each other.

Result

Clearly bounded services in Kotlin on Spring Boot and Kubernetes, Aurora PostgreSQL and DynamoDB as data stores, Kafka as the backbone for all asynchronous communication. The team can now ship changes more often and with less coordination — and the next generation of Blocket is no longer an impossible refactor.

Case · 04 · E-commerce

Matsmart / Motatos

2025 – 2026 · Architect and Developer
Core platform modernisation with agentic AI

Helped Matsmart/Motatos modernise their legacy platform and enable a small team to deliver above its weight class with an agentic AI way of working. Service architecture redesigned, hand-maintained components replaced with managed alternatives, parallel POC services alongside existing flows.

Azure Service BusGitHub ActionsInfrastructure as Code.NET / C#Agentic AI
5–8k
orders/day (SE)
6
European markets
Azure
Service Bus · IaC
Agentic
AI workflows

We helped Matsmart/Motatos modernise their legacy platform and enable a small team to deliver above its weight class with an agentic AI way of working — the service architecture redesigned and the migration run in parallel with operations, with no single cutover date.

Background

Matsmart/Motatos has a mission to reduce food waste by buying in and reselling surplus stock, seasonal goods, products with print errors and other leftover food. During the engagement the e-commerce ran in six European countries, with Sweden at 5,000–8,000 orders per day and significant round-the-clock traffic on the other markets. The platform sits at the centre of the operation: ERP sync, purchasing and supplier data, order handling, stock levels, real-time integration with warehousing, shipping and product data for every SKU. Earlier decisions that were once right — a custom-built framework, hand-maintained services, faulty integrations — had started to slow the team down.

The challenge

The solution space was narrow: operations could not be paused, a big-bang rewrite was impossible for a team of this size, and continuing to patch the in-house framework would have compounded the debt. What replaced it had to come piece by piece, with no single cutover day, while the team kept delivering against internal demand.

What we did

Robert Krogh from SCG came in as architect and developer to lead the shift. A lightweight architecture showed how individual services could live outside the in-house framework, still be part of the whole, and require minimal setup. We moved from code-first to infrastructure-first so the services became fully decoupled. Messaging flows went from targeted RabbitMQ flows to managed Azure Service Bus. In parallel the team migrated from Azure DevOps to GitHub, which opened the door to redoing CI/CD and IaC in the same spirit.

Agentic AI for a small team on a large system

We laid the groundwork for team-scaled AI use where the gains spread beyond the individual. By making context explicit in the monorepo, agents could work with a broader picture than earlier ways of working allowed. A custom skill pulls pipeline data via the GitHub CLI and shows, in a prompt, what is deployed where, per service. Skills like this live in the repo, versioned together with the code — one developer's improved way of working becomes the team's.

Result

The new architecture let the team build leaner services, maintain less code, and deploy with fewer steps. Data flows could be migrated in parallel with the old solution, at the team's pace, following a safe plan. The documentation became broad and current — for both humans and AI. Through AI-maintained documentation, tooling and the ability to explore live environments from IaC and pipelines (without data or sensitive info), the team moved into a more agentic way of working, and could do meaningfully more with less.

Adaptive reuse

In architecture, *adaptive reuse* is the craft of giving an existing building a new function and modern systems while preserving the structure and character worth keeping. The Matsmart/Motatos platform got the same treatment. The domain logic, the integrations the business depends on, the flows in motion: all kept. Alongside them, modern counterparts were built — managed messaging next to the self-hosted bus, clean pipelines next to the hand-maintained ones, lightweight services next to the in-house framework. New and old ran in parallel, each new part earning its place before the old one stepped aside.

Matsmart/Motatos fights waste for a living. Stockholm Code Group helped them cut it from their platform too: less code, less infra to operate, less stale documentation, less friction between an idea and a deploy.

No cases match.

// try another sector

Want one of your own?

The best cases start with a conversation — not an RFP. Get in touch, and we'll meet over a coffee.

contactus@stockholmcode.se →