首页 > 其他分享 >AWS RDS, ElastiCache

AWS RDS, ElastiCache

时间:2023-05-11 21:48:37浏览次数:39  
标签:RDS database Read Replicas AWS Cluster ElastiCache





Which RDS (NOT Aurora) feature when used does not require you to change the SQL connection string?
    Read Replicas add new endpoints with their own DNS name. We need to change our application to reference them individually to balance the read load.
●Multi-AZ keeps the same connection string regardless of which database is up.


A Read Replica in a different AWS Region than the source database can be used as a standby database and promoted to become the new production database in case of a regional disruption. So, we'll have a highly available (because of Multi-AZ) RDS DB Instance in the destination AWS Region with both read and write available.


RDS Read Replicas
Replication is ASYNC,so reads are eventually consistent

RDS Multi-AZ  
Synchronization is established between the two databases


How many Aurora Read Replicas can you have in a single Aurora DB Cluster?
15


For your RDS database, you can have up to 15 Read Replicas.


What is the maximum number of Read Replicas you can add in an ElastiCache Redis Cluster with Cluster-Mode Disabled?
5


You have a MySQL RDS database instance on which you want to enforce SSL connections. What should you do?
    Execute a REQUIRE_SSL SQL statement to all your DB users



You have an ElastiCache cluster with small cache size, so you want to ensure that only the data that's requested will be loaded into the cluster. Which caching strategy should you use?
    Lazy Loading would load data into the cache only when necessary (actively requested data from the database).

You have an ElastiCache Redis Cluster that serves a popular application. You have noticed that there are a large number of requests that go to the database because a large number of items are removed from the cache before they expire. What is this called and how to solve it?
    Cache Evictions, Scale up or out your ElastiCache Redis Cluster

You're hosting a dynamic website fronted by an ElastiCache Cluster. You have been instructed to keep latency to a minimum for all read requests for every user. Also, writes can take longer to happen. Which caching strategy do you recommend?
    Write Through



标签:RDS,database,Read,Replicas,AWS,Cluster,ElastiCache
From: https://www.cnblogs.com/apolloextra/p/17392304.html

相关文章

  • AWS 中的另外一种远程工具 AWS Session Manager
    >作者:[SRE运维博客](https://www.cnsre.cn/)>博客地址:[https://www.cnsre.cn/](https://www.cnsre.cn/)>文章地址:[https://www.cnsre.cn/posts/230129126154/](https://www.cnsre.cn/posts/230129126154/)>相关话题:[https://www.cnsre.cn/tags/aws/](https://www.cnsre.......
  • Grafana 系列-统一展示-5-AWS Cloudwatch 仪表板
    系列文章Grafana系列文章......
  • RDS的PG数据库删除数据后表空间不释放问题处理
    清理表空间(pg_repack)RDSPostgreSQL支持通过插件pg_repack在线清理表空间,有效解决因对全表大量更新等操作引起的表膨胀问题。pg_repack无需获取排它锁,相比CLUSTER或VACUUMFULL更加轻量化。前提条件RDS实例需要满足以下条件:实例大版本内核小版本PostgreSQL10、11、1......
  • CodeForces - 626B Cards (全排列&模拟)
    TimeLimit: 2000MS MemoryLimit: 262144KB 64bitIOFormat: %I64d&%I64uCodeForces-626BCardsSubmit StatusDescriptionCatherinehasadeckof ntakeanytwo(notnecessarilyadjacent)cardswithdifferentcolorsandexchangethemforanewcardof......
  • AWS CLI入门教程(亲测)
    背景因为公司有用到S3,所以整理了一个S3的简单入门教程。当然,入门之后有其他更高级的用法需求,就靠自己去查文档了。入门的教程能让你快速上手,不至于翻阅一堆文档,容易被劝退。这里主要是介绍如何用cli去操作S3。官方文档https://docs.aws.amazon.com/cli/latest/userguide/cli-se......
  • AWS Serverless Lambda Function架构设计的几种方式
    如何构建大型Serverless应用从路由方式上,Lambda大致可以分为三种架构方式1:单体应用式这种方式和传统RESTAPI很相似,以nodejs为例,在service内部使用express框架作路由,如下图所示代码示例如下constexpress=require('express')constapp=express()app.listen(80,()=>......
  • [极客大挑战 2019]HardSQL,wp
    一:分析既然说了是HardSQL,肯定就不是万能密码这种简单的了1.首先判断字符型还是数字型我们首先输入payload:username=admin'--+&password=1发现好像有什么被过滤掉了。然后检查过滤符号,这里可以直接用bp爆破看看过滤了哪些字符,也可以简单测试一下这里我猜测过滤了空格, 然......
  • 关于AWS-ElastiCache-的Reserved_Cache_Nodes-预留节点-是没有多可用区的概念的
    今天在整理完善一个关于所有AWS账号的ElastiCache-的RN信息表格时,发现有一个字段要求写是否是多可用区笔者之前还没有注意过关于ElastiCache的RN的多可用区的问题,不过,像RDS确实有这个概念于是笔者去ElastiCache的 Purchasereservednodes界面又再次确认了一下,确实没有多可用......
  • AWS CLI 权限配置
    01配置秘钥环境变量秘钥Linux|MacexportAWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLEexportAWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEYexportAWS_DEFAULT_REGION=us-west-2WindowsCMDsetxAWS_ACCESS_KEY_IDAKIAIOSFODNN7EXAMPLEsetxAWS_SECRET_ACCE......
  • An Image Is Worth 16x16 Words: Transformers For Image Recognition At Scale
    模型如下图所示:将H×W×C的图像reshape成了N×(P2×C),其中(H,W)是图像的原始分辨率,C是通道数,(P,P)是每个图像块的分辨率,N=H×W/P2为图像块的数量,将一个图像块使用可学习的线性层映射到维度为D的隐藏向量,如式(1)所示,线性映射的输出称为patchembeddings.在patchembeddin......