Customer Stories / Automotive / Global

2023
WirelessCar Logo

WirelessCar Achieves 10x Faster Startup Performance Using AWS Lambda SnapStart for Java

Learn how connected mobility provider WirelessCar enhanced startup performance using AWS Lambda SnapStart for Java.

90% reduction

in initialization duration

10x faster

startup performance

Implemented seamlessly

with virtually no downtime

Improves

the user experience

Overview

As an innovator in digital vehicle services, WirelessCar has a vision to bring connected mobility to everyone. Since 2014, the company has relied on Amazon Web Services (AWS) to drive its mission forward. As an advanced user of AWS, WirelessCar has adopted a range of serverless solutions—particularly AWS Lambda, an event-driven compute service—to underpin the technology behind its connected mobility products.

Like many organizations that take advantage of serverless technologies, WirelessCar faced the challenge of cold starts, which can result in delays that negatively impact the user experience. To address this issue, WirelessCar adopted AWS Lambda SnapStart for Java (Lambda SnapStart), a new AWS offering that can help improve startup performance for latency-sensitive applications by up to 10 times at no extra cost.

By embracing this feature, different teams within WirelessCar either reduced or removed cold starts within their environments. These changes improved the company’s agility and performance at no extra cost, providing a faster, more seamless experience for drivers around the world.

WirelessCar employee at computer

Opportunity | Using AWS Lambda SnapStart for Java to Remove Cold Starts for WirelessCar

Founded in 1999, WirelessCar designs, develops, and operates connected car services for major car manufacturers. Its offerings include call center services, subscription management, and smart routing for electric vehicles. WirelessCar’s digital footprint is massive: the company’s services are used in more than 10 million cars in over 100 markets worldwide.

In an industry where instant connectivity and prompt responses are expectations rather than benefits, cold starts—the delay experienced when a serverless function handles its first request after a period of unuse—can have a major impact on the user experience. When Lambda SnapStart was announced, teams within WirelessCar realized its potential to improve startup performance.

“With Lambda SnapStart, you can take a snapshot from an already-initiated version of an AWS Lambda function to start it again,” says Fredrik Werna, developer for the Master Data team at WirelessCar. “You don’t have to spin everything up for the function to work, and therefore, you can save a lot of time.”

kr_quotemark

Before we implemented AWS Lambda SnapStart for Java, we had an initialization duration of approximately 4 seconds. Now, it’s 0.4 seconds.”

Fredrik Werna
Developer for the Master Data team, WirelessCar

Solution | Reducing Initialization Duration by 90% without Increasing Costs

Within WirelessCar, the Master Data team was one of the first to implement Lambda SnapStart. This team manages a downstream backend service that ingests calls coming from its connected vehicle services and relies heavily on AWS Lambda functions. In March 2023, the Master Data team started a proof of concept (POC) to assess the performance of Lambda SnapStart within its environment.

The implementation process was simple; the service is fully managed and does not require significant setup or configuration time. The Master Data team needed to make only minor edits to templates in AWS CloudFormation, a service that lets developers model, provision, and manage AWS and third-party resources by treating infrastructure as code, to start running the POC. “We didn’t need any AWS support,” says Werna. “Because of the comprehensive guidelines, the implementation process for Lambda SnapStart was smooth and efficient.”

The POC’s results were promising. After evaluating a group of AWS Lambda functions, the Master Data team saw a 90 percent reduction in initialization duration. This amounts to a 10-times improvement in startup performance. “Before we implemented AWS Lambda SnapStart for Java, we had an initialization duration of approximately 4 seconds,” says Werna. “Now, it’s 0.4 seconds. The POC results made us very confident, so we implemented the feature in the rest of our production environment.”

The Master Data team now uses Lambda SnapStart for all 134 AWS Lambda functions in Europe and 121 functions in North America. Although the feature is not yet available in China, the team was able to implement conditions within its AWS CloudFormation templates to continue to deploy its AWS Lambda functions in that region. All in all, it deployed Lambda SnapStart with virtually no service interruptions or downtime.

After the Master Data team’s implementation, many other groups across WirelessCar adopted the feature to support their individual use cases. They enjoyed equally smooth implementation and performance benefits without incurring any extra costs; one team saw a 2-second reduction in cold-start times. “Implementing Lambda SnapStart was like flipping a switch,” says Anders Hultstein, enterprise architect at WirelessCar.

Outcome | Enhancing Startup Performance for Seamless Vehicle Connectivity

For the teams who adopted Lambda SnapStart, the duration of cold starts has either been significantly reduced, or the problem has been removed. The teams that implemented the feature also improved latency for APIs hosted on Amazon API Gateway, a fully managed service to create, maintain, and secure APIs at nearly any scale. WirelessCar’s next step is to implement Lambda SnapStart when it becomes available in China.

Using AWS services, particularly AWS Lambda, WirelessCar can maintain a high level of performance for its connected vehicle services and provide the best possible driver experience. “On AWS, we’ve been building big things very quickly with good quality, good resilience, and good scalability,” says Hultstein. “We’ve learned how to use AWS Lambda to get the most benefits from it, and we’re happy that AWS is continuing to invest in and host this functionality.”

About WirelessCar

WirelessCar is a leading provider of digital vehicle services headquartered in Sweden. Founded in 1999, the company has connected more than 10 million vehicles in over 100 countries.

AWS Services Used

AWS Lambda

AWS Lambda is a serverless, event-driven compute service that lets you run code for virtually any type of application or backend service without provisioning or managing servers.

Learn more »

Amazon API Gateway

Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale.

Learn more »

AWS CloudFormation

AWS CloudFormation lets you model, provision, and manage AWS and third-party resources by treating infrastructure as code.

Learn more »

More Automotive Customer Stories

no items found 

1

Get Started

Organizations of all sizes across all industries are transforming their businesses and delivering on their missions every day using AWS. Contact our experts and start your own AWS journey today.