SlideShare a Scribd company logo
1 of 70
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Pop-up Loft
Unleash the power of Redis with Amazon
ElastiCache
Michael Labib,
Specialist Solutions Architect
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
What we’ll cover
• ElastiCache Redis Overview
• Common Architecture Patterns
• Best Practices
• Caching Strategies
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
In-Memory	Key-Value	Store
High-performance
Redis	and	Memcached
Fully	managed;	Zero	admin
Highly	Available	and	Reliable
Hardened	by	Amazon
Amazon	
ElastiCache
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Request	Rate
High Low
Latency
Low High
Structure
Low
High
Data	Volume
Low High
Amazon
RDS
Amazon	S3
Amazon
Glacier
Amazon
CloudSearch	and	
Amazon	Elasticsearch
Amazon
DynamoDB
Amazon
ElastiCache	
and	DAX
HDFS
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Redis	– The	In-Memory	Leader
Powerful	
~200	commands	+	Lua	scripting
In-memory	data	structure	server
Utility	data	structures
strings,	lists,	hashes,	sets,	sorted	sets,	
bitmaps	&	HyperLogLogs
Simple
Atomic	operations
supports	transactions
Ridiculously	fast!
<1ms	latency	for	most	commands
Highly	Available
replication
Persistence
Open	Source
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Redis Data Types & More!
Run	Lua	scripts Geospatial	Queries! Pub	/	Sub
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Amazon	
ElastiCache
Optimized	Swap	Memory
••Mitigate	the	risk	of	increased	swap	usage	
during	syncs	and	snapshots.
Dynamic	write	throttling
••Improved	output	buffer	management	when	
the	node’s	memory	is	close	to	being	
exhausted.
Smoother failovers
••Clusters	recover	faster	as	replicas	avoid	
flushing	their	data	to	do	a	full	re-sync	with	the	
primary.	
ElastiCache Engine Enhancements
Enhanced	failover	quorum	logic
When	majority	primary	nodes	are	missing,	
the	cluster	is	still	operational
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
ElastiCache Redis Topologies
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Feature Enabled Disabled
FAILOVER 15-30s
(NON-DNS)
1.5m-2m
(DNS	BASED)
FAILOVER RISK • WRITES	effected - Partial	dataset	(less	risk	
with	more	partitions)	
• READS	available
• Writes	effected	on	entire	dataset.
• READS	available
PERFORMANCE SCALES with	cluster	size
(90	nodes	– 15	primaries	+	0-5	replicas	per	shard.	
6	Nodes	(1	Primary	+	0-5	replicas)
MAX	CONNECTIONS • PRIMARIES	(65K X 15	=	975,000)
• REPLICAS		(65K	X		75	=	4,875,000)
• PRIMARY: 65K
• REPLICAS:	(65K	x	5	=	325,000)
STORAGE 3.5TiB + 237GB
COST	
Example:
Assume	workload	needs	175GB
Smaller nodes	but	more	$$
9 x	cache.r3.xlarge	(0.455hr)	=	$4.095hr	255.6	GB
Larger	nodes	less $
1	X	cache.r3.8xlarge =	$3.640	,	237	GB
REDIS CLUSTER-MODE ENABLED VS DISABLED
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
ElastiCache Redis with Multi-AZ
(non-clustered)
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Primary
Availability Zone A Availability Zone B
Replica
Replica
writes
Use	Primary	Endpoint
reads
Use	Read	Replicas
Auto-Failover
§ Chooses	replica	with				
lowest	replication	lag
§ DNS	endpoint	is	same	
ElastiCache for Redis Multi-AZ
ElastiCache	
for	Redis
ElastiCache	
for	Redis
ElastiCache	
for	Redis
Automatic	Failover	to	a	read	replica	in	case	of	primary	
node	failure
ElastiCache
Automates
snapshots	for	
persistence
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
ElastiCache with Redis Multi-AZ
Region
Availability Zone A Availability Zone B
ElastiCache Cluster
Auto	Scaling
Primary
Read	Replica
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
ElastiCache with Redis Multi-AZ
Region
Availability Zone A Availability Zone B
Primary
Read	Replica
Auto	Scaling
ElastiCache Cluster
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
ElastiCache with Redis Multi-AZ
Region
Availability Zone A Availability Zone B
Primary
Read	Replica
Auto	Scaling
ElastiCache Cluster
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Scaling with Redis Cluster
(clustered mode enabled)
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Scaling with Redis Cluster
(clustered mode enabled)
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Setting up Redis Cluster - Console
Cluster Mode
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Redis Cluster – Automatic Client-Side Sharding
S5
S1
S2
S4 S3
Client
• 16384	hash	slots	per	Cluster
• Slot	for	a	key	is	CRC16	modulo	{key}
• Slots	are	distributed	across	the	Cluster
into	Shards
• Developers	must	use	a	Redis	cluster	client!
• Clients	are	redirected	to	the	correct	shard
• Smart	clients	store	a	map
Shard	S1	=	slots	0	– 3276
Shard	S2	=	slots	3277	– 6553
Shard	S3	=	slots	6554	– 9829
Shard	S4	=	slots	9830	– 13106
Shard	S5	=	slots	13107	- 16383
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Availability Zone A
slots	0	- 5454 slots	5455	– 10909
Redis	Cluster
Redis Cluster – Architecture
slots	10910	– 16363
Availability Zone B Availability Zone C
slots	5455	– 10909
slots	5455	– 10909slots	0	- 5454 slots	0	- 5454
slots	10910	– 16363
slots	10910	– 16363
Redis	Cluster	– Multi	AZ
A	cluster	consists	of	1	to	15	shards	
example:	3	shard	cluster,
2	read	replicas
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Availability Zone A
slots	0	- 5454
Redis	Cluster
Redis Cluster – Architecture
slots	10910	– 16363
Availability Zone B Availability Zone C
slots	5455	– 10909
slots	5455	– 10909slots	0	- 5454 slots	0	- 5454
slots	10910	– 16363
Shard					
ReplicaReplicaPrimary
Each	shard	has	a	Primary	Node	
and	up	to	5	replica	nodes
slots	5455	– 10909
slots	10910	– 16363
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Availability Zone A
slots	0	- 5454 slots	5455	– 10909
Redis	Cluster
Redis Cluster – Architecture
slots	10910	– 16363
Availability Zone B Availability Zone C
slots	5455	– 10909
slots	5455	– 10909
Shard
ReplicaReplica Primary
Each	shard	has	a	Primary	Node	
and	up	to	5	replica	nodes
slots	0	- 5454 slots	0	- 5454
slots	10910	– 16363
slots	10910	– 16363
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Availability Zone A
slots	0	- 5454
Redis	Cluster
Redis Cluster – Architecture
slots	10910	– 16363
Availability Zone B Availability Zone C
slots	10910	– 16363
slots	10910	– 16363
Shard
Replica PrimaryReplica
Each	shard	has	a	Primary	Node	
and	up	to	5	replica	nodes
slots	5455	– 10909 slots	0	- 5454
slots	5455	– 10909
slots	0	- 5454 slots	5455	– 10909
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Setting up Redis Cluster - Console
Cluster Name
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Setting up Redis Cluster - Console
Redis Version
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Setting up Redis Cluster - Console
Instance
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Setting up Redis Cluster - Console
# of Shards
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Setting up Redis Cluster - Console
# of Replica’s
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Slots Distribution
Setting up Redis Cluster - Console
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Select AZs
Setting up Redis Cluster - Console
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
ElastiCache for Redis Failure Scenarios
“Everything fails, all the time.”
GET quote:failureREDIS:6379>
-- Werner Vogels, CTO Amazon.com --
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Availability Zone A
slots	0	- 5454 slots	5455	– 10909
Redis	Cluster
slots	10910	– 16363
Availability Zone B Availability Zone C
slots	5455	– 10909 slots	5455	– 10909slots	0	- 5454 slots	0	- 5454
slots	10910	– 16363 slots	10910	– 16363
Scenario 1: Single Primary Failure
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Availability Zone A
slots	0	- 5454 slots	5455	– 10909
Redis	Cluster
Scenario 1: Single Primary Failure
slots	10910	– 16363
Availability Zone B Availability Zone C
slots	5455	– 10909 slots	5455	– 10909slots	0	- 5454 slots	0	- 5454
slots	10910	– 16363
Mitigation:	
1. Automatic	Failure	Detection	&	Replica	Promotion	(~15-30s)
2. Repair	Failed	Node
slots	10910	– 16363
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Availability Zone A
slots	0	- 5454 slots	5455	– 10909
Redis	Cluster
Scenario 2: Majority of Primaries Fail
slots	10910	– 16363
Availability Zone B Availability Zone C
slots	5455	– 10909 slots	5455	– 10909slots	0	- 5454 slots	0	- 5454
slots	10910	– 16363slots	10910	– 16363
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Availability Zone A
slots	0	- 5454 slots	5455	– 10909
Redis	Cluster
slots	10910	– 16363
Availability Zone B Availability Zone C
slots	5455	– 10909 slots	5455	– 10909slots	0	- 5454 slots	0	- 5454
Mitigation:	Redis	enhancements	on	ElastiCache	
• Automatic	Failure	Detection	and	Replica	Promotion
• Repair	Failed	Nodes
slots	10910	– 16363slots	10910	– 16363
Scenario 2: Majority of Primaries Fail
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
ElastiCache Best Practices
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Cluster Sizing Best Practices
• Storage	– Clusters	should	have	adequate	Memory
• Recommended:	Memory	needed	+	25%	reserved	memory	(for	Redis)	+	some	room	for	growth	
(optional	10%).	
• Optimize	using	eviction	policies	and	TTLs
• Scale	up	or	out	when	before	reaching	max-memory	using	Cloudwatch alarms
• Use	memory	optimized	nodes	for	cost	effectiveness	
• Performance	– Performance	should	not	be	compromised
• Benchmark	operations	using	Redis	Benchmark	tool	
• Use	pipelining	for	bulk	reads/writes
• Consider	Big(O)	time	complexity	for	data	structure	commands
• Use	High	Network	performance	nodes	when	network	bound
• Cluster	Isolation	(apps	sharing	key	space)	– Chose	a	strategy	that	works	for	your	workload	
• Identify	what	kind	of	isolation	is	needed	based	on	the	workload	and	environment
• Isolation:	No	Isolation	$	|	Isolation	by	Purpose	$$		|	Full	Isolation	$$$
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Redis Benchmark Tool
Open	source	utility	to	benchmark	performance		
• example:	src/redis-benchmark	-h	r3-xlarge-perf.foio87.0001.use1.cache.amazonaws.com	-p	6379	-n	-150000	-d	100
Syntax:
redis-benchmark	-h	<host>	-p	<port>	-c	50	-n	1000	-d	500	–q	
-c	<clients>	- Specifies	the	number	of	parallel	connections	(default	50).
-n	<requests>	- Specifies	the	number	of	requests	(default	1000000).
-d	<size>	- Specifies	the	data	size	of	GET	and	SET	values	in	bytes.
-t	<test1,test2>	- Comma	separated	list	of	tests	to	perform.
-q	– Quiet	operation,	displays	only	the	result.
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Redis max-memory Policies
Select	a	max-memory	policy	based	on	your	workload	needs
• noeviction:	return	errors	when	the	memory	limit	was	reached	and	the	client	is	trying	
to	execute	commands	that	could	result	in	more	memory	to	be	used.
• allkeys-lru:	evict	keys	trying	to	remove	the	less	recently	used	(LRU)	keys	first.
• volatile-lru:	evict	keys	trying	to	remove	the	less	recently	used	(LRU)	keys	first,	but	only	
among	keys	that	have	an	expire	set.	
• allkeys-random:	evict	random	keys	in	order	to	make	space	for	the	new	data	added.	
• volatile-random:	evict	random	keys	in	order	to	make	space	for	the	new	data	added,	but	
only	evict	keys	with	an	expire	set.	
• volatile-ttl:	evict	only	keys	with	an	expire	set,	and	try	to	evict	keys	with	a	shorter	time	
to	live	(TTL)	first.
The	policies	volatile-lru,	volatile-random	and	volatile-ttl behave	like	noeviction	if	there	are	
no	keys	to	evict	matching	the	prerequisites.
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Architecting for Availability & Performance
• Upgrade to the latest engine version – 3.2.4
• Set reserved-memory to 25-30% of total available memory
• Swap usage should be zero or very low. Scale if not.
• Put read-replicas in a different AZ from the primary
• For important workloads use 2 read replicas per primary
• Write to the primary, read from the read-replicas
• Take snapshots from read-replicas
• For Redis Cluster have odd number of shards.
• Use newer Intel processors for best IO performance
• Use Failover API to environment
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Key ElastiCache CloudWatch Metrics
• CPUUtilization
• Memcached – up to 90% ok
• Redis – divide by cores (ex: 90% / 4 = 22.5%)
• SwapUsage low
• CacheMisses / CacheHits Ratio low / stable
• Evictions near zero
• Exception: Russian doll caching
• CurrConnections stable
• Setup alarms with CloudWatch Metrics
• Whitepaper: http://bit.ly/elasticache-whitepaper
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
ElastiCache Modifiable Parameters
– Maxclients: 65000 (unchangeable)
• Use connection pooling
• timeout – Closes a connection after its been idle for a given interval
• tcp-keepalive – Detects dead peers given an interval
– Databases: 16 (Default)
• Logical partition
– Reserved-memory: 0 (Default)
• Recommended
§ 50% of maxmemory to use before 2.8.22
§ 30% after 2.8.22 – ElastiCache
– Maxmemory-policy:
• The eviction policy for keys when maximum memory usage is reached.
• Possible values: volatile-lru, allkeys-lru, volatile-random, allkeys-random,
volatile-ttl, noeviction
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Common	Usage	Patterns	
Amazon	ElastiCache
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Usage Patterns
Session
Management
Database
Caching
APIs
(HTTP responses)
IOT
Streaming Data
Analytics
(Filtering/Aggregation)
Pub/Sub
Social Media
(Sentiment Analysis)
Standalone
Database
(Metadata Store)
Leaderboards
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Caching
Clients
Amazon
ElastiCache	
Redis
Amazon
DynamoDB
Elastic Load
Balancing
Amazon
EC2
Amazon
RDS
write-through
reads/
writes
DDB	streams
mysql.lambda_async
reads/
writes
https://aws.amazon.com/caching/database-caching/
Amazon
S3
reads/	writes
Object data
Unstructured data
Relational data
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Amazon
EC2
reads/
writes
Amazon
ElastiCache	
Redis
reads
MongoDB
Cluster
DBObject doc = collection.findOne();
Cache Serialized DBObject in Redis (Good)
Cache rows in Redis Hash (Faster/More efficient)
Cassandra
Cluster
Amazon
ElastiCache	
Redis
Amazon
EC2
reads/
writes
reads
ResultSet rs = session.execute(stmt);
Cache Serialized ResultSet in Redis (Good)
Cache rows in Redis Hash (Faster/More efficient)
Caching NoSQL Databases with ElastiCache
ü Smaller NoSQL DB Clusters needed = Lower Costs
ü Faster Data Retrieval = Better Performance
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
• 1)	Install	php,	apache	php	memcache	client
• e.g.	yum	install	php	apache	php-pecl-memcache	
• 2)	Configure	“php.ini”
• session.save_handler	=	memcache
• session.save_path=
• "tcp://node1:11211,	tcp://node2:11211"
• 3)	Configure	“php.d/memcache.ini”
• memcache.hash_strategy	=	consistent
• memcache.allow_failover	=	1
• memcache.session_redundancy=3*
• 4)	Restart	httpd
• 5)	Begin	using	Session	Data:
Auto	Scaling	group
• For situations where you need an
external session store
• Especially needed when using ASGs
• Cache is optimal for high-volume
reads
PHP	Example
Session Caching
https://github.com/mikelabib/elasticache-memcached-php-demo
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Amazon	
Kinesis	
Analytics
Amazon	
Kinesis	
Streams
Amazon	
Kinesis	
Streams
Amazon
ElastiCache
(Redis)
cleansed	
stream
Streaming Data Enrichment / Processing
Data	Sources
raw
stream
Subscribers
Lambda	Function	1
Continual	Data	
Filtering/Enrichment
Real-time	
Pub/Sub
Lambda Function	2
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Big Data Architectures using Redis
Amazon	Kinesis
Data	Sources
AWS	Lambda
Apache	Storm	
on	EMR
Spark	Streaming	
on	EMR
Amazon	Kinesis	
App
Amazon	
EC2
AWS	IoT
Amazon
ElastiCache
Collect
Store
Process
Amazon
S3
Apache	Kafka
AWS
Lambda
Custom	
App
Spark	on	
EMR
Analyze
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Rules	Engine
Amazon
ElastiCache	
Redis
AWS
Lambda
Direct	Integration
LambdaSNS SQS
S3 KinesisDDB
AWS
IoT Devices
AWS
IoT
Sensor Store
IoT powered by ElastiCache
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
IoT Demo – AWS IoT + Lambda + ElastiCache
https://aws.amazon.com/blogs/database/managing-iot-and-time-series-data-with-amazon-elasticache-for-redis/
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Mobile Apps Powered by ElastiCache
Amazon	API	
Gateway
AWS
Lambda
Amazon
ElastiCache	
Redis
GEOADD
GEORADIUS
Search	points	of	interest
Update	points	of	interest
https://aws.amazon.com/blogs/database/amazon-elasticache-utilizing-redis-geospatial-capabilities/
Amazon
DynamoDB
DDB	streams
Amazon
EC2
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Ad Tech
Clients
Advertisers
https://aws.amazon.com/caching/database-caching/
Ad Network
Ad Slot
Consumer
Ad Slot
Publishers
Ad Placement
(Websites/Apps
)
Amazon
ElastiCache	
Redis
<40 ms
Clickstream
(Shopping
Events)
User visits
page
Publisher
places ad
slot for
auction
Ad Network
calls for bids
Bidders
respond with
bids
Winners bid
Ad displayed
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Chat Apps powered by ElastiCache
https://aws.amazon.com/blogs/database/amazon-elasticache-utilizing-redis-geospatial-capabilities/
Clients
Chat Apps
Application	Load	
Balancer
WebSockets
Amazon
ElastiCache	
Redis
PubSub
Serverpersistent
connections
Elastic
Beanstalk
SUBSCRIBE chat_channel:114
PUBLISH chat_channel:114 "Hello	all"
>>	["message",	"chat_channel:114",	"Hello	all"]
UNSUBSCRIBE chat_channel:114
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
• Very popular for gaming apps which need
uniqueness + ordering.
• Easy with Redis Sorted Sets
• ZADD "leaderboard"	1201 "Gollum”
• ZADD "leaderboard"	963 "Sauron"
• ZADD "leaderboard"	1092 "Bilbo"
• ZADD "leaderboard"	1383 "Frodo”
• ZREVRANGE "leaderboard"	0	-1
• 1)	"Frodo"
• 2)	"Gollum"
• 3)	"Bilbo"
• 4)	"Sauron”
• ZREVRANK "leaderboard"	"Sauron"
• (integer)	3
Gaming - Real-time Leaderboard
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
• Ex: Throttling requests to an API
• Leverages Redis Counters
ELB
Externally	
Facing	API
Reference: http://redis.io/commands/INCR
FUNCTION LIMIT_API_CALL(APIaccesskey)
limit = HGET(APIaccesskey, “limit”)
time = CURRENT_UNIX_TIME()
keyname = APIaccesskey + ":” + time
count = GET(keyname)
IF current != NULL && count > limit THEN
ERROR ”API request limit exceeded"
ELSE
MULTI
INCR(keyname)
EXPIRE(keyname,10)
EXEC
PERFORM_API_CALL()
END
Rate Limiting
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
• Popular for recommendation engines and message board ranking
• Redis counters – increment likes/dislikes
• Redis hashes – list of everyone’s ratings
• Process with algorithm like Slope One or Jaccardian similarity
• Ruby example - https://github.com/davidcelis/recommendable
Recommendation Engine - Ratings
INCR item:38927:likes
HSET item:38927:ratings "Susan" 1
INCR item:38927:dislikes
HSET item:38927:ratings "Tommy" -1
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Database Caching Strategies
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Web
App
RDS DB
instancestandby
(multi-AZ)
MS SQL
instance
ü Scalability
ü Durability
Latency
ü Cost
Auto Scaling
Auto Scaling
WHY CACHING
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Web
App
RDS DB
instancestandby
(multi-AZ)
MS SQL
instance
Auto Scaling
Auto Scaling
Scalability
ü Durability
Latency
ü Cost
WHY CACHING
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Web
App
RDS DB
instancestandby
(multi-AZ)
MS SQL
instance
ü Scalability
ü Durability
Latency
Cost
Auto Scaling
Auto Scaling
WHY CACHING
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
App
RDS DB
instancestandby
(multi-AZ)
MS SQL
instance
ü Scalability
ü Durability
ü Latency
ü Cost
Auto Scaling
Auto Scaling
Web
WHY CACHING
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Caching - Patterns
Cache-Aside - Lazy Loading
Amazon	
ElastiCache
Applications
Amazon
RDS
1
2
3
1.) Check Cache, if HIT return
2.) If Cache MISS
3.) Update Cache
https://d0.awsstatic.com/whitepapers/Database/database-caching-strategies-using-redis.pdf
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Caching - Patterns
Cache-Aside - Write-Through
Amazon	
ElastiCache
Applications
Amazon
RDS
1
2
1.) Update Primary DB
2.) Update Cache
https://d0.awsstatic.com/whitepapers/Database/database-caching-strategies-using-redis.pdf
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Java App Java App
Web Server Web Server
Database Cache
Customers
AZ1 AZ2
Distributed
Cache
Example workload topology: Customer Data
CustomerDB Primary CustomerDB Standby
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Caching Strategies
1. Cache Database SQL ResultSet (Row)
PRO
When data retrieval logic is abstracted from the code consuming the ResultSet, caching the ROW can
be extremely effective and can be implemented against any RDBMS.
CON
• Cannot get individual JSON properties
SELECT	*	FROM	x	WHERE	y
ID First_Name Last_Name City
123 Michael Labib Chicago
ResultSet	Object	(ROW) Key:	Query,	Value:	CRS	as	byte	array
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Caching Strategies
2. Cache database values into custom format in a Redis String
SELECT	*	FROM	x	WHERE	y
ID First_Name Last_Name City
123 Michael Labib Chicago
String	firstName	=	rs.getString(First_Name)
PRO
Very easy to implement. Cache any desired database fields and values into a Redis String. For example,
store your retrieved data into a JSON object stored in a Redis String.
CON
Advanced application development use case.
Key:	123,	Value:	‘{	“firstname”:	“Michael”,
“lastname”:	“Labib”,	
“city”:	“Chicago”	}	‘
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Caching Strategies
3. Cache serialized application object (e.g. Java Object )
SELECT	*	FROM	x	WHERE	y
ID First_Name Last_Name City
123 Michael Labib Chicago
Key:	CUSTOMER_ID:123,	
Value:	Customer	Object	as	byte	array
String	firstName	=	rs.getString(First_Name);
customer.setFirstName(firstName);
String	lastName	=	rs.getString(Last_Name);
customer.setLastName(lastName);
PRO
Utilize application objects in their native structure and data state when serialized.
CON
Advanced application development use case.
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Caching Strategies
4. Leverage advanced Redis Data Structures for cached data
SELECT	*	FROM	x	WHERE	y
ID First_Name Last_Name City
123 Michael Labib Chicago
Key:	CUSTOMER_ID:123,	Value:	rsHash
String	firstName	=	rs.getString(First_Name);
rsHash.put(“firstName",	firstName);
String	lastName	=	rs.getString(Last_Name);
rsHash.put(“lastName",	lastName);
jedis.hmset(“CUSTOMER_ID:123",	rsHash);
PRO
In addition to reducing data retrieval latency, cache data into specific data structure that simplifies the
data access pattern.
©	2017,	Amazon	Web	Services,	Inc.	or	its	Affiliates.	All	rights	reserved
Pop-up Loft
aws.amazon.com/activate
Everything and Anything Startups
Need to Get Started on AWS

More Related Content

What's hot

AWS 클라우드 비용 최적화를 위한 TIP - 임성은 AWS 매니저
AWS 클라우드 비용 최적화를 위한 TIP - 임성은 AWS 매니저AWS 클라우드 비용 최적화를 위한 TIP - 임성은 AWS 매니저
AWS 클라우드 비용 최적화를 위한 TIP - 임성은 AWS 매니저Amazon Web Services Korea
 
Amazon EFS (Elastic File System) 이해하고사용하기
Amazon EFS (Elastic File System) 이해하고사용하기Amazon EFS (Elastic File System) 이해하고사용하기
Amazon EFS (Elastic File System) 이해하고사용하기Amazon Web Services Korea
 
AWS 고객이 주로 겪는 운영 이슈에 대한 해법-AWS Summit Seoul 2017
AWS 고객이 주로 겪는 운영 이슈에 대한 해법-AWS Summit Seoul 2017AWS 고객이 주로 겪는 운영 이슈에 대한 해법-AWS Summit Seoul 2017
AWS 고객이 주로 겪는 운영 이슈에 대한 해법-AWS Summit Seoul 2017Amazon Web Services Korea
 
Visualize your data in Data Lake with AWS Athena and AWS Quicksight Hands-on ...
Visualize your data in Data Lake with AWS Athena and AWS Quicksight Hands-on ...Visualize your data in Data Lake with AWS Athena and AWS Quicksight Hands-on ...
Visualize your data in Data Lake with AWS Athena and AWS Quicksight Hands-on ...Amazon Web Services
 
아마존 웹 서비스 상에서 MS SQL 100% 활용하기::김석원::AWS Summit Seoul 2018
아마존 웹 서비스 상에서 MS SQL 100% 활용하기::김석원::AWS Summit Seoul 2018아마존 웹 서비스 상에서 MS SQL 100% 활용하기::김석원::AWS Summit Seoul 2018
아마존 웹 서비스 상에서 MS SQL 100% 활용하기::김석원::AWS Summit Seoul 2018Amazon Web Services Korea
 
Amazon DynamoDB Under the Hood: How We Built a Hyper-Scale Database (DAT321) ...
Amazon DynamoDB Under the Hood: How We Built a Hyper-Scale Database (DAT321) ...Amazon DynamoDB Under the Hood: How We Built a Hyper-Scale Database (DAT321) ...
Amazon DynamoDB Under the Hood: How We Built a Hyper-Scale Database (DAT321) ...Amazon Web Services
 
대용량 데이터베이스의 클라우드 네이티브 DB로 전환 시 확인해야 하는 체크 포인트-김지훈, AWS Database Specialist SA...
대용량 데이터베이스의 클라우드 네이티브 DB로 전환 시 확인해야 하는 체크 포인트-김지훈, AWS Database Specialist SA...대용량 데이터베이스의 클라우드 네이티브 DB로 전환 시 확인해야 하는 체크 포인트-김지훈, AWS Database Specialist SA...
대용량 데이터베이스의 클라우드 네이티브 DB로 전환 시 확인해야 하는 체크 포인트-김지훈, AWS Database Specialist SA...Amazon Web Services Korea
 
민첩하고 비용효율적인 Data Lake 구축 - 문종민 솔루션즈 아키텍트, AWS
민첩하고 비용효율적인 Data Lake 구축 - 문종민 솔루션즈 아키텍트, AWS민첩하고 비용효율적인 Data Lake 구축 - 문종민 솔루션즈 아키텍트, AWS
민첩하고 비용효율적인 Data Lake 구축 - 문종민 솔루션즈 아키텍트, AWSAmazon Web Services Korea
 
효율적인 빅데이터 분석 및 처리를 위한 Glue, EMR 활용 - 김태현 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019
효율적인 빅데이터 분석 및 처리를 위한 Glue, EMR 활용 - 김태현 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019효율적인 빅데이터 분석 및 처리를 위한 Glue, EMR 활용 - 김태현 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019
효율적인 빅데이터 분석 및 처리를 위한 Glue, EMR 활용 - 김태현 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019Amazon Web Services Korea
 
AWS DMS를 통한 오라클 DB 마이그레이션 방법 - AWS Summit Seoul 2017
AWS DMS를 통한 오라클 DB 마이그레이션 방법 - AWS Summit Seoul 2017AWS DMS를 통한 오라클 DB 마이그레이션 방법 - AWS Summit Seoul 2017
AWS DMS를 통한 오라클 DB 마이그레이션 방법 - AWS Summit Seoul 2017Amazon Web Services Korea
 
Introduction to Redis
Introduction to RedisIntroduction to Redis
Introduction to RedisArnab Mitra
 
Amazon RDS Proxy 집중 탐구 - 윤석찬 :: AWS Unboxing 온라인 세미나
Amazon RDS Proxy 집중 탐구 - 윤석찬 :: AWS Unboxing 온라인 세미나Amazon RDS Proxy 집중 탐구 - 윤석찬 :: AWS Unboxing 온라인 세미나
Amazon RDS Proxy 집중 탐구 - 윤석찬 :: AWS Unboxing 온라인 세미나Amazon Web Services Korea
 
나에게 맞는 AWS 데이터베이스 서비스 선택하기 :: 양승도 :: AWS Summit Seoul 2016
나에게 맞는 AWS 데이터베이스 서비스 선택하기 :: 양승도 :: AWS Summit Seoul 2016나에게 맞는 AWS 데이터베이스 서비스 선택하기 :: 양승도 :: AWS Summit Seoul 2016
나에게 맞는 AWS 데이터베이스 서비스 선택하기 :: 양승도 :: AWS Summit Seoul 2016Amazon Web Services Korea
 
20190122 AWS Black Belt Online Seminar Amazon Redshift Update
20190122 AWS Black Belt Online Seminar Amazon Redshift Update20190122 AWS Black Belt Online Seminar Amazon Redshift Update
20190122 AWS Black Belt Online Seminar Amazon Redshift UpdateAmazon Web Services Japan
 
Aws glue를 통한 손쉬운 데이터 전처리 작업하기
Aws glue를 통한 손쉬운 데이터 전처리 작업하기Aws glue를 통한 손쉬운 데이터 전처리 작업하기
Aws glue를 통한 손쉬운 데이터 전처리 작업하기Amazon Web Services Korea
 
대용량 데이터레이크 마이그레이션 사례 공유 [카카오게임즈 - 레벨 200] - 조은희, 팀장, 카카오게임즈 ::: Games on AWS ...
대용량 데이터레이크 마이그레이션 사례 공유 [카카오게임즈 - 레벨 200] - 조은희, 팀장, 카카오게임즈 ::: Games on AWS ...대용량 데이터레이크 마이그레이션 사례 공유 [카카오게임즈 - 레벨 200] - 조은희, 팀장, 카카오게임즈 ::: Games on AWS ...
대용량 데이터레이크 마이그레이션 사례 공유 [카카오게임즈 - 레벨 200] - 조은희, 팀장, 카카오게임즈 ::: Games on AWS ...Amazon Web Services Korea
 

What's hot (20)

Amazon EMR Masterclass
Amazon EMR MasterclassAmazon EMR Masterclass
Amazon EMR Masterclass
 
AWS 클라우드 비용 최적화를 위한 TIP - 임성은 AWS 매니저
AWS 클라우드 비용 최적화를 위한 TIP - 임성은 AWS 매니저AWS 클라우드 비용 최적화를 위한 TIP - 임성은 AWS 매니저
AWS 클라우드 비용 최적화를 위한 TIP - 임성은 AWS 매니저
 
Amazon EFS (Elastic File System) 이해하고사용하기
Amazon EFS (Elastic File System) 이해하고사용하기Amazon EFS (Elastic File System) 이해하고사용하기
Amazon EFS (Elastic File System) 이해하고사용하기
 
AWS 고객이 주로 겪는 운영 이슈에 대한 해법-AWS Summit Seoul 2017
AWS 고객이 주로 겪는 운영 이슈에 대한 해법-AWS Summit Seoul 2017AWS 고객이 주로 겪는 운영 이슈에 대한 해법-AWS Summit Seoul 2017
AWS 고객이 주로 겪는 운영 이슈에 대한 해법-AWS Summit Seoul 2017
 
Introduction to Amazon DynamoDB
Introduction to Amazon DynamoDBIntroduction to Amazon DynamoDB
Introduction to Amazon DynamoDB
 
Visualize your data in Data Lake with AWS Athena and AWS Quicksight Hands-on ...
Visualize your data in Data Lake with AWS Athena and AWS Quicksight Hands-on ...Visualize your data in Data Lake with AWS Athena and AWS Quicksight Hands-on ...
Visualize your data in Data Lake with AWS Athena and AWS Quicksight Hands-on ...
 
아마존 웹 서비스 상에서 MS SQL 100% 활용하기::김석원::AWS Summit Seoul 2018
아마존 웹 서비스 상에서 MS SQL 100% 활용하기::김석원::AWS Summit Seoul 2018아마존 웹 서비스 상에서 MS SQL 100% 활용하기::김석원::AWS Summit Seoul 2018
아마존 웹 서비스 상에서 MS SQL 100% 활용하기::김석원::AWS Summit Seoul 2018
 
Amazon DynamoDB Under the Hood: How We Built a Hyper-Scale Database (DAT321) ...
Amazon DynamoDB Under the Hood: How We Built a Hyper-Scale Database (DAT321) ...Amazon DynamoDB Under the Hood: How We Built a Hyper-Scale Database (DAT321) ...
Amazon DynamoDB Under the Hood: How We Built a Hyper-Scale Database (DAT321) ...
 
대용량 데이터베이스의 클라우드 네이티브 DB로 전환 시 확인해야 하는 체크 포인트-김지훈, AWS Database Specialist SA...
대용량 데이터베이스의 클라우드 네이티브 DB로 전환 시 확인해야 하는 체크 포인트-김지훈, AWS Database Specialist SA...대용량 데이터베이스의 클라우드 네이티브 DB로 전환 시 확인해야 하는 체크 포인트-김지훈, AWS Database Specialist SA...
대용량 데이터베이스의 클라우드 네이티브 DB로 전환 시 확인해야 하는 체크 포인트-김지훈, AWS Database Specialist SA...
 
Amazon Aurora: Under the Hood
Amazon Aurora: Under the HoodAmazon Aurora: Under the Hood
Amazon Aurora: Under the Hood
 
민첩하고 비용효율적인 Data Lake 구축 - 문종민 솔루션즈 아키텍트, AWS
민첩하고 비용효율적인 Data Lake 구축 - 문종민 솔루션즈 아키텍트, AWS민첩하고 비용효율적인 Data Lake 구축 - 문종민 솔루션즈 아키텍트, AWS
민첩하고 비용효율적인 Data Lake 구축 - 문종민 솔루션즈 아키텍트, AWS
 
Amazon Aurora
Amazon AuroraAmazon Aurora
Amazon Aurora
 
효율적인 빅데이터 분석 및 처리를 위한 Glue, EMR 활용 - 김태현 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019
효율적인 빅데이터 분석 및 처리를 위한 Glue, EMR 활용 - 김태현 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019효율적인 빅데이터 분석 및 처리를 위한 Glue, EMR 활용 - 김태현 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019
효율적인 빅데이터 분석 및 처리를 위한 Glue, EMR 활용 - 김태현 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019
 
AWS DMS를 통한 오라클 DB 마이그레이션 방법 - AWS Summit Seoul 2017
AWS DMS를 통한 오라클 DB 마이그레이션 방법 - AWS Summit Seoul 2017AWS DMS를 통한 오라클 DB 마이그레이션 방법 - AWS Summit Seoul 2017
AWS DMS를 통한 오라클 DB 마이그레이션 방법 - AWS Summit Seoul 2017
 
Introduction to Redis
Introduction to RedisIntroduction to Redis
Introduction to Redis
 
Amazon RDS Proxy 집중 탐구 - 윤석찬 :: AWS Unboxing 온라인 세미나
Amazon RDS Proxy 집중 탐구 - 윤석찬 :: AWS Unboxing 온라인 세미나Amazon RDS Proxy 집중 탐구 - 윤석찬 :: AWS Unboxing 온라인 세미나
Amazon RDS Proxy 집중 탐구 - 윤석찬 :: AWS Unboxing 온라인 세미나
 
나에게 맞는 AWS 데이터베이스 서비스 선택하기 :: 양승도 :: AWS Summit Seoul 2016
나에게 맞는 AWS 데이터베이스 서비스 선택하기 :: 양승도 :: AWS Summit Seoul 2016나에게 맞는 AWS 데이터베이스 서비스 선택하기 :: 양승도 :: AWS Summit Seoul 2016
나에게 맞는 AWS 데이터베이스 서비스 선택하기 :: 양승도 :: AWS Summit Seoul 2016
 
20190122 AWS Black Belt Online Seminar Amazon Redshift Update
20190122 AWS Black Belt Online Seminar Amazon Redshift Update20190122 AWS Black Belt Online Seminar Amazon Redshift Update
20190122 AWS Black Belt Online Seminar Amazon Redshift Update
 
Aws glue를 통한 손쉬운 데이터 전처리 작업하기
Aws glue를 통한 손쉬운 데이터 전처리 작업하기Aws glue를 통한 손쉬운 데이터 전처리 작업하기
Aws glue를 통한 손쉬운 데이터 전처리 작업하기
 
대용량 데이터레이크 마이그레이션 사례 공유 [카카오게임즈 - 레벨 200] - 조은희, 팀장, 카카오게임즈 ::: Games on AWS ...
대용량 데이터레이크 마이그레이션 사례 공유 [카카오게임즈 - 레벨 200] - 조은희, 팀장, 카카오게임즈 ::: Games on AWS ...대용량 데이터레이크 마이그레이션 사례 공유 [카카오게임즈 - 레벨 200] - 조은희, 팀장, 카카오게임즈 ::: Games on AWS ...
대용량 데이터레이크 마이그레이션 사례 공유 [카카오게임즈 - 레벨 200] - 조은희, 팀장, 카카오게임즈 ::: Games on AWS ...
 

Similar to Unleash the Power of Redis with Amazon ElastiCache

Unleash the Power of Redis with Amazon ElastiCache
Unleash the Power of Redis with Amazon ElastiCacheUnleash the Power of Redis with Amazon ElastiCache
Unleash the Power of Redis with Amazon ElastiCacheAmazon Web Services
 
DAT305_Amazon ElastiCache Deep Dive
DAT305_Amazon ElastiCache Deep DiveDAT305_Amazon ElastiCache Deep Dive
DAT305_Amazon ElastiCache Deep DiveAmazon Web Services
 
Scaling Redis Workloads with Amazon ElastiCache - AWS Online Tech Talks
Scaling Redis Workloads with Amazon ElastiCache - AWS Online Tech TalksScaling Redis Workloads with Amazon ElastiCache - AWS Online Tech Talks
Scaling Redis Workloads with Amazon ElastiCache - AWS Online Tech TalksAmazon Web Services
 
ElastiCache: Deep Dive Best Practices and Usage Patterns - AWS Online Tech Talks
ElastiCache: Deep Dive Best Practices and Usage Patterns - AWS Online Tech TalksElastiCache: Deep Dive Best Practices and Usage Patterns - AWS Online Tech Talks
ElastiCache: Deep Dive Best Practices and Usage Patterns - AWS Online Tech TalksAmazon Web Services
 
Scale Website dan Mobile Applications Anda di AWS hingga 10 juta pengguna
Scale Website dan Mobile Applications Anda di AWS hingga 10 juta penggunaScale Website dan Mobile Applications Anda di AWS hingga 10 juta pengguna
Scale Website dan Mobile Applications Anda di AWS hingga 10 juta penggunaAmazon Web Services
 
Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017
Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017
Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017Amazon Web Services
 
Amazon Elasticache Deep Dive - March 2017 AWS Online Tech Talks
Amazon Elasticache Deep Dive - March 2017 AWS Online Tech TalksAmazon Elasticache Deep Dive - March 2017 AWS Online Tech Talks
Amazon Elasticache Deep Dive - March 2017 AWS Online Tech TalksAmazon Web Services
 
ElastiCache Deep Dive: Best Practices and Usage Patterns - March 2017 AWS Onl...
ElastiCache Deep Dive: Best Practices and Usage Patterns - March 2017 AWS Onl...ElastiCache Deep Dive: Best Practices and Usage Patterns - March 2017 AWS Onl...
ElastiCache Deep Dive: Best Practices and Usage Patterns - March 2017 AWS Onl...Amazon Web Services
 
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùngXây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùngAmazon Web Services
 
China Gaming Industry Experience and Architecture Sharing
China Gaming Industry Experience and Architecture SharingChina Gaming Industry Experience and Architecture Sharing
China Gaming Industry Experience and Architecture SharingAmazon Web Services
 
中國AWS遊戲業經驗和架構分享
中國AWS遊戲業經驗和架構分享中國AWS遊戲業經驗和架構分享
中國AWS遊戲業經驗和架構分享Amazon Web Services
 
Amazon Elasticache and Redis
Amazon Elasticache and RedisAmazon Elasticache and Redis
Amazon Elasticache and RedisMikhail Prudnikov
 
Scaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million UsersScaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million UsersAmazon Web Services
 
Building Multiregion Serverless Backends
Building Multiregion Serverless BackendsBuilding Multiregion Serverless Backends
Building Multiregion Serverless BackendsAmazon Web Services
 
Building Global Serverless Backends
Building Global Serverless BackendsBuilding Global Serverless Backends
Building Global Serverless BackendsAmazon Web Services
 
Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...
Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...
Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...Amazon Web Services
 
Building High Performance Apps with In-memory Data
Building High Performance Apps with In-memory DataBuilding High Performance Apps with In-memory Data
Building High Performance Apps with In-memory DataAmazon Web Services
 
Reliable & Scalable Redis in the Cloud with Amazon ElastiCache (DAT202) - AWS...
Reliable & Scalable Redis in the Cloud with Amazon ElastiCache (DAT202) - AWS...Reliable & Scalable Redis in the Cloud with Amazon ElastiCache (DAT202) - AWS...
Reliable & Scalable Redis in the Cloud with Amazon ElastiCache (DAT202) - AWS...Amazon Web Services
 

Similar to Unleash the Power of Redis with Amazon ElastiCache (20)

Unleash the Power of Redis with Amazon ElastiCache
Unleash the Power of Redis with Amazon ElastiCacheUnleash the Power of Redis with Amazon ElastiCache
Unleash the Power of Redis with Amazon ElastiCache
 
DAT305_Amazon ElastiCache Deep Dive
DAT305_Amazon ElastiCache Deep DiveDAT305_Amazon ElastiCache Deep Dive
DAT305_Amazon ElastiCache Deep Dive
 
Scaling Redis Workloads with Amazon ElastiCache - AWS Online Tech Talks
Scaling Redis Workloads with Amazon ElastiCache - AWS Online Tech TalksScaling Redis Workloads with Amazon ElastiCache - AWS Online Tech Talks
Scaling Redis Workloads with Amazon ElastiCache - AWS Online Tech Talks
 
ElastiCache and Redis
ElastiCache and RedisElastiCache and Redis
ElastiCache and Redis
 
ElastiCache: Deep Dive Best Practices and Usage Patterns - AWS Online Tech Talks
ElastiCache: Deep Dive Best Practices and Usage Patterns - AWS Online Tech TalksElastiCache: Deep Dive Best Practices and Usage Patterns - AWS Online Tech Talks
ElastiCache: Deep Dive Best Practices and Usage Patterns - AWS Online Tech Talks
 
Amazon ElastiCache and Redis
Amazon ElastiCache and RedisAmazon ElastiCache and Redis
Amazon ElastiCache and Redis
 
Scale Website dan Mobile Applications Anda di AWS hingga 10 juta pengguna
Scale Website dan Mobile Applications Anda di AWS hingga 10 juta penggunaScale Website dan Mobile Applications Anda di AWS hingga 10 juta pengguna
Scale Website dan Mobile Applications Anda di AWS hingga 10 juta pengguna
 
Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017
Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017
Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017
 
Amazon Elasticache Deep Dive - March 2017 AWS Online Tech Talks
Amazon Elasticache Deep Dive - March 2017 AWS Online Tech TalksAmazon Elasticache Deep Dive - March 2017 AWS Online Tech Talks
Amazon Elasticache Deep Dive - March 2017 AWS Online Tech Talks
 
ElastiCache Deep Dive: Best Practices and Usage Patterns - March 2017 AWS Onl...
ElastiCache Deep Dive: Best Practices and Usage Patterns - March 2017 AWS Onl...ElastiCache Deep Dive: Best Practices and Usage Patterns - March 2017 AWS Onl...
ElastiCache Deep Dive: Best Practices and Usage Patterns - March 2017 AWS Onl...
 
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùngXây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
 
China Gaming Industry Experience and Architecture Sharing
China Gaming Industry Experience and Architecture SharingChina Gaming Industry Experience and Architecture Sharing
China Gaming Industry Experience and Architecture Sharing
 
中國AWS遊戲業經驗和架構分享
中國AWS遊戲業經驗和架構分享中國AWS遊戲業經驗和架構分享
中國AWS遊戲業經驗和架構分享
 
Amazon Elasticache and Redis
Amazon Elasticache and RedisAmazon Elasticache and Redis
Amazon Elasticache and Redis
 
Scaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million UsersScaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million Users
 
Building Multiregion Serverless Backends
Building Multiregion Serverless BackendsBuilding Multiregion Serverless Backends
Building Multiregion Serverless Backends
 
Building Global Serverless Backends
Building Global Serverless BackendsBuilding Global Serverless Backends
Building Global Serverless Backends
 
Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...
Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...
Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...
 
Building High Performance Apps with In-memory Data
Building High Performance Apps with In-memory DataBuilding High Performance Apps with In-memory Data
Building High Performance Apps with In-memory Data
 
Reliable & Scalable Redis in the Cloud with Amazon ElastiCache (DAT202) - AWS...
Reliable & Scalable Redis in the Cloud with Amazon ElastiCache (DAT202) - AWS...Reliable & Scalable Redis in the Cloud with Amazon ElastiCache (DAT202) - AWS...
Reliable & Scalable Redis in the Cloud with Amazon ElastiCache (DAT202) - AWS...
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Unleash the Power of Redis with Amazon ElastiCache