Jan23

How to Save Money Running Scylla on the Cloud

Subscribe to Our Blog

Many organizations are running their workloads on public cloud providers such as Amazon Web Services and enjoy the benefits of easy deployments. While it is arguable that running workloads on the public cloud is cheaper than on-prem, organizations may still run into situations where they are paying too much when services are deployed in different geographical regions.

Let’s look at running two Scylla clusters in a multi-datacenter configuration on AWS as an example. One data center is in the US and the other is in Asia. The deployment consists of multiple nodes that send data back and forth over the public network. The organization charges for the amount of data transferred, and, over time, data transfer costs can be a significant part of the yearly bill.

Scylla’s architecture helps reduce network charges

During the installation phase, users define discovery engines called snitches. Snitches inform Scylla about the network topology, which efficiently routes requests and allows Scylla to distribute replicas by grouping machines into data centers and racks. Scylla supports Ec2MultiRegionSnitch, a snitch built for AWS cloud-based, multi-data-center deployments.

When enabled, Scylla maps the region name datacenter and the availability zone as the name of the rack. For traffic in the same AWS region or datacenter, Scylla makes sure replicas in the local datacenter provide the needed information without “going over the pond” to get the information. This snitch reduces the network traffic between geographical regions which results in huge cost savings. Without Ec2MultiRegionSnitch, organizations might be transferring ⅔ of their data over the wire and increasing their costs without gaining any resiliency benefits. An additional cost-saving tip is inter-node compression. If enabled, inter-node compression compresses network traffic between the nodes.

You can view the video above or entire presentation below to learn more about how this works from our talk at Scylla Summit 2017:

Want to test Scylla’s performance yourself? You can take Scylla for a test drive for free. Our Test Drive lets you quickly spin-up a running cluster of Scylla to see for yourself how it performs.

 


Tags: AWS, deployment, multi-dc