SlideShare a Scribd company logo
(SDD402) Amazon ElastiCache Deep Dive | AWS re:Invent 2014
ms 
μs 

Memcached
http://redis.io/commands 
strings, lists, hashes, sets, sorted sets, bitmaps & HyperLogLogs 
supports transactions 
has ACID properties 
snapshots or append-only log

Recommended for you

(NET308) Consolidating DNS Data in the Cloud with Amazon Route 53
(NET308) Consolidating DNS Data in the Cloud with Amazon Route 53(NET308) Consolidating DNS Data in the Cloud with Amazon Route 53
(NET308) Consolidating DNS Data in the Cloud with Amazon Route 53

In this session, we show you how to use Amazon Route 53 to consolidate your DNS data and manage it centrally. Learn how to use Amazon Route 53 for public DNS and for private DNS in VPC, and also learn how to combine Amazon Route 53 private DNS with your own DNS infrastructure.

net308networkingaws-reinvent
Hadoop security
Hadoop securityHadoop security
Hadoop security

- Kerberos is used to authenticate Hadoop services and clients running on different nodes communicating over a non-secure network. It uses tickets for authentication. - Key configuration changes are required to enable Kerberos authentication in Hadoop including setting hadoop.security.authentication to kerberos and generating keytabs containing principal keys for HDFS services. - Services are associated with Kerberos principles using keytabs which are then configured for use by the relevant Hadoop processes and services.

hadoophadoop securitysecurity
Improving HDFS Availability with Hadoop RPC Quality of Service
Improving HDFS Availability with Hadoop RPC Quality of ServiceImproving HDFS Availability with Hadoop RPC Quality of Service
Improving HDFS Availability with Hadoop RPC Quality of Service

Heavy users monopolizing cluster resources is a frequent cause of slowdown for others. With only one namenode and thousands of datanodes, any poorly written application is a potential distributed denial-of-service attack on namenode. In this talk, you will learn how to prevent slowdown from heavy users and poorly-written applications by enabling IPC Quality of Service (QoS), a new feature in Hadoop 2.6+. On Twitter’s and eBay’s production clusters, we’ve seen response times of 500 milliseconds with QoS off drop to 10 milliseconds with QoS on during heavy usage. We’ll cover how IPC QoS works and share our experience on how to tune performance.

