Building a Cross-platform In-app Messaging Orchestration Service

George Abraham, Devika Chawla, Chris Beaumont, and Daniel Huang.

Netflix Technology Blog
10 min readintermediate
--
View Original

Overview

The article discusses the development of a cross-platform in-app messaging orchestration service at Netflix, focusing on the evolution of messaging from the website to a dedicated service that enhances user experience. It outlines the architecture, goals, challenges, and successes of implementing this service, particularly in managing alerts and notifications effectively across various platforms.

What You'll Learn

1

How to implement a cross-platform in-app messaging service

2

Why orchestration of messaging improves user experience

3

When to apply different messaging strategies based on user interaction

Prerequisites & Requirements

  • Understanding of messaging systems and user interface design
  • Experience with Java and AWS services(optional)

Key Questions Answered

What are the primary goals of Netflix's in-app messaging service?
The primary goals include supporting in-app Alert messaging in the new architecture, transferring business logic for messaging orchestration from the UI tier to the messaging service, enabling cross-platform messaging, and minimizing time spent on running and productizing messaging A/B tests.
How does Netflix's messaging architecture handle message delivery?
The messaging architecture consumes events, transforms them into messages, and routes them to either external delivery services or in-app services. For external channels, messages are created by calling other Netflix services, while in-app messages are validated and delivered when a customer logs into the app.
What challenges did Netflix face in developing the in-app messaging service?
Challenges included a lack of knowledge about UI platforms among messaging engineers, difficulties in test automation, and issues with localization quality control. These challenges were addressed through learning about platform nuances, investing in test automation, and developing workflows for localization.
What wins has Netflix achieved with the in-app messaging service?
The service has enabled more A/B tests, reduced development time for messaging experiments, and allowed for cross-platform messaging experiences. This integration has improved the ability to run omnichannel messaging tests and manage user interactions effectively.

Technologies & Tools

Some links below are affiliate links. We may earn a commission if you make a purchase.

Key Actionable Insights

1
Implement a unified messaging payload contract across platforms to streamline development.
By using a common JSON structure for alerts, teams can avoid the inefficiencies of creating custom payloads for each platform, thus enhancing development speed and reducing errors.
2
Leverage user interaction data to optimize messaging strategies.
Utilizing feedback from user interactions allows for adaptive messaging that can improve engagement and reduce redundancy in alerts, enhancing the overall user experience.
3
Invest in test automation to improve the efficiency of validating messaging features.
Automating tests can significantly reduce the time required for validating changes, allowing teams to focus on innovation rather than manual testing.

Common Pitfalls

1
Assuming that all UI platforms can handle messaging in the same way can lead to integration issues.
Each platform has unique characteristics and requirements, so it's essential to tailor the messaging approach to fit the specific needs of each platform.
2
Neglecting the importance of localization can result in poor user experiences.
Without proper localization processes, messages may not resonate with users in different regions, leading to misunderstandings and reduced engagement.

Related Concepts

Cross-platform Development
User Experience Design
Messaging Systems Architecture