Amazon ElastiCache Serverless | Amazon Web Services
Key Takeaways
Amazon ElastiCache Serverless provides high availability, scales to meet workload demands, and eliminates capacity planning and infrastructure management for teams, with compatibility with memcached, Redis OSS, and Redis Labs, and uses bursting techniques to rapidly respond to additional workload demands, demonstrated through a brief Valkyrie integration and performance testing with JMeter
Full Transcript
Hello and welcome to this short snackable video on Amazon Elasticash Serless. My name is Paul. I'm a specialist solutions architect for in-memory databases on AWS. Let's get started. Okay, we'll start by exploring some typical challenges you might encounter with caching solutions, both self-managed options and when using nodebased Elasticash clusters. Then we'll introduce Amazon Elasticash serverless. We'll go over features and benefits. We'll learn how the service provides high availability and how it scales to meet workload demands. Then we'll see how this all comes together in a short demonstration. Finally, we'll explore the pricing model. When teams build their own caching solutions from scratch, they take on significant operational challenges. This means managing all the infrastructure themselves, building monitoring systems, and handling complex tasks like scaling and failover. They're also responsible for capacity planning, security updates, and regular maintenance, all of which require specialized expertise, and considerable time investment. Elastic nodebased clusters provide teams with a proven, reliable caching solution that eliminates many operational headaches. While you'll still make key decisions about node types and scaling to match your workload needs, AWS handles the complex infrastructure management for you. Like any provision service, you'll need to carefully balance capacity. Overprovisioning means paying for unused resources while underprovisioning could impact application performance. You maintain control over important aspects like maintenance, scheduling, and configuration settings, allowing you to optimize your cache environment for both cost and performance. This balance of control and automation makes node-based elastic clusters an excellent choice for many teams. Though for those seeking to eliminate capacity planning altogether, there is an even more automated option available. Amazon Elasticache serverless allows you to create a cache in under a minute and instantly scale capacity based on application traffic patterns. The service is compatible with memcachd reddis oss and valky and is highly available by default. Let's look at the features and benefits in more detail. Creating an elastic cluster on AWS has never been easier. It literally takes a minute. There's no capacity management to worry about. And as you'd expect, the service is fast. It provides microscond response times for your applications. Let's look at how Amazon Elastic Serverless simplifies the developer experience. Everything starts with a single end point. Developers can focus purely on writing code while the service handles all the underlying complexities. Operations teams can rest easy knowing that multi-AZ replication automatically ensures high availability. Software updates and minor version upgrades are managed automatically, eliminating another operational burden. The scaling is equally seamless. The service uses bursting techniques to rapidly respond to additional workload demands. And as your data grows or your workload changes, the service automatically adjusts capacity by adding or removing shards, all without any manual intervention. Let's consider the architecture in more detail. The service delivers a seamless caching experience capable of handling millions of requests per second with submillisecond latency. Let me explain how it works. At its core is an innovative proxy layer built using Rust for optimal performance and security. Your application connects through a single endpoint to the service VPC where the proxy intelligently manages all traffic. The architecture has been designed to span multiple availability zones using smart routting through route 53 and a network load balancer to maintain ultra low latency. How has Elasticash serverless been optimized to scale quickly and efficiently? Firstly, highfrequency polling. These systems check each shard every few seconds, ensuring real-time responsiveness rather than relying on delayed metrics. The service also makes use of warm compute pools, preconfigured nodes with all the necessary software installed, ready to join the cluster instantly when needed. This dramatically reduces scaling response time. Heat management is an intelligent approach that triggers scaling actions during peak pressure periods. And finally, optimized slot migration enables the transfer of millions of keys quickly and atomically all while maintaining normal operations. The service employs a dynamic resource management approach, moving away from fixed memory and CPU allocations. The key to this efficiency is intelligent overs subscription, allocating resources based on actual usage patterns rather than peak capacity requirements since most tenants rarely need their maximum allocation simultaneously. This innovative approach enables instant scaling in both directions. When workloads demand more resources, the system immediately provides extra memory, CPU, and network bandwidth. It starts with vertical scaling for an immediate response, followed by horizontal scaling as needed. The platform continuously monitors resource utilization, ensuring optimal performance while maintaining cost efficiency. For horizontal scaling, there are three key stages: detection, provisioning, and data rebalancing. Detection occurs within seconds to meet immediate workload demands. The service also employs predictive scaling, analyzing usage patterns to anticipate resource needs in the coming minutes. This proactive approach ensures smooth handling of sudden traffic spikes. Provisioning is remarkably fast, taking just a minute through the use of warm pools. These are preconfigured cache servers ready to deploy instantly. This allows the service to rapidly expand cluster capacity when needed. Let's look at how Elasticash serverless handles data rebalancing during scaling operations. The service performs parallel slot rebalancing, enabling rapid cluster expansion. It continuously monitors usage at the slot level, identifying hot slots that require attention and intelligently redistributes data to maintain balanced load across all shards. The system uses advanced batching mechanisms and optimize network buffers to efficiently transfer data between shards. This sophisticated approach enables the service to double cluster capacity in minutes while maintaining consistent performance all without any operational overhead for your team. Balky is an open- source high performance key value data store. The project is backed by the Linux Foundation ensuring it will remain open source forever. Elasticash serverless with Valky 8 brings remarkable scaling improvements. The service now scales from zero to 5 million requests per second in under 13 minutes, doubling capacity every 2 to 3 minutes. We've covered a lot of theory about Elasticash serverless. So now let's put it into action with a real world demonstration. I've built a simple weather application with a NodeJS backend that uses bulky glide. The application sits on compute instances behind an application load balancer and all the weather data is stored in elasticashe serverless for valky. First I'll show you the application and a typical API response. Then we'll conduct some load testing to see elasticasheach serverless in action as we scale up the traffic. Let's look at our weather application which displays a 7-day forecast interface. This demo showcases how Elasticash serverless with Valky delivers real-time data through API integration. The application responds instantly to user interactions, whether browsing different cities or refreshing forecasts. Behind the scenes, each forecast day corresponds to a unique key stored in Valky, ensuring efficient data organization and retrieval. We've included weather data for 1,00 different cities. The forecast is machine generated for demonstration purposes. Our focus here is on testing performance capabilities, leveraging features like pipelining and read from replica to maximize throughput. Looking at the API response, we can see weather data for London covering a 7-day forecast. Each element in the forecast array comes from a pipelineed request. The service executes eight get operations, one for each day, plus additional metadata using pipeline mode with read from replica enabled. And the performance is excellent. The entire operation between the web server and the cache completes in just 1 millisecond, demonstrating the exceptional speed of Elasticash serverless when using Valky. Let's look at our load testing results. Running two JMeter tests simultaneously, we achieved excellent performance metrics. The first test delivered 38,000 API requests per second with an average response time of just 7 milliseconds. To simulate a burst in traffic, the second test added another 30,000 requests per second, bringing our total throughput to just under 70,000 API requests per second. Since each request performs multiple cache operations at peak, this translates into nearly half a million cache operations per second with approximately 30 million operations per minute visible in Cloudatch. Let's examine these performance graphs. You can see the clear spike in traffic when we launch the second test. What's particularly impressive is the consistency in latency under 500 microsconds even as the load increases. And here's the key takeaway. With Elastic Serverless able to scale from zero to 5 million requests per second in minutes, you can be confident that caching won't be your performance bottleneck. Now, let's move on to the pricing model. With Elasticash serverless, you pay for data stored in gigabyte hours and the compute used by your application workload in Elasticash processing units, otherwise known as eCPUs. Amazon Elastic for Valkyrie starts as low as $6 a month on serverless and offers a 33% saving compared to other supported engines. ECPUs are a unit that includes both vCPU time and data transferred. Reads and writes require one eCPU for each kilobyte of data transferred. For example, a get command that transfers 3.2 kilob of data will consume 3.2 two eCPUs. Commands that require additional virtual CPU time or transfer more than 1 kilobyte of data will consume proportionately more eCPUs. If you'd like to learn more about Elasticash, follow the links on screen. Thank you for joining me in exploring how Elasticash serverless simplifies caching while delivering enterprisegrade performance and reliability.
Original Description
Curious about serverless caching on AWS? This short video on Amazon ElastiCache Serverless for Valkey covers the key benefits of serverless caching, explores the scalable architecture, and shows the solution in action through a brief demonstration. Perfect for developers and architects looking to optimize performance with zero infrastructure management.
Learn more about Amazon ElastiCache resources: https://go.aws/47D1x8h
Subscribe to AWS: https://go.aws/subscribe
Create a free AWS account: https://go.aws/signup
Try AWS for free: https://go.aws/free
Connect with an expert: https://go.aws/contact
Explore more: https://go.aws/more
Next steps:
Explore on AWS in Analyst Research: https://go.aws/reports
Discover, deploy, and manage software that runs on AWS: https://go.aws/marketplace
Join the AWS Partner Network: https://go.aws/partners
Learn more on how Amazon builds and operates software: https://go.aws/library
Do you have technical AWS questions?
Ask the community of experts on AWS re:Post: https://go.aws/3lPaoPb
Why AWS?
Amazon Web Services is the world’s most comprehensive and broadly adopted cloud, enabling customers to build anything they can imagine. We offer the greatest choice of innovative cloud capabilities and expertise, on the most extensive global infrastructure with industry-leading security, reliability, and performance.
#elasticache #serverless #valkey #AWS #AmazonWebServices #CloudComputing
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Amazon Web Services · Amazon Web Services · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Agentic AI Design Patterns Introduction and walkthrough | Amazon Web Services
Amazon Web Services
Galileo on modernizing on banking infrastructure | Amazon Web Services
Amazon Web Services
Alliander Speeds Innovation and Energy Transition Using AWS | Amazon Web Services
Amazon Web Services
AWS and Scuderia Ferrari HP streamline F1 power unit assembly | Amazon Web Services
Amazon Web Services
How AWS machine learning supports Scuderia Ferrari HP pit stops | Amazon Web Services
Amazon Web Services
Nasdaq Builds Market Infrastructure of the Future with AWS | Amazon Web Services
Amazon Web Services
AWS Security Hub Exposure Findings | Amazon Web Services
Amazon Web Services
How do I use Session Manager port forwarding to connect to my EC2 instance through RDP?
Amazon Web Services
How do I extend an EBS volume with LVM partitions?
Amazon Web Services
AWS Graviton makes it easy to optimize performance, cost, and sustainability | Amazon Web Services
Amazon Web Services
Run Cloud Adoption Framework workshops with Miro | Amazon Web Services
Amazon Web Services
Getting Started with AWS Cost Optimization Hub | Amazon Web Services
Amazon Web Services
Why did my Amazon SQS messages get sent to a dead-letter queue?
Amazon Web Services
Declarative Policies for EC2 | Amazon Web Services
Amazon Web Services
How do I troubleshoot IAM permission issues for the Billing and Cost Management console?
Amazon Web Services
Integrity at Scale: Inside the Flo Health Mission | Amazon Web Services
Amazon Web Services
Fueling Success: Small shifts, powerful performance | Amazon Web Services
Amazon Web Services
WEX enhances customer experience with AI-powered chatbot | Amazon Web Services
Amazon Web Services
Accelerate troubleshooting with Amazon CloudWatch investigations | Amazon Web Services
Amazon Web Services
Why is my Windows WorkSpace stuck in the starting, rebooting, or stopping status?
Amazon Web Services
Telemetry Pipelines for AI | Amazon Web Services
Amazon Web Services
Getting Control over Security and Observability Data | Amazon Web Services
Amazon Web Services
The Problem with Telemetry Data Volume | Amazon Web Services
Amazon Web Services
Telemetry Pipelines on AWS | Amazon Web Services
Amazon Web Services
What are Telemetry Pipelines? | Amazon Web Services
Amazon Web Services
Using AI for RegEx on Telemetry Pipelines | Amazon Web Services
Amazon Web Services
Multi-Session Support in the AWS Console | Amazon Web Services
Amazon Web Services
How CloudHedge delivers assessment with AWS ISV Tooling Program at no cost?
Amazon Web Services
How customers speed up migration and modernization to AWS with CloudHedge | Amazon Web Services
Amazon Web Services
Chaos Experiment with Amazon ElastiCache | Amazon Web Services
Amazon Web Services
Amazon S3 Access Points: Easily manage access for shared datasets on S3 | Amazon Web Services
Amazon Web Services
ElastiCache Valkey 8.0 - Savings and Efficiency | Amazon Web Services
Amazon Web Services
Pennymac scales document processing with AWS | Amazon Web Services
Amazon Web Services
AWS | Next Level Innovation | Amazon Web Services
Amazon Web Services
Driving Cloud Innovation: Mindtickle's Partnership with AWS Enterprise Support | Amazon Web Services
Amazon Web Services
A Leader's Edge from Executive Insights | Amazon Web Services
Amazon Web Services
How do I create a custom Amazon WorkSpaces image?
Amazon Web Services
Charles Leclerc tests his AI-generated race track | Amazon Web Services
Amazon Web Services
Redington Scales India’s Cloud Access with AWS Partnership | Amazon Web Services
Amazon Web Services
How do I prevent the resources in my CloudFormation stack from getting deleted or updated?
Amazon Web Services
How do I troubleshoot authentication errors when I use RDP to connect to an EC2 Windows instance?
Amazon Web Services
Exploring the Possibilities of Digital Twin & AI at the Edge | Amazon Web Services
Amazon Web Services
Exploring the Possibilities of Digital Twin & AI at the Edge | Amazon Web Services
Amazon Web Services
AWS at the FORMULA 1 AWS GRAN PREMIO DELL'EMILIA-ROMAGNA 2025 | Amazon Web Services
Amazon Web Services
What's new in RCPs | Amazon Web Services
Amazon Web Services
API Caching using Amazon ElastiCache | Amazon Web Services
Amazon Web Services
Pendula: Amazon Nova Customer Testimonial | Amazon Web Services
Amazon Web Services
InDebted : Amazon Nova Customer Testimonial | Amazon Web Services
Amazon Web Services
Amazon DynamoDB global tables with multi-Region strong consistency | Amazon Web Services
Amazon Web Services
Siemens Mobility uses AWS to operate securely, efficiently on a global scale | Amazon Web Services
Amazon Web Services
How do I reuse a knowledge base session in Amazon Bedrock?
Amazon Web Services
EP5: MBZUAI, CMU : Causal AI, Answering The “Why“ and “What if“ Questions | AWS for AI Podcast
Amazon Web Services
Hema scales time to market developing a data mesh on AWS (Technical) - Cloud Adventures
Amazon Web Services
Hema scales time to market developing a data mesh on AWS (Business) - Cloud Adventures
Amazon Web Services
How Langfuse Scaled Their AI Platform with AWS: From Open-Source to Enterprise | Amazon Web Services
Amazon Web Services
SLMs and LLMs: What’s the Difference? | Amazon Web Services
Amazon Web Services
SLMs and LLMs: When to use them? | Amazon Web Services
Amazon Web Services
SLMs on CPU | Amazon Web Services
Amazon Web Services
Intelligent Model Routing | Amazon Web Services
Amazon Web Services
SLMs, LLMs, and Model Routing in Agents | Amazon Web Services
Amazon Web Services
More on: AI Systems Design
View skill →Related Reads
📰
📰
📰
📰
Unlocking Modern Development: How the Odin Programming Language is Redefining Systems-Level App Innovation
Dev.to · Tamiz Uddin
Every System Design Interview Is Secretly About These 16 Companies.
Medium · Programming
Skill Bodies Should Load on Demand
Dev.to · Manuel Bruña
Server Components vs Client Components: The Mental Model Shift Every Vite Developer Needs
Dev.to · Digital dev
🎓
Tutor Explanation
DeepCamp AI