5 reactive microservices use cases that power business innovation
Introduction
No matter what industry you’re in, business innovation now depends on your company’s ability to build digital services and software more quickly and at higher quality—and to deliver those applications and services reliably at scale. However, simply “lifting and shifting” your software to cloud native infrastructure (i.e., Kubernetes and its ecosystems of tools) is not enough. This approach will not deliver new applications fast enough or achieve the necessary cadence of new features and improvements without negatively impacting your organization’s KPIs.
Reactive microservices are an innovative and resource-efficient way to design software systems. Built on Reactive Principles, they take the complexity out of developing cloud native applications while unleashing the full power of microservices in the cloud. Reactive microservices handle the application layer of cloud native applications by implementing an enterprise-grade microservices architecture—or an architecture that meets the challenges of demanding distributed workloads.
Transformation takes thoughtful strategy with specific business impact in mind. Knowing what business use cases other companies are putting into best practice is a great way to start envisioning—and enabling—your own shift to Reactive microservices.
Read on to discover five of the top use cases Akka has witnessed, with real-world customer examples and insights into how your organization can make the leap.
1. Real-time financial processes
Batch-oriented, big data solutions — such as Hadoop — are effective at processing a lot of data using popular machine learning algorithms. However, the results are usually stale by hours or even days. These solutions lack an ability to harness big data and process it at high speeds as the data is being generated or entering an ecosystem — what is referred to as streaming data.
Streaming data applications often run forever and process a never-ending amount of data. As a result, they require even higher levels of resilience, elasticity, and availability that only reactive microservices can provide. Reactive microservices play an important role in laying a strong foundation for real-time financial processes. And even better, this system architecture allows Financial Services companies to retain current customers, attract the next generation of clients, maximize the retained value of relationships, and effectively manage risk.
A large bank optimizes the best auto loans for customers in record time
As a major provider of auto loans in the United States, Capital One wanted to upgrade their auto loan system to provide accurate decisions in real-time while improving the overall car shopping experience for customers. Another major goal for the company was to simplify the car shopping process by allowing customers to find, finance, and fulfill their next car purchase with ease, convenience, and confidence.
Driving Capital One’s new auto loan system are Reactive microservices powered by Akka. The results?
- The architecture can now run complex applications supporting up to 16 simultaneous users at 180 to 200 millisecond response times, delivering new features more quickly with fewer failures
- With Reactive microservices as the foundation, the architecture can process 486 applications a minute compared to at most 100 on a cluster of servers before
- This new system can handle a computing task that normally takes 55 hours in just under one second— with 24/7 availability at massive scale
"No one likes waiting, especially for loan approvals. So when my team needed to upgrade our auto financing loan origination systems for real-time decision making at high scale, we brought in Akka to create a brand new customer experience."
— Fred Crable, Senior Director of Software Development, Capital One
2. Modern eCommerce
Consumers demand to seamlessly transact anywhere, anytime, on any client. Every sale is the culmination of potentially dozens of interactions with a consumer. Today, smartphones alone influence 84% of millennials’ purchases. Digital touchpoints impact 56% of all purchases. Selling something to an end consumer is far more complicated than it used to be, even just 10 years ago. Consumers are firmly in charge and expect to make purchases on their terms.
Reactive microservices can deliver the highperformance, scalability, and resilience required to meet today’s demanding eCommerce platforms head-on. This system architecture allows companies to:
- Deliver new features to market faster
- Scale a platform up and down predictably and elastically on-demand, across cores, nodes, and clusters
- Create entire systems of microservices that are responsive and message-driven
A major telco doubles overall business and performance results using half the hardware
For more than a decade, Verizon had to recreate their entire eCommerce site in parallel with a special light code base that disabled logging, removed all complex transaction requirements, and was subjected to massive load testing. This bespoke web site only ran in production for a few days each year, even though it took more than six months to create.
Verizon decided to revamp this legacy site to meet growing customer demand after experiencing regular outages during high-load events, such as iPhone launches and Black Friday sales promotions. Using Akka, the company built Reactive microservices that achieved results twice as fast as their original platform by:
- Increasing developer productivity so that build times used 50% less developer effort
- Decreasing infrastructure resources so that total hardware use was cut in half
- Accelerating time to value which led to a 235% increase in sales, while customer conversion rates jumped up 197%, reducing customer response times by half
“Akka is absolutely phenomenal. The performance and user experience benefits generated by the implementation of Reactive systems was so impressive that it’s now being considered for adoption by other business units within Verizon."
— Neeraj Garg, Director of Billing & Ordering Systems, Verizon
3. Infrastructure optimization
Cloud applications require a different software architecture from what companies have been running on for the past couple decades. Traditional monolithic and batch types of applications are not designed to take advantage of the cloud and are extremely inefficient, resulting in high cloud costs. The same is true for poorly-designed microservices applications.
The long-term impact of running legacy and lift-and-shift applications in cloud environments is cost prohibitive. While it is essential any cloud applications are secure, reliable, and scalable, it is critical these applications are highly efficient to keep costs from running over budget. The only way to ensure business workloads realize cost savings while taking full advantage of a new cloud infrastructure is to design an application architecture containing Reactive microservices, coupled with a flexible orchestration capability using containers and Kubernetes.
An online fantasy sports platform reduces costs to serve fast growing market
Known to amplify fans’ engagement with sports, Dream11 has experienced tremendous growth, from 1 million users in 2014 to over 80 million at the close of 2019. With the majority of user traffic spiking the hour leading up to a real-world event, their original application architecture could no longer process the tens of thousands of users per second requesting to join contests associated with a single event, let alone overlapping events.
After extensive analysis and research, Dream11 decided that Reactive microservices powered by Akka could fulfill all their requirements. Since implementing this architecture, the company has experienced:
- Faster time to value by delivering its new Contest Join application one full month ahead of schedule
- An increase in performance levels to more than 30,000 user joins per second at 150ms latency less than one week after launch—well exceeding original goals
- A 30% reduction in infrastructure costs
- The scalability to grow at any rate of adoption for years to come, while delivering the uninterrupted experience customers expect to receive
“Akka provides a reduction of infrastructure and associated cost savings that enable our teams to place focus on building features that attract new customers and enhance user experiences.”
— Mahesh Jadhav, Software Architect, Dream11
4. Application modernization
Much of the discussion about application modernization is focused on monolithic, on-premises applications—typically updated and maintained using waterfall development processes—and how those applications can be brought into cloud architecture and release patterns, namely microservices.
The key to success with application modernization, like most things, comes down to strategy and picking application modernization projects where the benefits of cloud, speed, performance, scale, and new feature development are ones that offer the given application a clear path to improved customer experience and ROI. Reactive microservices meet these requirements while offering more independence between services, making development cycles more rapid and cost effective.
Hyper-personalized user experiences for a streaming service and its viewers
Partnering with over 250 media companies, Tubi has more than 30,000 movies and TV shows globally. However, as Tubi’s popularity grew, the development team was working around the clock trying to scale the existing systems with more hardware. Simultaneously, the development team was trying to improve the user experience by adding layers of machine learning-driven recommendations to further individualize the customer experience.
Tubi was in search of a single platform that could keep up with the company’s fast pace of innovation and be implemented quickly to keep pace with business goals. They selected Akka to build Reactive microservices that take full advantage of the distributed nature of the cloud, are resilient to failure, automatically scale up and down, and are highly responsive. Outcomes included:
- An increase in development velocity while attaining the expertise, and confidence, to quickly solve complex issues that arise during development
- A better monitoring of services in production and a rich set of metrics used for smart alerting in production systems
- A quick debugging of complex interdependencies in the rare cases that issues do arise
“With Akka, Tubi is now able to deliver a unique level of hyper-personalization that resonates with our viewers’ individual tastes and advertiser solutions needed by the world’s leading brands.
— Mario Assistis, CTO, Tubi
5. Internet of Things (IoT) platforms
For developers, an IoT platform provides a set of ready-to-use features that greatly speed up development of applications for connected devices as well as handle scalability and crossdevice compatibility. Modern IoT platforms go one step further and introduce a variety of valuable features into the hardware and application layers such as real-time analytics, on-device data processing, and cloud-based deployment.
Digital twins — or a comprehensive digital representation of real-world devices and systems — improve state monitoring and enable faster responses to external and internal events. Implementation requires IoT platforms to provide highly-flexible device management capabilities that can cope with any level of sophistication depending on the use case. Digital twins built with Reactive microservices are becoming a key ingredient of every efficient IoT ecosystem.
A storied enterprise IT company delivers customer value faster with real-time insights
Hewlett Packard Enterprise (HPE) has sensors deployed in data centers all around the globe sending trillions of metrics each day to InfoSight, an industry-leading predictive analytics platform providing analytics on petabytes of telemetry data. However, to deliver value faster, InfoSight needed to evolve from its classic batch mode, big data architecture to streaming data.
HPE turned to Akka and Reactive microservices for the elasticity and resilient self healing required to deliver streaming data. The business benefits the company has experienced since implementing the platform include:
- Delivering near real-time insights to customers using data gathered from over 20 billion sensors sending trillions of metrics each day
- Transforming customers’ experience by monitoring infrastructure, predicting possible problems, and recommending ways to enhance performance
- Increasing developer productivity with frameworks for processing continuous application logic
“Akka delivers on the elasticity and resilience we require. When Akka was packaged into a de facto streaming data distribution, it made good business sense to use their platform for the next generation of InfoSight.”
— Jeff Dutton, Data Platform Architect, Hewlett Packard
How reactive microservices drive business value overall
Beyond the specific use cases in this ebook, Reactive microservices offer significant advantages for your IT and development efforts in the cloud, contributing directly to the success of your business.
Reactive microservices unlock new use cases and benefits specific to just about every industry, but a few of the most common are:
- Reducing business risk, accelerating faster time to value, and lowering infrastructure costs
- Giving companies back control over developing business features instead of spending precious time and money writing boilerplate code and building frameworks
- Encouraging reusability and eliminating business function redundancy
Many companies have invested in microservices, but true transformation at hyper scale does not happen without Reactive Principles being core to the way software systems operate, driving strategic initiatives from a centralized architecture.
For more on the journey to Reactive microservices, read: Microservices unleashed: evolving mission-critical applications in the cloud at lower cost, risk, and complexity