Microsecond Latency at Scale: Amazon ElastiCache for Valkey Explained
Key Takeaways
Amazon ElastiCache for Valkey is a high-performance caching layer that handles 500 million requests per second with microsecond latency, supporting both serverless and node-based deployments, with 99.99% availability and automatic scaling.
Full Transcript
during Prime day 2024 Amazon elasticache handled more than a quadrillion requests in a single day with Peak Performance exceeding 1 trillion requests per minute that's the kind of scale that keeps developers up at night hi everyone I'm Brooke today we're diving into Amazon elasticache which recently announced support for valky if you're building high performance applications or dealing with traffic spikes you'll want to pay attention to this let's break down Amazon elastic hash falky into three key areas first up technical specs elastic has for valky supports valky version 7.2 an open- Source high performance key value data store it's important to note that valky is stewarded by the Linux foundation and supported by over 40 companies including AWS now let's talk about what makes elasticas shalk stand out first it supports both serverless and node-based deployments giving you flexibility in your architecture performance-wise it's impressive we're talking about scaling to 500 million requests per second on a single node-based cluster with microsc read and write latency reliability is also a key Focus elastic falky offers 99.99% availability automatic scaling and high availability with multi-az deployments for those of you concerned about Disaster Recovery it also supports cross region replication ensuring business continuity two performance and cost benefits when it comes to Performance and cost elastic has falki brings some significant improvements to the table on the pricing front elastic has servus feli is priced 33% lower than other supported engines if you're looking at node-based clusters you'll see 20% less cost than other supported engines for those of you just starting out or working on smaller projects here's some great news the minimum data storage for serverless is now just 100 megabytes down from 1 gab with redus OS you can get started for as low as $6 per month with serverless three developer experience now let's talk about what this means for you as a developer the good news is that elastic has falky maintains API compatibility with redus OSS in plain English this means your existing code should work without modifications there are a few other developer friendly features worth mentioning first you can migrate from elastic hash for redus OSS with zero downtime AWS has also introduced valky Glide an open- Source client available for Java Python and node.js with go support in the works this client is designed to improve reliability especially during unplanned outages let's walk through setting up and using an elastic cash for valky instance this process involves four main steps first we'll create a serverless cache this command creates a valky compatible cache in your default VPC using the default Security Group it automatically scales based on demand so you don't need to worry about node sizes or cluster configurations next we'll set up an ec2 instance in the same VPC as our cache for this demo we'll assume that's already done three now we need to install and set up the valky CLI utility in our ec2 instance note that we're building with TLS support which is required for elastic hash serverless for valky four finally let's connect to our cache using the valky CLI now that we're connected let's let's create a hash object representing a car and retrieve specific fields and this shows you vy's compatibility with existing reddis OSS commands your current reddis OSS based applications should work without changes elastic valki combines the familiarity of redus OSS with performance improvements that can make a real difference in production environments whether you're handling massive traffic spikes like Prime day or building real-time analytics systems it's worth considering for your caching layup if you're currently using elasticache for Reedus OSS you can upgrade to elasticache for valky with no downtime plus if you're using reserved nodes you'll retain your existing discounted rates across all node sizes within the same family give it a try and let me know in the comments how it performs for your use cases don't forget to like And subscribe and I'll see you next time
Original Description
Ready to enhance your application's caching layer? AWS Senior Developer Advocate Brooke Jamieson introduces Amazon ElastiCache for Valkey in this beginner-friendly guide. Learn about Valkey's impressive performance capabilities, including handling 500 million requests per second with microsecond latency. Go through the basics, from setting up your first ElastiCache for Valkey instance to connecting and performing simple operations with valkey-cli. Discover how Valkey offers cost savings and seamless compatibility with Redis OSS. Perfect for developers looking to get started with high-performance, cost-effective caching on AWS!
Resources:
🌐 Community.AWS Post: https://aws.amazon.com/blogs/database/get-started-with-amazon-elasticache-for-valkey/
📚 Learn more: https://aws.amazon.com/elasticache/
Follow AWS Developers!
📺 Instagram: https://www.instagram.com/awsdevelopers/?hl=en
🆇 X: https://x.com/awsdevelopers
💼 LinkedIn: https://www.linkedin.com/showcase/aws-developers/
👾 Twitch: https://twitch.tv/aws
Follow Brooke!
📺 Instagram: @brooke.bytes
🆇 X: https://x.com/brooke_jamieson
💼 LinkedIn: https://www.linkedin.com/in/brookejamieson
Chapters:
00:00 Introduction to Amazon ElastiCache for Valkey
00:25 Technical Specifications and Performance
01:26 Cost Benefits and Pricing
02:33 Developer Experience and Compatibility
03:12 Setting Up Amazon ElastiCache for Valkey
03:41 Demonstration: Using valkey-cli
04:13 Conclusion
#AmazonElastiCache #Valkey #caching
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from AWS Developers · AWS Developers · 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
Using Microsoft Active Directory across On-premises and Cloud Workloads
AWS Developers
What is Cloud Computing with AWS? | Hebrew Webinar
AWS Developers
Best Practices for Getting Started with AWS | Hebrew Webinar
AWS Developers
Best Practices for Using AWS Identity and Access Management (IAM) Roles
AWS Developers
Building Scalable Web Apps | Hebrew Webinar
AWS Developers
Dev & Test on the AWS Cloud | Hebrew Webinar
AWS Developers
Storage & Backup on AWS | Hebrew webinar
AWS Developers
Disaster Recovery on AWS | Hebrew Webinar
AWS Developers
AWS Israel News | Episode 1
AWS Developers
Security Best Practices on AWS | Hebrew Webinar
AWS Developers
Ready: Introduction to AI on AWS | Hebrew Webinar
AWS Developers
Set: What is ML for developers? | Hebrew Webinar
AWS Developers
Go!: Building your own ChatBot with Amazon Lex | Hebrew Webinar
AWS Developers
And Beyond: Amazon Sagemaker | Hebrew Webinar
AWS Developers
Building API-Driven Microservices with Amazon API Gateway - AWS Online Tech Talks
AWS Developers
Understanding AWS Secrets Manager - AWS Online Tech Talks
AWS Developers
Best Practices for Building Enterprise Grade APIs with Amazon API Gateway - AWS Online Tech Talks
AWS Developers
Build, Train and Deploy Machine Learning Models on AWS with Amazon SageMaker - AWS Online Tech Talks
AWS Developers
AWS Israel News | Episode 2 | re:Invent
AWS Developers
AWS Floor28 News - January
AWS Developers
AWS Floor28 News - February - Hebrew
AWS Developers
AWS Floor28 News - March - Hebrew
AWS Developers
AWS Floor28 News - April - Hebrew
AWS Developers
AWS Floor28 News - May - Hebrew
AWS Developers
Authentication for Your Applications: Getting Started with Amazon Cognito - AWS Online Tech Talks
AWS Developers
AWS Floor28 News - June - Hebrew
AWS Developers
AWS Floor28 News - July - Hebrew
AWS Developers
Enriching your app with Image Recognition and AWS AI Services - AWS Webinar - Hebrew
AWS Developers
Personalize, Forcast, and Textract - AWS Webinar - Hebrew
AWS Developers
Managing Your ML Development Lifecycle with Amazon SageMaker - AWS Webinar - Hebrew
AWS Developers
Running your ML code in Amazon Sagemaker - AWS Webinar - Hebrew
AWS Developers
Get Started in Minutes with Amazon Connect in Your Contact Center - AWS Online Tech Talks
AWS Developers
AWS Floor28 News - August - Hebrew
AWS Developers
AWS Floor28 News - September - Hebrew
AWS Developers
Deep Dive on Amazon EventBridge - AWS Online Tech Talks
AWS Developers
Advanced Serverless Orchestration with AWS Step Functions - AWS Online Tech Talks
AWS Developers
Living on the Edge - an Introduction to Amazon CloudFront and Lambda@Edge - Hebrew Webinar
AWS Developers
AWS Floor28 News - October - Hebrew - YouTube
AWS Developers
What's New with AWS Storage - AWS Online Tech Talks
AWS Developers
How to Build a Compelling Migration Business Case Using TSO Logic - AWS Online Tech Talks
AWS Developers
Configuring and Managing Amazon S3 Replication - AWS Online Tech Talks
AWS Developers
AWS Floor28 News - November - Hebrew
AWS Developers
Using Relational Databases with AWS Lambda - Easy Connection Pooling - AWS Online Tech Talks
AWS Developers
AWS Floor28 News - December 2019 - Hebrew
AWS Developers
AWS Floor28 News - January 2020 - Hebrew
AWS Developers
Top 10 Data Migration Best Practices - AWS Online Tech Talks
AWS Developers
How to Use Azure Active Directory with AWS SSO - AWS Online Tech Talks
AWS Developers
AWS Tips & Tricks - Amazon Redshift Advisor - Hebrew
AWS Developers
AWS Tips & Tricks - Amazon Redshift Elastic Resize - Hebrew
AWS Developers
AWS Tips & Tricks - Amazon Redshift Spectrum - Hebrew
AWS Developers
AWS Tips & Tricks - Savings Plans & Cost Explorer - Hebrew
AWS Developers
AWS Tips & Tricks - Amazon Redshift Concurrency Scaling - Hebrew
AWS Developers
AWS Tips & Tricks - Training Models with Amazon SageMaker - Hebrew
AWS Developers
AWS Tips & Tricks - Auto Model Tuning with Amazon SageMaker - Hebrew
AWS Developers
AWS Tips & Tricks - Amazon Comprehend - Hebrew
AWS Developers
Understanding High Availability and Disaster Recovery Features for Amazon RDS for Oracle
AWS Developers
Amazon Forecast – Forecasting - From Months to Days (Hebrew)
AWS Developers
Visualize your data with Amazon QuickSight (Hebrew)
AWS Developers
Amazon Kendra (Hebrew)
AWS Developers
AWS Floor28 News - AI/ML Special Edition
AWS Developers
More on: Systems Design Basics
View skill →Related Reads
Chapters (7)
Introduction to Amazon ElastiCache for Valkey
0:25
Technical Specifications and Performance
1:26
Cost Benefits and Pricing
2:33
Developer Experience and Compatibility
3:12
Setting Up Amazon ElastiCache for Valkey
3:41
Demonstration: Using valkey-cli
4:13
Conclusion
🎓
Tutor Explanation
DeepCamp AI