Platform Engineering

Post Image

Building Scalable Multi-Tenant Kafka Solutions with Spring Boot

In modern SaaS applications, is a powerful tool for processing massive volumes of real-time data. But as you scale, especially in a multi-tenant architecture, challenges begin to surface—particularly around Kafka cluster management and consumer design.This blog walks you through how to build a multi-tenant Kafka consumer in Spring Boot, allowing a single application instance to consume messages from multiple Kafka clusters—each dedicated to a tenant group. It also covers writing multi-tenant aware Kafka producer.Source Code on GitHubYou’re building a SaaS...

Read
Post Image

Internals of MVCC in Postgres: Hidden Costs of Updates vs Inserts

Why do sometimes updates feel slower than inserts in Postgres? The answer lies deep in how Postgres manages data versions behind the scenes.At the core of Postgres’ ability to handle concurrent transactions efficiently is Multiversion Concurrency Control (MVCC).In this article, I’ll explore how MVCC works in Postgres and how it impacts both writes and reads, and the performance differences between inserts and updates.-- pageinspect extension to view underlying data storage, we will use it soon! CREATE EXTENSION IF NOT EXISTS...

Read
Post Image

Atomic Operations Explained: From Hardware to High-Level Code (using Go)

Modern applications frequently rely on atomic operations, with atomic counters being one of the most common use cases. For example, when multiple threads execute in parallel, increment and decrement operations must be atomic to prevent race conditions. For this discussion, I’ll be using Go as the reference language, but the core concepts apply to other programming languages as well.This section provides a refresher on managing race conditions in Go. If you’re already familiar with this topic, feel free to skip...

Read

Powering Ad-Tech Campaigns with Data

Simplifying advertising inventory aggregation pipeline and enabling rapid integration of OOH inventory from multiple providers has increased Talon’s operational efficiency. Talon is a specialist Out-of-Home (OOH) agency with over 30% UK market share and operations in the USA, Canada, Europe, UAE, and Asia Pacific regions.  OOH is a collective term for advertisements found on public billboards, wallscapes, and posters seen while "on the go". Traditionally, OOH agencies have been managing and running campaigns manually. Even for Talon, handling campaign planning...

Read

Transforming Operational Efficiency and Campaign Success in OOH Advertising

Talon’s Atlas transforms traditional OOH advertising into a dynamic, automated platform, enhancing better targeting, and improved results for both advertisers and media owners. Talon is a specialist Out-of-Home (OOH) agency with over 30% UK market share and operations in the USA, Canada, Europe, UAE, and Asia Pacific regions.  OOH is a collective term for advertisements found on public billboards, wallscapes, and posters seen while "on the go". Traditionally, OOH agencies have been managing and running campaigns manually. Even for Talon,...

Read

Providing Seamless, On-demand Access in Frame Data Management

US-based Clear Channel Outdoor Holdings, Inc. is a global outdoor advertising company, specialising in Out-Of-Home (OOH) advertising, which involves displaying advertisements in public spaces—primarily outdoors—where they are visible to people as they navigate through the urban environment. These advertisements are placed on various types of media, including billboards, transit locations such as subways, airport advertising, and street furniture like bus shelters and signages. Their digital offerings enable brands to utilise real-time, engaging content across high-tech screens, while their traditional formats...

Read

Maximising Programmatic Inventory Utilisation

With an opportunity to increase revenue and yield, Clear Channel and Sahaj Software built an MVP implementing Waterfall and Header Bidding strategies, which resulted in significantly increasing ad fulfilment rates and operational efficiencies. US-based Clear Channel Outdoor Holdings, Inc. is a global outdoor advertising company, specialising in Out-Of-Home (OOH) advertising, which involves displaying advertisements in public spaces—primarily outdoors—where they are visible to people as they navigate through the urban environment. These advertisements are placed on various types of media, including...

Read

Automating Frame Availability Management

Clear Channel’s Frame Manager application seamlessly manages OutOfCharge / OpeningHours with drastic improvements around data integrity and data visibility.  US-based Clear Channel Outdoor Holdings, Inc. is a global outdoor advertising company, specialising in Out-Of-Home (OOH) advertising, which involves displaying advertisements in public spaces—primarily outdoors—where they are visible to people as they navigate through the urban environment. These advertisements are placed on various types of media, including billboards, transit locations such as subways, airport advertising, and street furniture like bus shelters...

Read

Streamlining Ad Campaign Booking Systems

Clear Channel automated its campaign booking APIs and reduced its booking failure rate to 0% and the overall processing time from 6 hours to 30 minutes. US-based Clear Channel Outdoor Holdings, Inc. is a global outdoor advertising company, specialising in Out-Of-Home (OOH) advertising, which involves displaying advertisements in public spaces—primarily outdoors—where they are visible to people as they navigate through the urban environment. These advertisements are placed on various types of media, including billboards, transit locations such as subways, airport advertising,...

Read
Post Image

Say Goodbye to if-else: Transform Your Code with the Strategy Pattern

Imagine you’re building a product that helps people post their content across multiple social media platforms, like Facebook, X (formerly Twitter), LinkedIn, and others. At first, you might think, “I’ll just write some code that checks which platform the user wants to post to and then handle each one separately using if-else or switch-case statements.”:If it’s Facebook, do thisIf it’s LinkedIn, do thatIf it’s X, do something elseThis might work in the beginning. But as your business grows, new social...

Read