hadoop hdfs rpc quality of service
(SDD402) Amazon ElastiCache Deep Dive | AWS re:Invent 2014
Launching
Assuming you’ve already setup your subnet, security and parameter groups… 
Choose: 
•Version 
•Port 
•Parameter group 
•Multi-AZ & replication* 
•Cluster name 
•Node type 
•# of Nodes (or replicas) 
•S3 backup location* 
Choose: 
•Subnet group 
•Availability Zones 
•Security group 
•Enable backups* 
•Maintenance window 
•SNS topic 
*redisoption 
Select Engine:
awselasticachecreate-cache-cluster  
--cache-cluster-id mycache 
--engine redis 
--cache-node-type cache.m3.medium  
--num-cache-nodes 1 
"Resources" : { 
"CacheCluster" : { 
"Type": "AWS::ElastiCache::CacheCluster", 
"Properties": { 
"CacheNodeType" : { "Ref" : "CacheNodeType" }, 
"CacheSecurityGroupNames" : [ { "Ref" : "CacheSecurityGroup" } ], 
"Engine" : "memcached", 
"NumCacheNodes" : { "Ref" : "NumberOfCacheNodes" } 
} 
}

Recommended for you

Wordpress optimization
Wordpress optimizationWordpress optimization
Wordpress optimization

Powerpoint file(incl. animations!): http://db.tt/oQiXb9lq This is the slides of the presentation "Wordpress optimization" who presented at WordCamp 2013. How to improve your wordpress performance and speed up your website more than 700% faster!

wordpresscacheweb development
Data Analytics Service Company and Its Ruby Usage
Data Analytics Service Company and Its Ruby UsageData Analytics Service Company and Its Ruby Usage
Data Analytics Service Company and Its Ruby Usage

Treasure Data is a data analytics service company that makes heavy use of Ruby in its platform and services. It uses Ruby for components like Fluentd (log collection), Embulk (data loading), scheduling, and its Rails-based API and console. Java and JRuby are also used for components involving Hadoop and Presto processing. The company's architecture includes collectors that ingest data, a PlazmaDB for storage, workers that process jobs on Hadoop and Presto clusters, and schedulers that queue and schedule those jobs using technologies like PerfectSched and PerfectQueue which are written in Ruby. Hive jobs are built programmatically using Ruby to generate configurations and submit the jobs to underlying Hadoop clusters.

rubyrubykaigi
Top ten-list
Top ten-listTop ten-list
Top ten-list

This document provides a top ten list of tips for improving PHP and web application performance. They include tweaking realpath cache settings, using offline processing whenever possible, writing efficient SQL queries, not executing queries in loops, caching data, using a content delivery network, and using APC caching with apc.stat set to 0. The tips cover optimizing PHP, database, and infrastructure performance.

I can make a hat, or a brooch, or a pterodactyl 
mycache-002.hnou5c.0001.usw2.cache.amazonaws.com:6379 (redis) 
mycache.hnou5c.0002.usw2.cache.amazonaws.com:11211 (memcached) 
mycache.hnou5c.cfg.usw2.cache.amazonaws.com:11211 
mycacherepgroup.hnou5c.ng.0001.usw2.cache.amazonaws.com:6379
Availability Zone #1 
Availability Zone #2 
use “Primary Endpoint” 
from Node Group 
use ‘replica’ endpoints from Node Group 
*can use ‘primary’ also 
Auto-Failover 
Goes to replica with lowest replication lag 
No changes in DNS
Connecting
Language 
Library 
Ruby 
Redis-rb, Redisobjects 
Python 
Redis-py 
Node.js 
node-redis 
C#/.NET 
ServiceStack.Redis 
PHP 
phpredis 
Java 
Jedis 
$telnet {primary-endpoint} 6379 
>HSET hash mykey"mydata” 
:1 
>HGET hash mykey 
$6 
mydata 
#from redis.iodownload: 
$redis-cli -h {primary-endpoint} 
Supports the same commands 
+ command history 
+ latency test 
+ backups 
+ a bunch of other stuff

Recommended for you

Boost your website by running PHP on Nginx
Boost your website by running PHP on NginxBoost your website by running PHP on Nginx
Boost your website by running PHP on Nginx

Tips and tricks for high performance websites Latest version of my Nginx / PHP slide deck, as presented on my APAC 2016 tour

apmphpperformance
Deep Learning for Developers
Deep Learning for DevelopersDeep Learning for Developers
Deep Learning for Developers

Find out more about Deep Learning in terms of •AI •Infrastructure •Common neural network architectures and use cases •An introduction to Apache MXNet •Demos •Resources

awscloudcloudcomputing
DjangoCon 2010 Scaling Disqus
DjangoCon 2010 Scaling DisqusDjangoCon 2010 Scaling Disqus
DjangoCon 2010 Scaling Disqus

DISQUS is a comment system that handles high volumes of traffic, with up to 17,000 requests per second and 250 million monthly visitors. They face challenges in unpredictable spikes in traffic and ensuring high availability. Their architecture includes over 100 servers split between web servers, databases, caching, and load balancing. They employ techniques like vertical and horizontal data partitioning, atomic updates, delayed signals, consistent caching, and feature flags to scale their large Django application.

 
by zeeg
disqusdjangoperformance
// Java Example –requires http://aws.amazon.com/sdk-for-java 
AmazonElastiCacheec= new AmazonElastiCacheClient(); 
String replicationGroupName= "mycache"; // change to your RedisReplication Group Name 
String metadataURL= "http://169.254.169.254/latest/meta-data/placement/availability-zone"; 
String myAZ= new Scanner(new URL(metadataURL).openStream(), "UTF-8").useDelimiter("A").next(); 
ec.setRegion(Region.getRegion(Regions.US_WEST_2)); 
DescribeReplicationGroupsRequestrgrequest= new DescribeReplicationGroupsRequest() 
.withReplicationGroupId(replicationGroupName); 
DescribeReplicationGroupsResultrgresult= ec.describeReplicationGroups(rgrequest); 
for (ReplicationGrouprg: rgresult.getReplicationGroups()) { 
for (NodeGroupng: rg.getNodeGroups()) { 
for (NodeGroupMemberngm: ng.getNodeGroupMembers()) { 
if (ngm.getCurrentRole().equals("replica") 
&& ngm.getPreferredAvailabilityZone().equalsIgnoreCase(myAZ)) { 
System.out.println(ngm.getReadEndpoint().getAddress() + ":" + ngm.getReadEndpoint().getPort()); 
} 
} 
} 
} 
Find AZ 
ElastiCache 
API Call
Useful for some info & housekeeping, but typically we’ll connect using client libraries… 
Language 
Library 
Ruby 
Dalli, Dalli:ElastiCache 
Python 
MemcacheRing, django-elasticache 
Node.js 
node-memcached 
C#/.NET 
ElastiCacheAutoDiscovery Client 
PHP 
ElastiCacheAutoDiscovery Client 
Java 
ElastiCacheAuto Discovery Client 
(based on spymemcached) 
$telnet {cfg-endpoint} 11211 
>configget cluster 
$telnet {node1} 11211 
>set mykey0 60 6 
>mydata 
STORED 
>get mykey 
VALUE mykey0 6 
mydata 
END
(SDD402) Amazon ElastiCache Deep Dive | AWS re:Invent 2014
# PHP 
$server_endpoint= "mycache.z2vq55.cfg.usw2.cache.amazonaws.com"; 
$server_port= 11211; 
$cache = new Memcached(); 
$cache->setOption( 
Memcached::OPT_CLIENT_MODE, Memcached::DYNAMIC_CLIENT_MODE); 
# Set configendpoint as only server 
$cache->addServer($server_endpoint, $server_port); 
# Lib auto-locates nodes 
$cache->set("key", "value"); 
always use the configuration endpoint

Recommended for you

Hybrid Cloud PHPUK2012
Hybrid Cloud PHPUK2012Hybrid Cloud PHPUK2012
Hybrid Cloud PHPUK2012

The document discusses developing and deploying applications using hybrid cloud strategies. It provides an overview of different cloud platforms and services that can be used as part of a hybrid cloud approach, including Amazon Web Services, Windows Azure, and Orchestra. It then discusses various architecture patterns for deploying applications in a hybrid way, such as using a single server setup, separating the database onto its own server, using multiple database servers with replication, deploying multiple web servers behind a load balancer, offloading static files, and implementing auto-scaling and caching.

phphybridcloud
Tips, Tricks & Best Practices for large scale HDInsight Deployments
Tips, Tricks & Best Practices for large scale HDInsight DeploymentsTips, Tricks & Best Practices for large scale HDInsight Deployments
Tips, Tricks & Best Practices for large scale HDInsight Deployments

The document discusses HDInsight cluster architecture and configuration. It describes how HDInsight clusters connect to Azure data stores like Azure Blob Storage and Azure Data Lake Store. It also discusses using Azure Data Factory for HDInsight orchestration and monitoring an HDInsight cluster.

hdinsightbest practicesazure
Hadoop engineering bo_f_final
Hadoop engineering bo_f_finalHadoop engineering bo_f_final
Hadoop engineering bo_f_final

Hortonworks provides best practices for system testing Hadoop clusters. It recommends testing across different operating systems, configurations, workloads and hardware to mimic a production environment. The document outlines automating the testing process through continuous integration to test over 15,000 configurations. It provides guidance on test planning, including identifying requirements, selecting hardware and workloads to test upgrades, migrations and changes to security settings.

Sharding
serversserver_list.length 
old_node_countnew_node_count 
= ( 
)
A very simplified explanation of something that can be talked about for a while… 
①Picture a ring 
sometimes called a ‘continuum’ 
②Divide it in to slots 
(some fixed number “N”) 
in this case 24, but often 2(32 or 160) 
③Servers are “mapped” to slots 
spread throughout the ring, not even like this 
Node-A 
Node-B 
Node-C 
Node- C 
Node-B 
Node-A 
④Client libraries hash the key and use % N to determine where it should go 
the next largest location on the ring 
where a server is mapped 
“one shardingstrategy to rule them all…”
Memory & 
monitoring

Recommended for you

Rocking the enterprise with Ruby - RubyKaigi 2010
Rocking the enterprise with Ruby - RubyKaigi 2010Rocking the enterprise with Ruby - RubyKaigi 2010
Rocking the enterprise with Ruby - RubyKaigi 2010

Scaling Ruby applications and redesigning them to fit the enterprise. This talk will bring together techniques and tips we used to run a largescale enterprise in Ruby.

rubykaigi2010ruby
AWS Route53
AWS Route53AWS Route53
AWS Route53

This document provides an overview of Amazon Route 53 DNS services including: - IPv4 and IPv6 address spaces and how Route 53 resolves domain names to IP addresses using A records. - Common DNS record types like NS, SOA, CNAME and how they work. - Route 53 routing policies for controlling traffic like simple, weighted, latency, failover and geolocation routing. - How alias records can simplify configuration by automatically reflecting changes to referenced resources. - A example of setting up Route 53 with domains, record sets, Elastic Load Balancers and instances across regions.

route53zekelabsrecord types
Running PHP on Nginx
Running PHP on NginxRunning PHP on Nginx
Running PHP on Nginx

This document provides tips and tricks for optimizing website performance. It discusses running PHP applications on Nginx instead of Apache to improve request handling efficiency. Specific optimizations covered include using PHP-FPM or HHVM as PHP run modes, caching static assets and database queries, and leveraging Nginx caching features like FastCGI caching and integration with Memcached. Migrating to Nginx from Apache and optimizing the PHP and Nginx configuration can significantly improve a website's performance and ability to handle high traffic loads.

phpdynatracenginx
NO MORE 
MEMORY! 
Slab Class 42 
Chunk Size: 1MB 
Chunks/Pg: 1 
> stats slabs 
Slab Class 27 
Chunk Size: 42KB 
Chunks/Pg: 24 
Slab Class 15 
Chunk Size: 1800B 
Chunks/Pg: 582 
Slab Class 1 
Chunk Size: 96B 
Chunks/Pg: 10922 
Memory pool
>stats cachedump1 100 
ITEM mykey3 [4 b; 1414372065 s] 
>stats slabs 
STAT 1:used_chunks 1 
>getmykey3 
END 
>stats cachedump1 100 
END 
>stats slabs 
STAT 1:used_chunks 0 
Example
Source: 
http://blog.elijaa.org/index.php?pages/phpMemcachedAdmin-Download 
Alarms
Use cases

Recommended for you

Memcached
MemcachedMemcached
Memcached

Memcached is a free and open-source distributed memory caching system that can be used to speed up dynamic web applications by reducing database load. It stores objects in memory to return frequently or recently used results very quickly. Common things to cache include query results, objects with heavy calculations, and anything that takes time to generate like database calls, API calls, or page rendering. The memcached client knows all memcached servers and hashes keys to determine which server to store or retrieve each object from. Objects are stored using keys and have a maximum size of 1MB. Commands like get, set, add, delete are used to interact with the cache.

AWS re:Invent 2016: Deep Dive on Amazon Elastic Block Store (STG301)
AWS re:Invent 2016: Deep Dive on Amazon Elastic Block Store (STG301)AWS re:Invent 2016: Deep Dive on Amazon Elastic Block Store (STG301)
AWS re:Invent 2016: Deep Dive on Amazon Elastic Block Store (STG301)

In this popular session, you will learn about the latest features and use cases for Amazon EBS, including best practices, an overview of newly introduced features, and brand-new re:Invent announcements. In particular we will cover the expanded portoflio of volume types, including provisioned IOPS, cold storage, and throughput-optimized. This session will help database admins and application architects understand how to blend performance and cost with applicaitns for big data analytics, data warehousing, and transactional and NoSQL databases.

amazon web servicesrob alexanderaws cloud
Deep Dive into Amazon ElastiCache Architecture and Design Patterns (DAT307) |...
Deep Dive into Amazon ElastiCache Architecture and Design Patterns (DAT307) |...Deep Dive into Amazon ElastiCache Architecture and Design Patterns (DAT307) |...
Deep Dive into Amazon ElastiCache Architecture and Design Patterns (DAT307) |...

Peek behind the scenes to learn about Amazon ElastiCache's design and architecture. See common design patterns of our Memcached and Redis offerings and how customers have used them for in-memory operations and achieved improved latency and throughput for applications. During this session, we review best practices, design patterns, and anti-patterns related to Amazon ElastiCache. We also include a demo where we enable Amazon ElastiCache for a web application and show the resulting performance improvements.

memcachedredisaws
ELB 
App 
External APIs
# Python pseudocode: 
defget_user(user_id): 
# Check the cache 
record = cache.get(user_id) 
if record is None: 
# Run a DB query 
record = db.query("select * from users where id = ?",user_id) 
# Populate the cache 
cache.set(user_id, record) 
return record 
# App code 
user = get_user(17)
# Python pseudocode 
defsave_user(user_id, values): 
# Save to DB 
record = db.query("update users ... where id = ?", 
user_id, values) 
# Push into cache 
cache.set(user_id, record) 
return record 
# App code 
user = save_user(17, {"name": ”Sauron"})
1) Install “memcache” 
e.g. ‘yum install 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: 
Reference: 
http://php.net/manual/en/book.memcache.php 
*strange memcachebug needs n+1 
PHP Example

Recommended for you

AWS re:Invent 2016: ElastiCache Deep Dive: Best Practices and Usage Patterns ...
AWS re:Invent 2016: ElastiCache Deep Dive: Best Practices and Usage Patterns ...AWS re:Invent 2016: ElastiCache Deep Dive: Best Practices and Usage Patterns ...
AWS re:Invent 2016: ElastiCache Deep Dive: Best Practices and Usage Patterns ...

In this session, we provide a peek behind the scenes to learn about Amazon ElastiCache's design and architecture. See common design patterns with our Redis and Memcached offerings and how customers have used them for in-memory operations to reduce latency and improve application throughput. During this session, we review ElastiCache best practices, design patterns, and anti-patterns.

aws clouddat306amazon web services
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersScaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million Users

AWS Summit 2014 Melbourne - Breakout 5 Cloud computing gives you a number of advantages, such as being able to scale your application on demand. As a new business looking to use the cloud, you inevitably ask yourself, "Where do I start?" Join us in this session to understand best practices for scaling your resources from zero to millions of users. We will show you how to best combine different AWS services, make smarter decisions for architecting your application, and best practices for scaling your infrastructure in the cloud. Presenter: Craig Dickson, Solutions Architect, Amazon Web Services

amazon web servicesawssummitawssummit2014melbourne
(ADV303) MediaMath’s Data Revolution with Amazon Kinesis and Amazon EMR | AWS...
(ADV303) MediaMath’s Data Revolution with Amazon Kinesis and Amazon EMR | AWS...(ADV303) MediaMath’s Data Revolution with Amazon Kinesis and Amazon EMR | AWS...
(ADV303) MediaMath’s Data Revolution with Amazon Kinesis and Amazon EMR | AWS...

Collecting and processing terabytes of data per day is a challenge for any technology company. As marketers and brands become more sophisticated consumers of data, enabling granular levels of access to targeted subsets of data from outside your firewalls presents new challenges. This session discusses how to build scalable, complex, and cost-effective data processing pipelines using Amazon Kinesis, Amazon EC2 Spot Instances, Amazon EMR, and Amazon Simple Storage Service (S3). Learn how MediaMath revolutionized their data delivery platform with the help of these services to empower product teams, partners, and clients. As a result, a number of innovative products and services are delivered on top of terabytes of online user behavior. MediaMath covers their journey from legacy batch processing and vendor lock-in to a new world where the raw materials to build advanced lookalike models, optimization algorithms, or marketing attribution models are readily available to any engineering team in real time, substantially reducing the time - and cost - of innovation.

amazon web servicesaws cloudlanyon
Source https://github.com/martinrusev/django-redis-sessions 
1) Install django-redis-sessions: 
’pip install django-redis-sessions’ 
2) Modify ‘settings.py’: 
SESSION_ENGINE = 'redis_sessions.session' 
SESSION_REDIS_HOST = 'mycache.hnou5c.ng.0001.usw2.cache.amazonaws.com' 
SESSION_REDIS_PREFIX = 'djangosession’ 
3) Confirm sessions are now backed by redis: 
mycache.hnou5c.ng.0001.usw2.cache.amazonaws.com:6379> keys "djangosession*" 
1) "djangosession:rm6az4eesd7ruc5sibbmf6rlhrwinevs" 
Djangoexample
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
Resque 
Ruby based 
Redis-Queue 
Python based 
http://python-rq.org 
http://github.com/resque
Visualization 
Analysis 
Data 
Sequencing 
Collection

Recommended for you

Deploy, Scale and Manage your Microsoft Investments with AWS
Deploy, Scale and Manage your Microsoft Investments with AWSDeploy, Scale and Manage your Microsoft Investments with AWS
Deploy, Scale and Manage your Microsoft Investments with AWS

AWS Summit 2014 Perth - Breakout 1 Many IT professionals are using Amazon Web Services (AWS) to deploy, scale and manage fully supported Microsoft Windows Server workloads and Windows Server applications such as SharePoint Server, SQL Server, and Microsoft Exchange Server that are fully supported on the AWS Cloud. Attend this session to find out: - How to determine your licensing strategy in the cloud - Modernizing your Windows 2003 Servers applications before End of Support - AWS .net benefits and services and many more

amazon web servicesawssummit2014perthawssummit
(SEC312) Taking a DevOps Approach to Security | AWS re:Invent 2014
(SEC312) Taking a DevOps Approach to Security | AWS re:Invent 2014(SEC312) Taking a DevOps Approach to Security | AWS re:Invent 2014
(SEC312) Taking a DevOps Approach to Security | AWS re:Invent 2014

