Data Flow and Application Architecture Assessment

What If Media Group

An Overview

The Challenge

Issues with the RDS PostgreSQL database were causing outages and application performance degradation. Current observability was not sufficient to diagnose the issue.

The Solution

2nd Watch initiated a comprehensive data flow assessment coupled with an application architecture assessment. This dual approach surfaced both database design and performance issues and application data access pattern issues.

The Outcome

WIMG expects to decrease the load on the RDS database by over 20%. Offloading the click-stream analytics will further reducing load.


About the Business 

What If Media Group is an award-winning performance marketing company that enables the world’s leading brands to acquire valuable new customers at scale. By leveraging data-driven engagement and re-engagement strategies across multiple proprietary marketing channels and sophisticated targeting technology, and utilizing insights based on millions of consumer ad interactions each day, What If Media Group delivers the most cost-effective and highest performing marketing campaigns for its clients.


AWS as Part of the Solution

A critical and low level of effort first step was to add RDS Postgres read replicas to the architecture and refactor the ECS application to utilize the read replicas. Further performance gains were achieved by refactoring event streams to insert instead of update data. We are performing a POC (Proof of Concept) with Kinesis Firehose to offload the handling of click-stream data from RDS.



A key component of achieving the desired results was working collaboratively with WIMG’s Engineers to ensure proper knowledge transfer for future enhancements. This collaborative working partnership led to the successful implementation of the read replica pattern. Due to the heavy application architecture relying heavily on reads, WIMG expects to decrease the load on the RDS database by at least 20%. Offloading the click-stream analytics will further reduce the load with expectation of a significant reduction in bottlenecks.


Lessons Learned

When faced with a lack of sufficient observability understanding how the data flows through the system and how the application expects to access the data is paramount. The approach of having data experts and application experts working together to analyze performance issues proved successful.


About 2nd Watch

Transformation can mean anything. Let’s make it mean something. As a global enterprise tech consultancy, 2nd Watch is focused on our clients’ future. We work alongside them to untangle complex challenges on our way to creating elegant, iterative, and enduring solutions that meet their business objectives. Solutions including Data Center Migration, Cloud Modernization, Data Strategy, Cloud Economics / FinOps, Modern Cloud Operations and Co-Innovation Engineering. We are not here to just solve tech challenges, but to use technology to solve business challenges. Let’s start a conversation.