Run Memcached on Arm servers and measure its performance

Who is this for?

This is an introductory topic for developers who want to use memcached as their in-memory key-value store.

What will you learn?

Upon completion of this Learning Path, you will be able to:

  • Install and run memcached on your Arm-based cloud server
  • Use an open-source benchmark to test memcached performance

Prerequisites

Before starting, you will need the following:

  • An Arm based instance from an appropriate cloud service provider.

Summary

AI-assisted

This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
You’ll deploy and benchmark Memcached on an Arm-based cloud server. First, you’ll provision an Ubuntu instance on AWS Graviton or OCI Ampere Compute, then install libevent, build tools, and the Memcached service. You’ll prepare memtier_benchmark, verify that the service is available, and run a workload to generate performance results. The completed setup gives you a repeatable baseline for testing Memcached on Arm infrastructure.

Frequently asked questions

AI-assisted

These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
Which Linux distribution should I use on the cloud instance?
Use Ubuntu Linux because the package installation commands use apt.
Do I need a specific cloud provider or instance type?
Use an Arm-based Amazon EC2 or OCI Ampere Compute instance.
Which packages must be installed before running the benchmark tool?
Install libevent and the packages required by memtier_benchmark.
How should I interpret the aggregated benchmark results?
Use Ops/sec to compare operation rates and Hits/sec and Misses/sec to review cache results. Check the average, p50, p99, and p99.9 latency columns to understand response-time distribution, and use KB/sec to compare data throughput.
Can I install Memcached without building it from source?
Yes. Run sudo apt install memcached -y, then start the service with sudo systemctl start memcached.
Next