This document summarizes a presentation on taking a DevOps approach to security. Some key points include: DevOps improves security posture through practices like configuration management, automation, and immutable infrastructure. However, security tools have not kept pace with DevOps velocity. The presentation advocates integrating security practices into DevOps workflows, such as through continuous security testing, centralized logging, and managing vulnerabilities through standardized base images. Moving forward, software-defined security can help leverage cloud visibility and automate security responses in real-time.

george mirandaawscloud computing
Running your First Application on AWS
Running your First Application on AWSRunning your First Application on AWS
Running your First Application on AWS

The document discusses building a mobile application on AWS that is location-centric and connects with the user's mobile device. It describes using AWS services like Elastic Beanstalk, EC2, S3, DynamoDB, SQS, and CloudFront to develop a minimum viable product within 2.5 days that demonstrates key AWS concepts. The core architecture involves using Elastic Beanstalk for application deployment, EC2 and EBS for compute and storage, DynamoDB for session storage, SQS for pushing content, and CloudFront for content delivery. Visual Studio is used to develop and publish the application directly to AWS.

awssummitawssummit2014melbourneamazon web services
•Use cases: 
•In-app messaging 
•Web chat windows 
•Online game invite/chat 
•Not persistent 
•More details: 
http://www.rediscookbook.org 
•Using Pub/Sub for asynchronous communication 
SUBSCRIBE “mordor:chat” 
SUBSCRIBE “mordor:chat” 
SUBSCRIBE “mordor:chat” 
SUBSCRIBE “mordor:chat” 
PUBLISH “mordor:chat” “I’ve got my eye on you!” 
I've got my eye on you! 
I've got my eye on you! 
I've got my eye on you! 
I've got my eye on you! 
(integer) 4 
> 
> 
> 
> 
>
http://goldfirestudios.com/blog/136/Horizontally-Scaling-Node.js-and-WebSockets-with-Redis 
sub.on('message', function(channel, msg) { 
for (vari=0; i<clients.length; i++) { 
clients[i].write(msg); 
} 
}); 
varclients = []; 
varecho = sockjs.createServer(); 
echo.on('connection', function(conn) { 
clients.push(conn); 
conn.on('data', function(message) { 
for (vari=0; i<clients.length; i++) { 
clients[i].write(message); 
} 
}); 
}); 
Node.jsexample 
npminstall node-redis 
varredis= require(’node-redis'); 
varpub = redis.createClient(port, host); 
varsub = redis.createClient(port, host); 
sub.subscribe(’websocket'); 
pub.publish(’websocket', message); 
// setup redisand pub/sub conn, subscribe to topic 
// on msgreceived,publish to all connected clients 
// on incoming msg, publish messages to redis
Not if I destroy it first! 
It’s mine! 
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 
Example 
defsave_score(user, score): 
redis.zadd("leaderboard", score, user) 
defget_rank(user) 
return redis.zrevrank(user) + 1
/foo 
http { 
... 
include includes/memc-backend.conf 
... 
server { 
# GET /foo?cmd=get&key=bar 
location /foo { 
set $memc_cmd$arg_cmd; 
set $memc_key$arg_key; 
memc_cmds_allowedget; 
memc_connect_timeout5s; 
memc_passbackend; 
} 
} 
-includes/memc-backend.conf 
upstream backend { 
server 172.16.1.1:11211; 
server 172.16.1.2:11211; 
}

Recommended for you

Storage and Archiving Options on AWS
Storage and Archiving Options on AWS Storage and Archiving Options on AWS
Storage and Archiving Options on AWS

AWS Summit 2014 Melbourne - Breakout 1 Businesses of all sizes are archiving their data to the AWS Cloud in order to reduce costs while taking advantage of highly secure, highly durable, and simple cloud based storage services. With AWS, you pay as you go and you can scale up and down as required. With your data stored in the AWS Cloud, it’s easy to use other Amazon Web Services to take advantage of additional cost savings and benefits. Amazon storage services remove the need for complex and time-consuming capacity planning, ongoing negotiations with multiple hardware and software vendors, specialized training, and maintenance of offsite facilities or transportation of storage media to third party offsite locations. Amazon Web Services now offers a robust set of hybrid storage solutions for customers that currently operate and maintain data centers. Our Next Generation Enterprise Storage strategy has at its heart Amazon S3. This highly scalable, extremely durable storage service combines with a diverse set of Cloud Storage Gateways to provide businesses with a new approach to Enterprise storage. Presenter: Jeff Putt, Business Development Manager, APAC, Amazon Web Services

awssummitamazon web servicesawssummit2014melbourne
(SEC306) Turn on CloudTrail: Log API Activity in Your AWS Account | AWS re:In...
(SEC306) Turn on CloudTrail: Log API Activity in Your AWS Account | AWS re:In...(SEC306) Turn on CloudTrail: Log API Activity in Your AWS Account | AWS re:In...
(SEC306) Turn on CloudTrail: Log API Activity in Your AWS Account | AWS re:In...

Sivakanth Mundru presented on Amazon Web Services CloudTrail. CloudTrail continuously records API calls made on AWS services and delivers log files to customers. The number of supported services has grown from 7 to over 30. CloudTrail logs can be used to determine who made a call, when, what action was performed, which resources were involved, and from/to where. It also records client errors, server errors, and authorization failures. Customers can aggregate logs across regions and accounts.

cloudhealthcare & life sciencesinc.
AWS Activate Webinar - Improving customer experience & growing addressable m...
AWS Activate Webinar  - Improving customer experience & growing addressable m...AWS Activate Webinar  - Improving customer experience & growing addressable m...
AWS Activate Webinar - Improving customer experience & growing addressable m...

Startups face a range of challenges as they build their MVP, strategize ways to grow their business while keeping tabs on expenses. These can be overcome by having the right tools and support teams. Our customers in their early phases have benefited from using Amazon Cloudfront in scaling their business on demand across various markets and technologies, creating top-notch customer experience, and cutting costs significantly by integrating Amazon CloudFront in their overall architecture. Also listen to Michael Smith Jr., Chief Product Officer, Spuul, the largest Indian online video site who shared their early challenges and how the AWS Cloud helped Spuul to deliver a superior and consistent customer experience along with best practices and tips for startups

amazon web servicesstartupsaws
Tying it together
ElastiCache 
+ 
− 
SNS SQS 
Auto Scaling 
API 
Auto Scaling Group 
Gossip Protocol 
S S S S S 
S 
S 
S 
S 
S 
S 
S 
S 
S 
S 
S 
?) Changes in Cache 
?) Changes in ASG 
> Notify Serf Agent 
Python Script:
Python pseudocode
Remember: 
•Neither cache engine has any significant or inherent notion of authentication or encryption 
•Launch your cache clusters in privatesubnets inside your VPC 
•Use appropriate security groupaccess to control access to your cache nodes 
Where to go from here? 
•Automate your cluster activity 
•Take advantage of Multi-AZ 
•Look for new cache use cases 
•Use Amazon SNS and monitoring 
Security

Recommended for you

(ENT203) Iterating Your Way To 95% Reserved Instance Usage | AWS re:Invent 2014
(ENT203) Iterating Your Way To 95% Reserved Instance Usage | AWS re:Invent 2014(ENT203) Iterating Your Way To 95% Reserved Instance Usage | AWS re:Invent 2014
(ENT203) Iterating Your Way To 95% Reserved Instance Usage | AWS re:Invent 2014

Managing a large portfolio of reservations across an ever-changing infrastructure requires a sophisticated and systematic approach. Attendees in this session walk away with a strategy for maximizing Reserved Instance (RI) coverage in their organization, as well as an understanding of specific tools and tactics to put that strategy into action. Sponsored by Cloudability. Topics include: - Reducing cycle times on the RI buying process - Building a RI-friendly architecture - Implementing a buy-measure-learn methodology that adapts to change

reinvent2014introductoryamazon ec2
T4 – Understanding aws security
T4 – Understanding aws securityT4 – Understanding aws security
T4 – Understanding aws security

This document summarizes a presentation about security on AWS. It discusses that security is a shared responsibility between AWS and customers. AWS provides security capabilities across people and procedures, network security, physical security, and platform security. Customers are responsible for security controls like access management, data handling, and incident response. The presentation emphasizes that customers have visibility, auditability, and control over their environments on AWS to securely manage access, encrypt data, and monitor systems. It provides examples of how AWS services like CloudTrail, IAM, and encryption help customers securely use AWS.

awsamsterdam2014security
(ARC206) Architecting Reactive Applications on AWS | AWS re:Invent 2014
(ARC206) Architecting Reactive Applications on AWS | AWS re:Invent 2014(ARC206) Architecting Reactive Applications on AWS | AWS re:Invent 2014
(ARC206) Architecting Reactive Applications on AWS | AWS re:Invent 2014

Application requirements have changed dramatically in recent years, requiring millisecond or even microsecond response times and 100 percent uptime. This change has led to a new wave of andquot;reactive applicationsandquot; with architectures that are event-driven, scalable, resilient, and responsive. In this session, we present the blueprint for building reactive applications on AWS. We compare reactive architecture to the classic n-tier architecture and discuss how it is cost-efficient and easy to implement using AWS. Next, we walk through how to design, build, deploy, and run reactive applications in the AWS cloud, delivering highly responsive user experiences with a real-time feel. This architecture uses Amazon EC2 instances to implement server push to broadcast events to application clients; AWS messaging (Amazon SQS/SNS); Amazon SWF to decouple system components; Amazon DynamoDB to minimize contention; and Elastic Load Balancing, Auto Scaling, Availability Zones, Amazon VPC, and Amazon Route 53 to make reactive applications scalable and resilient.

load balancingamazon swfperformance
Frank Wiebe 
Principal Scientist, Adobe
(SDD402) Amazon ElastiCache Deep Dive | AWS re:Invent 2014
MONETIZE 
MEASURE 
MAKE 
MANAGE
~12,000 
32 
$4.06B 
2.8+ M 
64%

Recommended for you

(BAC304) Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum...
(BAC304) Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum...(BAC304) Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum...
(BAC304) Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum...

"In the event of a disaster, you need to be able to recover lost data quickly to ensure business continuity. For critical applications, keeping your time to recover and data loss to a minimum as well as optimizing your overall capital expense can be challenging. This session presents AWS features and services along with Disaster Recovery architectures that you can leverage when building highly available and disaster resilient applications. We will provide recommendations on how to improve your Disaster Recovery plan and discuss example scenarios showing how to recover from a disaster. We will also include a real life customer example of a deployment using AWS for High Availability and Disaster Recovery.

backup & disaster recoveryamazon glaciercloud
10 Pro Tips for scaling your startup from 0-10M users
10 Pro Tips for scaling your startup from 0-10M users10 Pro Tips for scaling your startup from 0-10M users
10 Pro Tips for scaling your startup from 0-10M users

The document provides 10 tips for scaling a startup from 0-10M users using AWS services: 1. Learn early and often through iterative development. 2. Focus on building a simple product that works well rather than features. 3. Leverage AWS services to avoid solving problems yourself. 4. Focus less on infrastructure management and more on scaling core services. 5. Use auto-scaling to optimize resource usage. 6. Design for distributed systems and fault tolerance from the start. 7. Analyze data to continuously improve products and user experience. 8. Control costs as your user base grows through reserved instances and analytics. 9. Optimize static content delivery through S3 and

echelonthailandpieterkempsaws
Real time data analytics - part 1 - backend infrastructure
Real time data analytics - part 1 - backend infrastructureReal time data analytics - part 1 - backend infrastructure
Real time data analytics - part 1 - backend infrastructure

Building a real time data analysis infrastructure is a challenging task that requires experienced engineers. With AWS services, you can do it in a matter of minutes, scale it easily to handle almost unlimited load, and keep it as a low cost infrastructure. This session is an opportunity to see a live demo on building an infrastructure using a combination of Amazon Kinesis, Redshift, DynamoDB, EMR and CloudSearch, to collect, process and share data.

tel-aviv 2014summitaws
(SDD402) Amazon ElastiCache Deep Dive | AWS re:Invent 2014
Use case 
Requirements 
Deployment 
•Multiple Memcached clusters distributed across multiple AZs
(SDD402) Amazon ElastiCache Deep Dive | AWS re:Invent 2014
High availability 
Low latency 
Secure 
Multiple region deployment 
Multi-AZ in each region 
VPC, VPC peering 
Auto-scaling 
WAFWebProxyWAFWebProxyWAFNginxProxyElastic Load BalancerVPCMediation Layer (optional) APIServiceProvidersVPC PeeringVPCAPIServiceProvidersVPCAPIServiceProvidersVPCShared CacheRoute53adobe.ioPoliciesMobile AppsAPI Consumer API Publisher API Product Mgr API Platform Admin Subscription, Usage, Performance, Geographic Distribution, Resource usage, Financials Publish API/SDK Throttling Rate Limiting Security API Service Plans Platform mgmt Analytics Discovery Subscribe SupportAPI Gateway Expose endpoint Web App Firewall API security enforcement Anomaly detection Throttling / Rate limiting Data collection API Key Manager Integration Identity Manager integration Mediation Layer SOAP <--> REST Desktop Apps

Recommended for you

Public IaaS Provider Bake-off - AWS vs Azure
Public IaaS Provider Bake-off - AWS vs Azure Public IaaS Provider Bake-off - AWS vs Azure
Public IaaS Provider Bake-off - AWS vs Azure

Functional overview of Gartner's in-depth assessment of AWS and Azure and the decision factors that customers can use to decide between them.

cloud computingaws cloudaws
AWS Deployment Best Practices - AWS Symposium 2014 - Washington D.C.
AWS Deployment Best Practices - AWS Symposium 2014 - Washington D.C. AWS Deployment Best Practices - AWS Symposium 2014 - Washington D.C.
AWS Deployment Best Practices - AWS Symposium 2014 - Washington D.C.

Description: This session will feature best practices in the real world for deploying AWS cloud services. You will hear about cloud use cases, governance, security, cloud architecture, optimizing costs, and leveraging appropriate support offerings. The session will provide insight into experience from hundreds of government customers’ AWS adoption and highlight lessons learned along the way.

dc symposium 2014cloud computingtim bixler
(SEC313) Updating Security Operations for the Cloud | AWS re:Invent 2014
(SEC313) Updating Security Operations for the Cloud | AWS re:Invent 2014(SEC313) Updating Security Operations for the Cloud | AWS re:Invent 2014
(SEC313) Updating Security Operations for the Cloud | AWS re:Invent 2014

Learn how to increase the effectiveness of your security operations as you move to the cloud. This session for architects and IT administrators covers considerations for optimizing your incident response, monitoring, and audit response tactics to take advantage of built-in capabilities in AWS. This session provides practical advice you can apply today, pulled from industry research, direct experience helping customers migrate to the cloud, and from the speaker's own hard-earned lessons. Sponsored by Trend Micro.

awsdevopstrend micro
Use case 
Requirements 
Deployment 
•Primary cluster with multiple read replica clusters distributed across multiple AZs in an Amazon region 
•API request volume has grown from 1M/day (March 2014) to 21M+ per day(October 2014) 
–over 1B API requests served 
Availability Zone 2 
Auto scaling Group 
Availability Zone 1 
Amazon Region 
Replication Group 
Primary Cluster Read Replica Cluster 
Asynchronous 
Replication 
Virtual Private Cloud 
Cache 
Security 
Group 
Cache 
Parameter 
Group 
Cache 
Security 
Group 
Cache 
Parameter 
Group 
API 
Gateway 
Web 
Proxy 
Web 
Proxy 
Redis Redis 
Amazon Region 
Virtual Private Cloud 
Auto scaling Group 
Availability Zone 1 Availability Zone 2 
Replication Group 
Read Replica 
Primary Cluster Cluster 
Redis 
2.6.13 
Read Replica 
Cluster 
Local 
Cache 
Local 
Cache 
Web Proxy Web Proxy
(SDD402) Amazon ElastiCache Deep Dive | AWS re:Invent 2014
(SDD402) Amazon ElastiCache Deep Dive | AWS re:Invent 2014

Recommended for you

Breaking IO Performance Barriers: Scalable Parallel File System for AWS
Breaking IO Performance Barriers: Scalable Parallel File System for AWSBreaking IO Performance Barriers: Scalable Parallel File System for AWS
Breaking IO Performance Barriers: Scalable Parallel File System for AWS

Across all industries worldwide, HPC is helping innovative users achieve breakthrough results—from leading edge academic research to data-intensive applications, such as weather prediction and large-scale manufacturing in the aerospace and automotive sectors. As HPC-powered simulations continue to grow ever larger and more complex, scientists are looking for cost-effective high performance compute resources that's available when they need it. Access to on-demand infrastructure allows opportunities to experiment and try new speculative models. AWS provides computing infrastructure that allows scientists and engineers to solve complex science, engineering, and business problems using applications that require high bandwidth, low latency networking, and very high compute capabilities. Driven by its flexibility and affordability, many HPC and big data workloads are transitioning from on premise entirely onto AWS. But like on-premises HPC, maximizing application of ""HPC cloud"" workloads requires fast and highly scalable storage. Intel® Cloud Edition for Lustre Software has been purpose-built for use with the dynamic computing resources available from Amazon Web Services to provide the fast, massively scalable storage software resources needed to accelerate performance, even on complex workloads.

aws summit 2014cloud computing2014 aws summit new york
X64服务器 lnmp服务器部署标准 new
X64服务器 lnmp服务器部署标准 newX64服务器 lnmp服务器部署标准 new
X64服务器 lnmp服务器部署标准 new

The document provides guidelines for deploying an L.N.M.P environment on a 64-bit server. It specifies directory locations for source code, installed software, scripts and logs. It also outlines steps to update the system, install and configure MySQL, Nginx, PHP and other packages, including compiling Nginx with specific modules and options, setting Nginx as a service, and enabling syntax highlighting for Nginx configuration files.

DevOps Fest 2019. Сергей Марченко. Terraform: a novel about modules, provider...
DevOps Fest 2019. Сергей Марченко. Terraform: a novel about modules, provider...DevOps Fest 2019. Сергей Марченко. Terraform: a novel about modules, provider...
DevOps Fest 2019. Сергей Марченко. Terraform: a novel about modules, provider...

В Dev-Pro DevOps-специалисты работают с Terraform в рамках Azure. Команда работает с множеством окружений и ресурсов, среди которых есть AKS (Kubernetes). Сергей поделится опытом успешного написания модулей и провайдеров для Terraform.

#devopsfest2019#devopsfest
(SDD402) Amazon ElastiCache Deep Dive | AWS re:Invent 2014
ElastiCache for Memcached 
•Node size 
–http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheNode.Memcached.html 
•Tuning 
–http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html - CacheParameterGroups.Memcached.ConnectionOverhead 
•Cross AZ deployments 
–Distribute nodes of Memcached cluster across multiple AZs 
ElastiCache for Redis 
•Node size 
–http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheNode.Redis.html 
•Tuning 
–Redis is single threaded, so choosing a cache node type with a faster processor speed will provide better throughput 
•Cross AZ deployments 
–ElastiCache for Redis supports single node Redis clusters only 
–Ensure that read replica cluster is in different AZ than primary cluster 
Changing sizes is a disruptive operation, so choose node size carefully!
https://github.com/Netflix/Hystrix
(SDD402) Amazon ElastiCache Deep Dive | AWS re:Invent 2014

Recommended for you

Percona Live 2017 ­- Sharded cluster tutorial
Percona Live 2017 ­- Sharded cluster tutorialPercona Live 2017 ­- Sharded cluster tutorial
Percona Live 2017 ­- Sharded cluster tutorial

This document provides an overview of how to set up and manage a MongoDB sharded cluster. It describes the key components of a sharded cluster including shards, config servers, and mongos query routers. It then provides step-by-step instructions for deploying, upgrading, and troubleshooting a sharded cluster. The document explains how to configure shards, config servers, and mongos processes. It also outlines best practices for upgrading between minor and major versions of MongoDB.

big datamongodbshard key
DUG'20: 12 - DAOS in Lenovo’s HPC Innovation Center
DUG'20: 12 - DAOS in Lenovo’s HPC Innovation CenterDUG'20: 12 - DAOS in Lenovo’s HPC Innovation Center
DUG'20: 12 - DAOS in Lenovo’s HPC Innovation Center

Michael Hennecke, Chief Technologist, HPC Storage and Networking, Lenovo DAOS User Group event, November 2020.

대용량 데이타 쉽고 빠르게 분석하기 :: 김일호 솔루션즈 아키텍트 :: Gaming on AWS 2016
대용량 데이타 쉽고 빠르게 분석하기 :: 김일호 솔루션즈 아키텍트 :: Gaming on AWS 2016대용량 데이타 쉽고 빠르게 분석하기 :: 김일호 솔루션즈 아키텍트 :: Gaming on AWS 2016
대용량 데이타 쉽고 빠르게 분석하기 :: 김일호 솔루션즈 아키텍트 :: Gaming on AWS 2016

1. The document demonstrates how to use various AWS services like Kinesis, Redshift, Elasticsearch to analyze streaming game log data. 2. It shows setting up an EC2 instance to generate logs, creating a Kinesis stream to ingest the logs, and building Redshift tables to run queries on the logs. 3. The document also explores loading the logs from Kinesis into Elasticsearch for search and linking Kinesis and Redshift with Kinesis Analytics for real-time SQL queries on streams.

gaming on aws 2016
** 
** Based on benchmark testing done before the announcement on 10/24. See AWS blog article titled Multi-AZ Support/Auto Failover for ElastiCache for Redis.
(SDD402) Amazon ElastiCache Deep Dive | AWS re:Invent 2014
Please give us your feedback on this session. 
Complete session evaluations and earn re:Invent swag. 
http://bit.ly/awsevals

More Related Content

What's hot

(BDT305) Lessons Learned and Best Practices for Running Hadoop on AWS | AWS r...
(BDT305) Lessons Learned and Best Practices for Running Hadoop on AWS | AWS r...(BDT305) Lessons Learned and Best Practices for Running Hadoop on AWS | AWS r...
(BDT305) Lessons Learned and Best Practices for Running Hadoop on AWS | AWS r...
Amazon Web Services
 
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
Amazon Web Services
 
Configuring Your First Hadoop Cluster On EC2
Configuring Your First Hadoop Cluster On EC2Configuring Your First Hadoop Cluster On EC2
Configuring Your First Hadoop Cluster On EC2
benjaminwootton
 
(NET308) Consolidating DNS Data in the Cloud with Amazon Route 53
(NET308) Consolidating DNS Data in the Cloud with Amazon Route 53(NET308) Consolidating DNS Data in the Cloud with Amazon Route 53
(NET308) Consolidating DNS Data in the Cloud with Amazon Route 53
Amazon Web Services
 
Hadoop security
Hadoop securityHadoop security
Hadoop security
shrey mehrotra
 
Improving HDFS Availability with Hadoop RPC Quality of Service
Improving HDFS Availability with Hadoop RPC Quality of ServiceImproving HDFS Availability with Hadoop RPC Quality of Service
Improving HDFS Availability with Hadoop RPC Quality of Service
Ming Ma
 
Wordpress optimization
Wordpress optimizationWordpress optimization
Wordpress optimization
Almog Baku
 
Data Analytics Service Company and Its Ruby Usage
Data Analytics Service Company and Its Ruby UsageData Analytics Service Company and Its Ruby Usage
Data Analytics Service Company and Its Ruby Usage
SATOSHI TAGOMORI
 
Top ten-list
Top ten-listTop ten-list
Top ten-list
Brian DeShong
 
Boost your website by running PHP on Nginx
Boost your website by running PHP on NginxBoost your website by running PHP on Nginx
Boost your website by running PHP on Nginx
Harald Zeitlhofer
 
Deep Learning for Developers
Deep Learning for DevelopersDeep Learning for Developers
Deep Learning for Developers
Amazon Web Services
 
DjangoCon 2010 Scaling Disqus
DjangoCon 2010 Scaling DisqusDjangoCon 2010 Scaling Disqus
DjangoCon 2010 Scaling Disqus
zeeg
 
Hybrid Cloud PHPUK2012
Hybrid Cloud PHPUK2012Hybrid Cloud PHPUK2012
Hybrid Cloud PHPUK2012
Combell NV
 
Tips, Tricks & Best Practices for large scale HDInsight Deployments
Tips, Tricks & Best Practices for large scale HDInsight DeploymentsTips, Tricks & Best Practices for large scale HDInsight Deployments
Tips, Tricks & Best Practices for large scale HDInsight Deployments
Ashish Thapliyal
 
Hadoop engineering bo_f_final
Hadoop engineering bo_f_finalHadoop engineering bo_f_final
Hadoop engineering bo_f_final
Ramya Sunil
 
Rocking the enterprise with Ruby - RubyKaigi 2010
Rocking the enterprise with Ruby - RubyKaigi 2010Rocking the enterprise with Ruby - RubyKaigi 2010
Rocking the enterprise with Ruby - RubyKaigi 2010
releasebeta
 
AWS Route53
AWS Route53AWS Route53
Running PHP on Nginx
Running PHP on NginxRunning PHP on Nginx
Running PHP on Nginx
Harald Zeitlhofer
 
Memcached
MemcachedMemcached
AWS re:Invent 2016: Deep Dive on Amazon Elastic Block Store (STG301)
AWS re:Invent 2016: Deep Dive on Amazon Elastic Block Store (STG301)AWS re:Invent 2016: Deep Dive on Amazon Elastic Block Store (STG301)
AWS re:Invent 2016: Deep Dive on Amazon Elastic Block Store (STG301)
Amazon Web Services
 

What's hot (20)

(BDT305) Lessons Learned and Best Practices for Running Hadoop on AWS | AWS r...
(BDT305) Lessons Learned and Best Practices for Running Hadoop on AWS | AWS r...(BDT305) Lessons Learned and Best Practices for Running Hadoop on AWS | AWS r...
(BDT305) Lessons Learned and Best Practices for Running Hadoop on AWS | AWS r...
 
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
 
Configuring Your First Hadoop Cluster On EC2
Configuring Your First Hadoop Cluster On EC2Configuring Your First Hadoop Cluster On EC2
Configuring Your First Hadoop Cluster On EC2
 
(NET308) Consolidating DNS Data in the Cloud with Amazon Route 53
(NET308) Consolidating DNS Data in the Cloud with Amazon Route 53(NET308) Consolidating DNS Data in the Cloud with Amazon Route 53
(NET308) Consolidating DNS Data in the Cloud with Amazon Route 53
 
Hadoop security
Hadoop securityHadoop security
Hadoop security
 
Improving HDFS Availability with Hadoop RPC Quality of Service
Improving HDFS Availability with Hadoop RPC Quality of ServiceImproving HDFS Availability with Hadoop RPC Quality of Service
Improving HDFS Availability with Hadoop RPC Quality of Service
 
Wordpress optimization
Wordpress optimizationWordpress optimization
Wordpress optimization
 
Data Analytics Service Company and Its Ruby Usage
Data Analytics Service Company and Its Ruby UsageData Analytics Service Company and Its Ruby Usage
Data Analytics Service Company and Its Ruby Usage
 
Top ten-list
Top ten-listTop ten-list
Top ten-list
 
Boost your website by running PHP on Nginx
Boost your website by running PHP on NginxBoost your website by running PHP on Nginx
Boost your website by running PHP on Nginx
 
Deep Learning for Developers
Deep Learning for DevelopersDeep Learning for Developers
Deep Learning for Developers
 
DjangoCon 2010 Scaling Disqus
DjangoCon 2010 Scaling DisqusDjangoCon 2010 Scaling Disqus
DjangoCon 2010 Scaling Disqus
 
Hybrid Cloud PHPUK2012
Hybrid Cloud PHPUK2012Hybrid Cloud PHPUK2012
Hybrid Cloud PHPUK2012
 
Tips, Tricks & Best Practices for large scale HDInsight Deployments
Tips, Tricks & Best Practices for large scale HDInsight DeploymentsTips, Tricks & Best Practices for large scale HDInsight Deployments
Tips, Tricks & Best Practices for large scale HDInsight Deployments
 
Hadoop engineering bo_f_final
Hadoop engineering bo_f_finalHadoop engineering bo_f_final
Hadoop engineering bo_f_final
 
Rocking the enterprise with Ruby - RubyKaigi 2010
Rocking the enterprise with Ruby - RubyKaigi 2010Rocking the enterprise with Ruby - RubyKaigi 2010
Rocking the enterprise with Ruby - RubyKaigi 2010
 
AWS Route53
AWS Route53AWS Route53
AWS Route53
 
Running PHP on Nginx
Running PHP on NginxRunning PHP on Nginx
Running PHP on Nginx
 
Memcached
MemcachedMemcached
Memcached
 
AWS re:Invent 2016: Deep Dive on Amazon Elastic Block Store (STG301)
AWS re:Invent 2016: Deep Dive on Amazon Elastic Block Store (STG301)AWS re:Invent 2016: Deep Dive on Amazon Elastic Block Store (STG301)
AWS re:Invent 2016: Deep Dive on Amazon Elastic Block Store (STG301)
 

Viewers also liked

Deep Dive into Amazon ElastiCache Architecture and Design Patterns (DAT307) |...
Deep Dive into Amazon ElastiCache Architecture and Design Patterns (DAT307) |...Deep Dive into Amazon ElastiCache Architecture and Design Patterns (DAT307) |...
Deep Dive into Amazon ElastiCache Architecture and Design Patterns (DAT307) |...
Amazon Web Services
 
AWS re:Invent 2016: ElastiCache Deep Dive: Best Practices and Usage Patterns ...
AWS re:Invent 2016: ElastiCache Deep Dive: Best Practices and Usage Patterns ...AWS re:Invent 2016: ElastiCache Deep Dive: Best Practices and Usage Patterns ...
AWS re:Invent 2016: ElastiCache Deep Dive: Best Practices and Usage Patterns ...
Amazon Web Services
 
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersScaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million Users
Amazon Web Services
 
(ADV303) MediaMath’s Data Revolution with Amazon Kinesis and Amazon EMR | AWS...
(ADV303) MediaMath’s Data Revolution with Amazon Kinesis and Amazon EMR | AWS...(ADV303) MediaMath’s Data Revolution with Amazon Kinesis and Amazon EMR | AWS...
(ADV303) MediaMath’s Data Revolution with Amazon Kinesis and Amazon EMR | AWS...
Amazon Web Services
 
Deploy, Scale and Manage your Microsoft Investments with AWS
Deploy, Scale and Manage your Microsoft Investments with AWSDeploy, Scale and Manage your Microsoft Investments with AWS
Deploy, Scale and Manage your Microsoft Investments with AWS
Amazon Web Services
 
(SEC312) Taking a DevOps Approach to Security | AWS re:Invent 2014
(SEC312) Taking a DevOps Approach to Security | AWS re:Invent 2014(SEC312) Taking a DevOps Approach to Security | AWS re:Invent 2014
(SEC312) Taking a DevOps Approach to Security | AWS re:Invent 2014
Amazon Web Services
 
Running your First Application on AWS
Running your First Application on AWSRunning your First Application on AWS
Running your First Application on AWS
Amazon Web Services
 
Storage and Archiving Options on AWS
Storage and Archiving Options on AWS Storage and Archiving Options on AWS
Storage and Archiving Options on AWS
Amazon Web Services
 
(SEC306) Turn on CloudTrail: Log API Activity in Your AWS Account | AWS re:In...
(SEC306) Turn on CloudTrail: Log API Activity in Your AWS Account | AWS re:In...(SEC306) Turn on CloudTrail: Log API Activity in Your AWS Account | AWS re:In...
(SEC306) Turn on CloudTrail: Log API Activity in Your AWS Account | AWS re:In...
Amazon Web Services
 
AWS Activate Webinar - Improving customer experience & growing addressable m...
AWS Activate Webinar  - Improving customer experience & growing addressable m...AWS Activate Webinar  - Improving customer experience & growing addressable m...
AWS Activate Webinar - Improving customer experience & growing addressable m...
Amazon Web Services
 
(ENT203) Iterating Your Way To 95% Reserved Instance Usage | AWS re:Invent 2014
(ENT203) Iterating Your Way To 95% Reserved Instance Usage | AWS re:Invent 2014(ENT203) Iterating Your Way To 95% Reserved Instance Usage | AWS re:Invent 2014
(ENT203) Iterating Your Way To 95% Reserved Instance Usage | AWS re:Invent 2014
Amazon Web Services
 
T4 – Understanding aws security
T4 – Understanding aws securityT4 – Understanding aws security
T4 – Understanding aws security
Amazon Web Services
 
(ARC206) Architecting Reactive Applications on AWS | AWS re:Invent 2014
(ARC206) Architecting Reactive Applications on AWS | AWS re:Invent 2014(ARC206) Architecting Reactive Applications on AWS | AWS re:Invent 2014
(ARC206) Architecting Reactive Applications on AWS | AWS re:Invent 2014
Amazon Web Services
 
(BAC304) Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum...
(BAC304) Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum...(BAC304) Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum...
(BAC304) Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum...
Amazon Web Services
 
10 Pro Tips for scaling your startup from 0-10M users
10 Pro Tips for scaling your startup from 0-10M users10 Pro Tips for scaling your startup from 0-10M users
10 Pro Tips for scaling your startup from 0-10M users
Amazon Web Services
 
Real time data analytics - part 1 - backend infrastructure
Real time data analytics - part 1 - backend infrastructureReal time data analytics - part 1 - backend infrastructure
Real time data analytics - part 1 - backend infrastructure
Amazon Web Services
 
Public IaaS Provider Bake-off - AWS vs Azure
Public IaaS Provider Bake-off - AWS vs Azure Public IaaS Provider Bake-off - AWS vs Azure
Public IaaS Provider Bake-off - AWS vs Azure
Amazon Web Services
 
AWS Deployment Best Practices - AWS Symposium 2014 - Washington D.C.
AWS Deployment Best Practices - AWS Symposium 2014 - Washington D.C. AWS Deployment Best Practices - AWS Symposium 2014 - Washington D.C.
AWS Deployment Best Practices - AWS Symposium 2014 - Washington D.C.
Amazon Web Services
 
(SEC313) Updating Security Operations for the Cloud | AWS re:Invent 2014
(SEC313) Updating Security Operations for the Cloud | AWS re:Invent 2014(SEC313) Updating Security Operations for the Cloud | AWS re:Invent 2014
(SEC313) Updating Security Operations for the Cloud | AWS re:Invent 2014
Amazon Web Services
 
Breaking IO Performance Barriers: Scalable Parallel File System for AWS
Breaking IO Performance Barriers: Scalable Parallel File System for AWSBreaking IO Performance Barriers: Scalable Parallel File System for AWS
Breaking IO Performance Barriers: Scalable Parallel File System for AWS
Amazon Web Services
 

Viewers also liked (20)

Deep Dive into Amazon ElastiCache Architecture and Design Patterns (DAT307) |...
Deep Dive into Amazon ElastiCache Architecture and Design Patterns (DAT307) |...Deep Dive into Amazon ElastiCache Architecture and Design Patterns (DAT307) |...
Deep Dive into Amazon ElastiCache Architecture and Design Patterns (DAT307) |...
 
AWS re:Invent 2016: ElastiCache Deep Dive: Best Practices and Usage Patterns ...
AWS re:Invent 2016: ElastiCache Deep Dive: Best Practices and Usage Patterns ...AWS re:Invent 2016: ElastiCache Deep Dive: Best Practices and Usage Patterns ...
AWS re:Invent 2016: ElastiCache Deep Dive: Best Practices and Usage Patterns ...
 
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersScaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million Users
 
(ADV303) MediaMath’s Data Revolution with Amazon Kinesis and Amazon EMR | AWS...
(ADV303) MediaMath’s Data Revolution with Amazon Kinesis and Amazon EMR | AWS...(ADV303) MediaMath’s Data Revolution with Amazon Kinesis and Amazon EMR | AWS...
(ADV303) MediaMath’s Data Revolution with Amazon Kinesis and Amazon EMR | AWS...
 
Deploy, Scale and Manage your Microsoft Investments with AWS
Deploy, Scale and Manage your Microsoft Investments with AWSDeploy, Scale and Manage your Microsoft Investments with AWS
Deploy, Scale and Manage your Microsoft Investments with AWS
 
(SEC312) Taking a DevOps Approach to Security | AWS re:Invent 2014
(SEC312) Taking a DevOps Approach to Security | AWS re:Invent 2014(SEC312) Taking a DevOps Approach to Security | AWS re:Invent 2014
(SEC312) Taking a DevOps Approach to Security | AWS re:Invent 2014
 
Running your First Application on AWS
Running your First Application on AWSRunning your First Application on AWS
Running your First Application on AWS
 
Storage and Archiving Options on AWS
Storage and Archiving Options on AWS Storage and Archiving Options on AWS
Storage and Archiving Options on AWS
 
(SEC306) Turn on CloudTrail: Log API Activity in Your AWS Account | AWS re:In...
(SEC306) Turn on CloudTrail: Log API Activity in Your AWS Account | AWS re:In...(SEC306) Turn on CloudTrail: Log API Activity in Your AWS Account | AWS re:In...
(SEC306) Turn on CloudTrail: Log API Activity in Your AWS Account | AWS re:In...
 
AWS Activate Webinar - Improving customer experience & growing addressable m...
AWS Activate Webinar  - Improving customer experience & growing addressable m...AWS Activate Webinar  - Improving customer experience & growing addressable m...
AWS Activate Webinar - Improving customer experience & growing addressable m...
 
(ENT203) Iterating Your Way To 95% Reserved Instance Usage | AWS re:Invent 2014
(ENT203) Iterating Your Way To 95% Reserved Instance Usage | AWS re:Invent 2014(ENT203) Iterating Your Way To 95% Reserved Instance Usage | AWS re:Invent 2014
(ENT203) Iterating Your Way To 95% Reserved Instance Usage | AWS re:Invent 2014
 
T4 – Understanding aws security
T4 – Understanding aws securityT4 – Understanding aws security
T4 – Understanding aws security
 
(ARC206) Architecting Reactive Applications on AWS | AWS re:Invent 2014
(ARC206) Architecting Reactive Applications on AWS | AWS re:Invent 2014(ARC206) Architecting Reactive Applications on AWS | AWS re:Invent 2014
(ARC206) Architecting Reactive Applications on AWS | AWS re:Invent 2014
 
(BAC304) Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum...
(BAC304) Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum...(BAC304) Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum...
(BAC304) Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum...
 
10 Pro Tips for scaling your startup from 0-10M users
10 Pro Tips for scaling your startup from 0-10M users10 Pro Tips for scaling your startup from 0-10M users
10 Pro Tips for scaling your startup from 0-10M users
 
Real time data analytics - part 1 - backend infrastructure
Real time data analytics - part 1 - backend infrastructureReal time data analytics - part 1 - backend infrastructure
Real time data analytics - part 1 - backend infrastructure
 
Public IaaS Provider Bake-off - AWS vs Azure
Public IaaS Provider Bake-off - AWS vs Azure Public IaaS Provider Bake-off - AWS vs Azure
Public IaaS Provider Bake-off - AWS vs Azure
 
AWS Deployment Best Practices - AWS Symposium 2014 - Washington D.C.
AWS Deployment Best Practices - AWS Symposium 2014 - Washington D.C. AWS Deployment Best Practices - AWS Symposium 2014 - Washington D.C.
AWS Deployment Best Practices - AWS Symposium 2014 - Washington D.C.
 
(SEC313) Updating Security Operations for the Cloud | AWS re:Invent 2014
(SEC313) Updating Security Operations for the Cloud | AWS re:Invent 2014(SEC313) Updating Security Operations for the Cloud | AWS re:Invent 2014
(SEC313) Updating Security Operations for the Cloud | AWS re:Invent 2014
 
Breaking IO Performance Barriers: Scalable Parallel File System for AWS
Breaking IO Performance Barriers: Scalable Parallel File System for AWSBreaking IO Performance Barriers: Scalable Parallel File System for AWS
Breaking IO Performance Barriers: Scalable Parallel File System for AWS
 

Similar to (SDD402) Amazon ElastiCache Deep Dive | AWS re:Invent 2014

X64服务器 lnmp服务器部署标准 new
X64服务器 lnmp服务器部署标准 newX64服务器 lnmp服务器部署标准 new
X64服务器 lnmp服务器部署标准 new
Yiwei Ma
 
DevOps Fest 2019. Сергей Марченко. Terraform: a novel about modules, provider...
DevOps Fest 2019. Сергей Марченко. Terraform: a novel about modules, provider...DevOps Fest 2019. Сергей Марченко. Terraform: a novel about modules, provider...
DevOps Fest 2019. Сергей Марченко. Terraform: a novel about modules, provider...
DevOps_Fest
 
Percona Live 2017 ­- Sharded cluster tutorial
Percona Live 2017 ­- Sharded cluster tutorialPercona Live 2017 ­- Sharded cluster tutorial
Percona Live 2017 ­- Sharded cluster tutorial
Antonios Giannopoulos
 
DUG'20: 12 - DAOS in Lenovo’s HPC Innovation Center
DUG'20: 12 - DAOS in Lenovo’s HPC Innovation CenterDUG'20: 12 - DAOS in Lenovo’s HPC Innovation Center
DUG'20: 12 - DAOS in Lenovo’s HPC Innovation Center
Andrey Kudryavtsev
 
대용량 데이타 쉽고 빠르게 분석하기 :: 김일호 솔루션즈 아키텍트 :: Gaming on AWS 2016
대용량 데이타 쉽고 빠르게 분석하기 :: 김일호 솔루션즈 아키텍트 :: Gaming on AWS 2016대용량 데이타 쉽고 빠르게 분석하기 :: 김일호 솔루션즈 아키텍트 :: Gaming on AWS 2016
대용량 데이타 쉽고 빠르게 분석하기 :: 김일호 솔루션즈 아키텍트 :: Gaming on AWS 2016
Amazon Web Services Korea
 
Terraform Cosmos DB
Terraform Cosmos DBTerraform Cosmos DB
Terraform Cosmos DB
Moisés Elías Araya
 
Monitoring with Prometheus
Monitoring with PrometheusMonitoring with Prometheus
Monitoring with Prometheus
Shiao-An Yuan
 
CONFidence 2015: DTrace + OSX = Fun - Andrzej Dyjak
CONFidence 2015: DTrace + OSX = Fun - Andrzej Dyjak   CONFidence 2015: DTrace + OSX = Fun - Andrzej Dyjak
CONFidence 2015: DTrace + OSX = Fun - Andrzej Dyjak
PROIDEA
 
MongoDB – Sharded cluster tutorial - Percona Europe 2017
MongoDB – Sharded cluster tutorial - Percona Europe 2017MongoDB – Sharded cluster tutorial - Percona Europe 2017
MongoDB – Sharded cluster tutorial - Percona Europe 2017
Antonios Giannopoulos
 
Sharded cluster tutorial
Sharded cluster tutorialSharded cluster tutorial
Sharded cluster tutorial
Antonios Giannopoulos
 
MongoDB - Sharded Cluster Tutorial
MongoDB - Sharded Cluster TutorialMongoDB - Sharded Cluster Tutorial
MongoDB - Sharded Cluster Tutorial
Jason Terpko
 
Nagios Conference 2013 - Sheeri Cabral - Alerting With MySQL and Nagios
Nagios Conference 2013 - Sheeri Cabral - Alerting With MySQL and NagiosNagios Conference 2013 - Sheeri Cabral - Alerting With MySQL and Nagios
Nagios Conference 2013 - Sheeri Cabral - Alerting With MySQL and Nagios
Nagios
 
Building and Deploying Application to Apache Mesos
Building and Deploying Application to Apache MesosBuilding and Deploying Application to Apache Mesos
Building and Deploying Application to Apache Mesos
Joe Stein
 
DevOps Enabling Your Team
DevOps Enabling Your TeamDevOps Enabling Your Team
DevOps Enabling Your Team
GR8Conf
 
Hands-on Lab: Amazon ElastiCache
Hands-on Lab: Amazon ElastiCacheHands-on Lab: Amazon ElastiCache
Hands-on Lab: Amazon ElastiCache
Amazon Web Services
 
Hands-on Lab: Comparing Redis with Relational
Hands-on Lab: Comparing Redis with RelationalHands-on Lab: Comparing Redis with Relational
Hands-on Lab: Comparing Redis with Relational
Amazon Web Services
 
D Trace Support In My Sql Guide To Solving Reallife Performance Problems
D Trace Support In My Sql Guide To Solving Reallife Performance ProblemsD Trace Support In My Sql Guide To Solving Reallife Performance Problems
D Trace Support In My Sql Guide To Solving Reallife Performance Problems
MySQLConference
 
Burn down the silos! Helping dev and ops gel on high availability websites
Burn down the silos! Helping dev and ops gel on high availability websitesBurn down the silos! Helping dev and ops gel on high availability websites
Burn down the silos! Helping dev and ops gel on high availability websites
Lindsay Holmwood
 
Live deployment, ci, drupal
Live deployment, ci, drupalLive deployment, ci, drupal
Live deployment, ci, drupal
Andrii Podanenko
 
Elastic 101 tutorial - Percona Europe 2018
Elastic 101 tutorial - Percona Europe 2018 Elastic 101 tutorial - Percona Europe 2018
Elastic 101 tutorial - Percona Europe 2018
Antonios Giannopoulos
 

Similar to (SDD402) Amazon ElastiCache Deep Dive | AWS re:Invent 2014 (20)

X64服务器 lnmp服务器部署标准 new
X64服务器 lnmp服务器部署标准 newX64服务器 lnmp服务器部署标准 new
X64服务器 lnmp服务器部署标准 new
 
DevOps Fest 2019. Сергей Марченко. Terraform: a novel about modules, provider...
DevOps Fest 2019. Сергей Марченко. Terraform: a novel about modules, provider...DevOps Fest 2019. Сергей Марченко. Terraform: a novel about modules, provider...
DevOps Fest 2019. Сергей Марченко. Terraform: a novel about modules, provider...
 
Percona Live 2017 ­- Sharded cluster tutorial
Percona Live 2017 ­- Sharded cluster tutorialPercona Live 2017 ­- Sharded cluster tutorial
Percona Live 2017 ­- Sharded cluster tutorial
 
DUG'20: 12 - DAOS in Lenovo’s HPC Innovation Center
DUG'20: 12 - DAOS in Lenovo’s HPC Innovation CenterDUG'20: 12 - DAOS in Lenovo’s HPC Innovation Center
DUG'20: 12 - DAOS in Lenovo’s HPC Innovation Center
 
대용량 데이타 쉽고 빠르게 분석하기 :: 김일호 솔루션즈 아키텍트 :: Gaming on AWS 2016
대용량 데이타 쉽고 빠르게 분석하기 :: 김일호 솔루션즈 아키텍트 :: Gaming on AWS 2016대용량 데이타 쉽고 빠르게 분석하기 :: 김일호 솔루션즈 아키텍트 :: Gaming on AWS 2016
대용량 데이타 쉽고 빠르게 분석하기 :: 김일호 솔루션즈 아키텍트 :: Gaming on AWS 2016
 
Terraform Cosmos DB
Terraform Cosmos DBTerraform Cosmos DB
Terraform Cosmos DB
 
Monitoring with Prometheus
Monitoring with PrometheusMonitoring with Prometheus
Monitoring with Prometheus
 
CONFidence 2015: DTrace + OSX = Fun - Andrzej Dyjak
CONFidence 2015: DTrace + OSX = Fun - Andrzej Dyjak   CONFidence 2015: DTrace + OSX = Fun - Andrzej Dyjak
CONFidence 2015: DTrace + OSX = Fun - Andrzej Dyjak
 
MongoDB – Sharded cluster tutorial - Percona Europe 2017
MongoDB – Sharded cluster tutorial - Percona Europe 2017MongoDB – Sharded cluster tutorial - Percona Europe 2017
MongoDB – Sharded cluster tutorial - Percona Europe 2017
 
Sharded cluster tutorial
Sharded cluster tutorialSharded cluster tutorial
Sharded cluster tutorial
 
MongoDB - Sharded Cluster Tutorial
MongoDB - Sharded Cluster TutorialMongoDB - Sharded Cluster Tutorial
MongoDB - Sharded Cluster Tutorial
 
Nagios Conference 2013 - Sheeri Cabral - Alerting With MySQL and Nagios
Nagios Conference 2013 - Sheeri Cabral - Alerting With MySQL and NagiosNagios Conference 2013 - Sheeri Cabral - Alerting With MySQL and Nagios
Nagios Conference 2013 - Sheeri Cabral - Alerting With MySQL and Nagios
 
Building and Deploying Application to Apache Mesos
Building and Deploying Application to Apache MesosBuilding and Deploying Application to Apache Mesos
Building and Deploying Application to Apache Mesos
 
DevOps Enabling Your Team
DevOps Enabling Your TeamDevOps Enabling Your Team
DevOps Enabling Your Team
 
Hands-on Lab: Amazon ElastiCache
Hands-on Lab: Amazon ElastiCacheHands-on Lab: Amazon ElastiCache
Hands-on Lab: Amazon ElastiCache
 
Hands-on Lab: Comparing Redis with Relational
Hands-on Lab: Comparing Redis with RelationalHands-on Lab: Comparing Redis with Relational
Hands-on Lab: Comparing Redis with Relational
 
D Trace Support In My Sql Guide To Solving Reallife Performance Problems
D Trace Support In My Sql Guide To Solving Reallife Performance ProblemsD Trace Support In My Sql Guide To Solving Reallife Performance Problems
D Trace Support In My Sql Guide To Solving Reallife Performance Problems
 
Burn down the silos! Helping dev and ops gel on high availability websites
Burn down the silos! Helping dev and ops gel on high availability websitesBurn down the silos! Helping dev and ops gel on high availability websites
Burn down the silos! Helping dev and ops gel on high availability websites
 
Live deployment, ci, drupal
Live deployment, ci, drupalLive deployment, ci, drupal
Live deployment, ci, drupal
 
Elastic 101 tutorial - Percona Europe 2018
Elastic 101 tutorial - Percona Europe 2018 Elastic 101 tutorial - Percona Europe 2018
Elastic 101 tutorial - Percona Europe 2018
 

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 Fargate
Amazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
Amazon 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
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
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 Workloads
Amazon Web Services
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
Amazon 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 sfatare
Amazon 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 NodeJS
Amazon 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 web
Amazon 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 sfatare
Amazon 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 AWS
Amazon 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 Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
Amazon 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 Service
Amazon 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
 

Recently uploaded

Research Directions for Cross Reality Interfaces
Research Directions for Cross Reality InterfacesResearch Directions for Cross Reality Interfaces
Research Directions for Cross Reality Interfaces
Mark Billinghurst
 
Cookies program to display the information though cookie creation
Cookies program to display the information though cookie creationCookies program to display the information though cookie creation
Cookies program to display the information though cookie creation
shanthidl1
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
Stephanie Beckett
 
find out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challengesfind out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challenges
huseindihon
 
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALLBLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
Liveplex
 
20240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 202420240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 2024
Matthew Sinclair
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Bert Blevins
 
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyyActive Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
RaminGhanbari2
 
Coordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar SlidesCoordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar Slides
Safe Software
 
Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation
welrejdoall
 
Best Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdfBest Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdf
Tatiana Al-Chueyr
 
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfINDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
jackson110191
 
7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf
Enterprise Wired
 
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdfBT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
Neo4j
 
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Mydbops
 
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Bert Blevins
 
How Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdfHow Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdf
HackersList
 
The Rise of Supernetwork Data Intensive Computing
The Rise of Supernetwork Data Intensive ComputingThe Rise of Supernetwork Data Intensive Computing
The Rise of Supernetwork Data Intensive Computing
Larry Smarr
 
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx
Stephanie Beckett
 
Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...
BookNet Canada
 

Recently uploaded (20)

Research Directions for Cross Reality Interfaces
Research Directions for Cross Reality InterfacesResearch Directions for Cross Reality Interfaces
Research Directions for Cross Reality Interfaces
 
Cookies program to display the information though cookie creation
Cookies program to display the information though cookie creationCookies program to display the information though cookie creation
Cookies program to display the information though cookie creation
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
 
find out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challengesfind out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challenges
 
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALLBLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
 
20240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 202420240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 2024
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
 
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyyActive Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
 
Coordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar SlidesCoordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar Slides
 
Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation
 
Best Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdfBest Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdf
 
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfINDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
 
7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf
 
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdfBT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
 
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
 
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
 
How Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdfHow Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdf
 
The Rise of Supernetwork Data Intensive Computing
The Rise of Supernetwork Data Intensive ComputingThe Rise of Supernetwork Data Intensive Computing
The Rise of Supernetwork Data Intensive Computing
 
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx
 
Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...
 

(SDD402) Amazon ElastiCache Deep Dive | AWS re:Invent 2014

  • 4. http://redis.io/commands strings, lists, hashes, sets, sorted sets, bitmaps & HyperLogLogs supports transactions has ACID properties snapshots or append-only log
  • 7. Assuming you’ve already setup your subnet, security and parameter groups… Choose: •Version •Port •Parameter group •Multi-AZ & replication* •Cluster name •Node type •# of Nodes (or replicas) •S3 backup location* Choose: •Subnet group •Availability Zones •Security group •Enable backups* •Maintenance window •SNS topic *redisoption Select Engine:
  • 8. awselasticachecreate-cache-cluster --cache-cluster-id mycache --engine redis --cache-node-type cache.m3.medium --num-cache-nodes 1 "Resources" : { "CacheCluster" : { "Type": "AWS::ElastiCache::CacheCluster", "Properties": { "CacheNodeType" : { "Ref" : "CacheNodeType" }, "CacheSecurityGroupNames" : [ { "Ref" : "CacheSecurityGroup" } ], "Engine" : "memcached", "NumCacheNodes" : { "Ref" : "NumberOfCacheNodes" } } }
  • 9. I can make a hat, or a brooch, or a pterodactyl mycache-002.hnou5c.0001.usw2.cache.amazonaws.com:6379 (redis) mycache.hnou5c.0002.usw2.cache.amazonaws.com:11211 (memcached) mycache.hnou5c.cfg.usw2.cache.amazonaws.com:11211 mycacherepgroup.hnou5c.ng.0001.usw2.cache.amazonaws.com:6379
  • 10. Availability Zone #1 Availability Zone #2 use “Primary Endpoint” from Node Group use ‘replica’ endpoints from Node Group *can use ‘primary’ also Auto-Failover Goes to replica with lowest replication lag No changes in DNS
  • 12. Language Library Ruby Redis-rb, Redisobjects Python Redis-py Node.js node-redis C#/.NET ServiceStack.Redis PHP phpredis Java Jedis $telnet {primary-endpoint} 6379 >HSET hash mykey"mydata” :1 >HGET hash mykey $6 mydata #from redis.iodownload: $redis-cli -h {primary-endpoint} Supports the same commands + command history + latency test + backups + a bunch of other stuff
  • 13. // Java Example –requires http://aws.amazon.com/sdk-for-java AmazonElastiCacheec= new AmazonElastiCacheClient(); String replicationGroupName= "mycache"; // change to your RedisReplication Group Name String metadataURL= "http://169.254.169.254/latest/meta-data/placement/availability-zone"; String myAZ= new Scanner(new URL(metadataURL).openStream(), "UTF-8").useDelimiter("A").next(); ec.setRegion(Region.getRegion(Regions.US_WEST_2)); DescribeReplicationGroupsRequestrgrequest= new DescribeReplicationGroupsRequest() .withReplicationGroupId(replicationGroupName); DescribeReplicationGroupsResultrgresult= ec.describeReplicationGroups(rgrequest); for (ReplicationGrouprg: rgresult.getReplicationGroups()) { for (NodeGroupng: rg.getNodeGroups()) { for (NodeGroupMemberngm: ng.getNodeGroupMembers()) { if (ngm.getCurrentRole().equals("replica") && ngm.getPreferredAvailabilityZone().equalsIgnoreCase(myAZ)) { System.out.println(ngm.getReadEndpoint().getAddress() + ":" + ngm.getReadEndpoint().getPort()); } } } } Find AZ ElastiCache API Call
  • 14. Useful for some info & housekeeping, but typically we’ll connect using client libraries… Language Library Ruby Dalli, Dalli:ElastiCache Python MemcacheRing, django-elasticache Node.js node-memcached C#/.NET ElastiCacheAutoDiscovery Client PHP ElastiCacheAutoDiscovery Client Java ElastiCacheAuto Discovery Client (based on spymemcached) $telnet {cfg-endpoint} 11211 >configget cluster $telnet {node1} 11211 >set mykey0 60 6 >mydata STORED >get mykey VALUE mykey0 6 mydata END
  • 16. # PHP $server_endpoint= "mycache.z2vq55.cfg.usw2.cache.amazonaws.com"; $server_port= 11211; $cache = new Memcached(); $cache->setOption( Memcached::OPT_CLIENT_MODE, Memcached::DYNAMIC_CLIENT_MODE); # Set configendpoint as only server $cache->addServer($server_endpoint, $server_port); # Lib auto-locates nodes $cache->set("key", "value"); always use the configuration endpoint
  • 19. A very simplified explanation of something that can be talked about for a while… ①Picture a ring sometimes called a ‘continuum’ ②Divide it in to slots (some fixed number “N”) in this case 24, but often 2(32 or 160) ③Servers are “mapped” to slots spread throughout the ring, not even like this Node-A Node-B Node-C Node- C Node-B Node-A ④Client libraries hash the key and use % N to determine where it should go the next largest location on the ring where a server is mapped “one shardingstrategy to rule them all…”
  • 21. NO MORE MEMORY! Slab Class 42 Chunk Size: 1MB Chunks/Pg: 1 > stats slabs Slab Class 27 Chunk Size: 42KB Chunks/Pg: 24 Slab Class 15 Chunk Size: 1800B Chunks/Pg: 582 Slab Class 1 Chunk Size: 96B Chunks/Pg: 10922 Memory pool
  • 22. >stats cachedump1 100 ITEM mykey3 [4 b; 1414372065 s] >stats slabs STAT 1:used_chunks 1 >getmykey3 END >stats cachedump1 100 END >stats slabs STAT 1:used_chunks 0 Example
  • 26. # Python pseudocode: defget_user(user_id): # Check the cache record = cache.get(user_id) if record is None: # Run a DB query record = db.query("select * from users where id = ?",user_id) # Populate the cache cache.set(user_id, record) return record # App code user = get_user(17)
  • 27. # Python pseudocode defsave_user(user_id, values): # Save to DB record = db.query("update users ... where id = ?", user_id, values) # Push into cache cache.set(user_id, record) return record # App code user = save_user(17, {"name": ”Sauron"})
  • 28. 1) Install “memcache” e.g. ‘yum install 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: Reference: http://php.net/manual/en/book.memcache.php *strange memcachebug needs n+1 PHP Example
  • 29. Source https://github.com/martinrusev/django-redis-sessions 1) Install django-redis-sessions: ’pip install django-redis-sessions’ 2) Modify ‘settings.py’: SESSION_ENGINE = 'redis_sessions.session' SESSION_REDIS_HOST = 'mycache.hnou5c.ng.0001.usw2.cache.amazonaws.com' SESSION_REDIS_PREFIX = 'djangosession’ 3) Confirm sessions are now backed by redis: mycache.hnou5c.ng.0001.usw2.cache.amazonaws.com:6379> keys "djangosession*" 1) "djangosession:rm6az4eesd7ruc5sibbmf6rlhrwinevs" Djangoexample
  • 30. 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
  • 31. Resque Ruby based Redis-Queue Python based http://python-rq.org http://github.com/resque
  • 32. Visualization Analysis Data Sequencing Collection
  • 33. •Use cases: •In-app messaging •Web chat windows •Online game invite/chat •Not persistent •More details: http://www.rediscookbook.org •Using Pub/Sub for asynchronous communication SUBSCRIBE “mordor:chat” SUBSCRIBE “mordor:chat” SUBSCRIBE “mordor:chat” SUBSCRIBE “mordor:chat” PUBLISH “mordor:chat” “I’ve got my eye on you!” I've got my eye on you! I've got my eye on you! I've got my eye on you! I've got my eye on you! (integer) 4 > > > > >
  • 34. http://goldfirestudios.com/blog/136/Horizontally-Scaling-Node.js-and-WebSockets-with-Redis sub.on('message', function(channel, msg) { for (vari=0; i<clients.length; i++) { clients[i].write(msg); } }); varclients = []; varecho = sockjs.createServer(); echo.on('connection', function(conn) { clients.push(conn); conn.on('data', function(message) { for (vari=0; i<clients.length; i++) { clients[i].write(message); } }); }); Node.jsexample npminstall node-redis varredis= require(’node-redis'); varpub = redis.createClient(port, host); varsub = redis.createClient(port, host); sub.subscribe(’websocket'); pub.publish(’websocket', message); // setup redisand pub/sub conn, subscribe to topic // on msgreceived,publish to all connected clients // on incoming msg, publish messages to redis
  • 35. Not if I destroy it first! It’s mine! 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 Example defsave_score(user, score): redis.zadd("leaderboard", score, user) defget_rank(user) return redis.zrevrank(user) + 1
  • 36. /foo http { ... include includes/memc-backend.conf ... server { # GET /foo?cmd=get&key=bar location /foo { set $memc_cmd$arg_cmd; set $memc_key$arg_key; memc_cmds_allowedget; memc_connect_timeout5s; memc_passbackend; } } -includes/memc-backend.conf upstream backend { server 172.16.1.1:11211; server 172.16.1.2:11211; }
  • 38. ElastiCache + − SNS SQS Auto Scaling API Auto Scaling Group Gossip Protocol S S S S S S S S S S S S S S S S ?) Changes in Cache ?) Changes in ASG > Notify Serf Agent Python Script:
  • 40. Remember: •Neither cache engine has any significant or inherent notion of authentication or encryption •Launch your cache clusters in privatesubnets inside your VPC •Use appropriate security groupaccess to control access to your cache nodes Where to go from here? •Automate your cluster activity •Take advantage of Multi-AZ •Look for new cache use cases •Use Amazon SNS and monitoring Security
  • 41. Frank Wiebe Principal Scientist, Adobe
  • 44. ~12,000 32 $4.06B 2.8+ M 64%
  • 46. Use case Requirements Deployment •Multiple Memcached clusters distributed across multiple AZs
  • 48. High availability Low latency Secure Multiple region deployment Multi-AZ in each region VPC, VPC peering Auto-scaling WAFWebProxyWAFWebProxyWAFNginxProxyElastic Load BalancerVPCMediation Layer (optional) APIServiceProvidersVPC PeeringVPCAPIServiceProvidersVPCAPIServiceProvidersVPCShared CacheRoute53adobe.ioPoliciesMobile AppsAPI Consumer API Publisher API Product Mgr API Platform Admin Subscription, Usage, Performance, Geographic Distribution, Resource usage, Financials Publish API/SDK Throttling Rate Limiting Security API Service Plans Platform mgmt Analytics Discovery Subscribe SupportAPI Gateway Expose endpoint Web App Firewall API security enforcement Anomaly detection Throttling / Rate limiting Data collection API Key Manager Integration Identity Manager integration Mediation Layer SOAP <--> REST Desktop Apps
  • 49. Use case Requirements Deployment •Primary cluster with multiple read replica clusters distributed across multiple AZs in an Amazon region •API request volume has grown from 1M/day (March 2014) to 21M+ per day(October 2014) –over 1B API requests served 
  • 50. Availability Zone 2 Auto scaling Group Availability Zone 1 Amazon Region Replication Group Primary Cluster Read Replica Cluster Asynchronous Replication Virtual Private Cloud Cache Security Group Cache Parameter Group Cache Security Group Cache Parameter Group API Gateway Web Proxy Web Proxy Redis Redis Amazon Region Virtual Private Cloud Auto scaling Group Availability Zone 1 Availability Zone 2 Replication Group Read Replica Primary Cluster Cluster Redis 2.6.13 Read Replica Cluster Local Cache Local Cache Web Proxy Web Proxy
  • 54. ElastiCache for Memcached •Node size –http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheNode.Memcached.html •Tuning –http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html - CacheParameterGroups.Memcached.ConnectionOverhead •Cross AZ deployments –Distribute nodes of Memcached cluster across multiple AZs ElastiCache for Redis •Node size –http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheNode.Redis.html •Tuning –Redis is single threaded, so choosing a cache node type with a faster processor speed will provide better throughput •Cross AZ deployments –ElastiCache for Redis supports single node Redis clusters only –Ensure that read replica cluster is in different AZ than primary cluster Changing sizes is a disruptive operation, so choose node size carefully!
  • 57. ** ** Based on benchmark testing done before the announcement on 10/24. See AWS blog article titled Multi-AZ Support/Auto Failover for ElastiCache for Redis.
  • 59. Please give us your feedback on this session. Complete session evaluations and earn re:Invent swag. http://bit.ly/awsevals