Couchbase logo

Couchbase Reduces Latency by 80% for Its Distributed Database Solutions Using AWS Local Zones

2022

Software company Couchbase serves enterprises across a wide variety of industries with its flexible distributed NoSQL database solutions, which its customers use to process big data, run their most important business applications, and achieve low latency. Distributed databases require edge compute to optimize performance, so companies had to manage their own data centers, on premises or in a colocation, to access Couchbase’s distributed databases with low latency. This model had physical limitations in addition to being cost prohibitive, time consuming, and operationally complex. 

Many of Couchbase’s customers already used Amazon Web Services (AWS) to build and manage applications in their portfolios. When AWS introduced AWS Local Zones, which place compute and storage closer to users, Couchbase saw the new deployment method as an excellent alternative for its customers to build applications using its distributed database solutions while reducing latency. One of the factors that impacts latency is the physical distance between cloud infrastructure and applications, and Local Zones extend compute infrastructure to large metropolitan areas from AWS Regions. In a series of performance tests, Couchbase was able to reduce latency for its distributed database solutions by 80 percent using Local Zones. Now, the company can lower the barrier to entry for edge computing for its customers and enhance the performance of their applications.

Programmer working in a software development and coding technologies. Website design. Technology concept.
kr_quotemark

What excites us most about AWS Local Zones is how easy it makes it to get the advantages of edge computing.”

Wayne Carter
Vice President of Engineering, Couchbase

 

 

Using AWS to Facilitate Hyperfast Responsiveness

Founded in 2011, Couchbase’s mission is to empower enterprises to develop, deploy, and run mission-critical applications anywhere by delivering a high-performance, flexible, and scalable modern database. Its NoSQL database solutions combine the processing of key-value information in memory with the distributed storage of JSON document data without schemas. With five corporate offices across three countries, Couchbase serves enterprises of all sizes, including Emirates Airline, Tommy Hilfiger, SyncThink, LinkedIn, and Marriott Hotels. 

Because hyperfast responsiveness is integral to Couchbase’s value proposition, the company relies on edge computing to deliver its solution to customers. This type of computing delivers data processing, analysis, and storage close to its customers’ endpoints. However, to support edge computing, its customers had to run their workloads in either independent or colocation data centers near their data sources. “One of the hardest things about taking advantage of edge computing is that it’s highly distributed,” says Wayne Carter, vice president of engineering at Couchbase. “Prior to the release of AWS Local Zones, the way you did edge computing was to stand up a data center in a metropolitan area. To do that in one metropolitan area is hard enough. Do that across 20 or 30 areas, or do that across multiple continents, and the operational complexity was just so high.” 

In 2020, Couchbase announced that it would offer its software solutions in the AWS Marketplace, which provides customers with the ability to find, test, buy, and deploy software that runs on AWS. Later, AWS began developing Local Zones, and Couchbase decided to become an early adopter of this new solution. “What excites us most about AWS Local Zones is how easy it makes it to get the advantages of edge computing,” says Carter. “Massively high speeds are in reach of any developer.”

Conducting Latency Tests Using AWS Local Zones

Before recommending Local Zones to its customers, Couchbase conducted a series of latency tests. Engineers deployed a simple web application backed by the Couchbase database to an Availability Zone and a Local Zone, then accessed the app from both zones in parallel. Engineers measured and compared the latency on the network and on the database during a full round trip.

Couchbase on AWS Local Zones - Latency Test Architecture

The company measured three factors: the total time on the server to process the request, database time on server, and total round-trip time from client to server to client. Throughout the process of testing Local Zones, Couchbase received support from the AWS team. “Our customers care about speed and reliability,” says Carter. “They look to us to advise them on solutions, so we were working with the AWS team to make sure that we were using AWS Local Zones correctly.” 

During this process, Couchbase built on its use of Amazon Elastic Compute Cloud (Amazon EC2), which provides secure and resizable compute capacity for virtually any workload. In addition to deploying applications using Availability Zones, the company can deploy Amazon EC2 instances in Local Zones, helping its customers run their database solutions closer to their endpoints and enhancing the performance of their business applications. After running hundreds of iterations of its latency test, Couchbase experienced an average of 80 percent reduction in latency once it switched to Local Zones for certain use cases. “AWS Local Zones integrate with ease into our customers’ use of AWS,” Carter says. “They’re able to gain those higher speeds without having to take on additional operational complexity.” 

Now, Couchbase can deliver its NoSQL database solutions without requiring its customers to set up and manage on-premises data centers. Using Local Zones, Couchbase’s customers can run all of their infrastructure in the cloud, including edge workloads, which makes managing their compute resources simpler. Moreover, because AWS offers pay-as-you-go pricing, Couchbase’s customers can increase their cost savings by moving away from a hybrid infrastructure model. As a result of helping its customers optimize their resources, the company has lowered the barrier to entry for adopting its database solutions. Local Zones help Couchbase’s broader business strategy to facilitate edge computing for its customers, including large enterprises and small startups. “We’re seeing an increase in customers using edge computing because it’s so much easier,” says Carter. “They don’t have to manage the largely distributed data centers that they would have to do if this service wasn’t available.”

Expanding Edge Computing Using AWS

Couchbase is looking to grow its use of Local Zones globally as it proceeds with an international expansion that will offer its low-latency database services to an even broader range of customers. Additionally, the company is looking into other AWS services that can enhance the performance of its database solutions, including the AWS Snow Family, which provides highly secure, portable devices that can collect and process data at the edge and migrate data into and out of AWS. “We really like the breadth of edge computing solutions that come from AWS,” says Carter. “We are excited to try more AWS services and see how we can further decrease compute costs and move to even smaller form-factor edge computing devices.”


About Couchbase

Founded in 2011, Couchbase’s mission is to empower enterprises to develop, deploy, and run mission-critical applications anywhere by delivering a high-performance, flexible, and scalable modern database.

Benefits of AWS

  • Reduced latency of web services by 80%
  • Lowered barrier to entry for its distributed NoSQL database solutions
  • Improved its business strategy for edge computing
  • Simplified running infrastructure in the cloud for its customers
  • Decreased compute costs for customers

AWS Services Used

AWS Local Zones

AWS Local Zones are a type of infrastructure deployment that places compute, storage, database, and other select AWS services close to large population and industry centers.

Learn more »

Amazon Elastic Cloud Compute (EC2)

Amazon Elastic Compute Cloud (Amazon EC2) offers the broadest and deepest compute platform, with over 500 instances and choice of the latest processor, storage, networking, operating system, and purchase model to help you best match the needs of your workload. We are the first major cloud provider that supports Intel, AMD, and Arm processors, the only cloud with on-demand EC2 Mac instances, and the only cloud with 400 Gbps Ethernet networking.

Learn more »


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.