1. 程式人生 > >Distribute Read Requests Across Multiple RDS Read Replicas

Distribute Read Requests Across Multiple RDS Read Replicas

Find the DNS endpoint URLs for the read replicas

  1. Choose Instances from the navigation pane, and then select each read replica.
  2. Note (or copy) the DNS endpoint URL, next to Endpoint.

Create a Route 53 hosted zone Note: If you already have a hosted zone, you can skip this step

  1. Open the Hosted Zones pane of the Route 53 console.
  2. Choose Create Hosted Zone. For Name and Comment, type a name and a comment.To block access to the read replicas from external resources, for Type, choose Private Hosted Zone for the VPC in which your read replicas are located. Otherwise, leave Type
    set as Public. Note: You must own the domain you specify in the Hosted Zone if you specify Public.
  3. Choose Create.

Create the record set

After the hosted zone is created, select it, choose Create Record Set, and use the following attributes:

  • For Name
    , type a name. You will use this as the endpoint URL to access the read replicas.
  • Set Type to CNAME.
  • For TTL value, you can set this to any value that is appropriate for your needs. This effectively determines how often each read replica receives requests.
  • In the Value field, paste the DNS endpoint of the first read replica.
  • For Routing Policy, choose Weighted.
  • In the Weight field, type a value, as long as you use the same value for each replica’s record set.
  • For Set ID, type a name.
  • For Health Check, it’s optional to configure one (though it’s best practice). For more information, see Amazon Route 53 Health Checks and DNS Failover.

After configuring the record set, choose Create.

Repeat these steps to create a record set for each additional read replica. Make sure that they all use the same name, the same value for time to live (TTL), and the same value for weight. This helps to distribute requests equally.

You can add more read replicas to respond to more connections or high resource use without changing your application endpoint. You can incorporate Route 53 health checks to be sure that Route 53 directs traffic away from unavailable read replicas.

相關推薦

Distribute Read Requests Across Multiple RDS Read Replicas

Find the DNS endpoint URLs for the read replicas Choose Instances from the navigation pane, and then selec

Amazon RDS Read Replicas

You can reduce the load on your source DB instance by routing read queries from your applications to the read replica. Read replicas allow you

Amazon RDS Read Replicas資料庫_關係型資料庫服務

您可以將應用程式發出的讀取查詢路由到只讀副本,以減輕源資料庫例項上的負載。只讀副本讓您可以實現彈性擴充套件並超越單個數據庫例項的容量限制,以處理高讀取量的資料庫工作負載。 為進一步最大化地利用讀取效能,Amazon RDS for MySQL 允許您直接向只讀副

jqGrid('setSelection',rowid)報Cannot read property 'multiple' of undefined

互聯 set grid clas 需要 defined ict sub 可能   項目組非要上jeeweb框架,用jqgrid+大量iframe做為前端框架,臃腫不堪。   今天上午,在進行選定操作jqGrid(‘setSelection‘,rowid)報Cannot re

Amazon RDS Read Replica

Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So

Create a Read Replica for an RDS Database

To create a read replica, follow the instructions at Creating a Read Replica. You can also create a read replica in a different AW

Leaning ROS: Running ROS across multiple machines

cti multipl ner lean echo bsp log sage body Start the master ssh hal roscore Start the listener ssh hal export ROS_MASTER_URI=http://h

Disk Read Latency Avg. Disk sec/Read:0.02 sec報警

Disk Read Latency Avg. Disk sec/Read:0.02 sec Disk Read Latency - 持續 5 分鐘 - ××× (>20 毫秒) 說明 Avg.Disk sec/Read 效能計數器表示從磁碟讀取資料所需的平均時間(秒)。 此

Splunk to Extend Analytics Reach Across Multiple Data Sources

Splunk this week moved beyond log data as the basis for driving operational analytics to embrace multiple types of data sources that can be analyzed in nea

Artificial intelligence may fall short when analyzing data across multiple health systems

As interest in the use of computer system frameworks called convolutional neural networks (CNN) to analyze medical imaging and provide a computer-aided di

從文件中讀取字符-多次調用read characters from file multiple calls

post 例如 緩沖區 class 風格 分鐘 spa multi com [抄題]: 接口:int read4(char * buf)一次從文件中讀取 4 個字符。返回值是實際讀取的字符數。 例如,如果文件中只剩下 3 個字符,則返回 3。通過使用read4 接口,實現從

[LeetCode] 158. Read N Characters Given Read4 II - Call multiple times

不為 returns linked 控制 urn 返回 blog href api The API: int read4(char *buf) reads 4 characters at a time from a file. The return value is th

HBase read replicas 功能介紹系列

分布式摘要: 主要介紹HBase 在讀可用性這塊做的read replica 功能的大概介紹,包括:基本使用,讀寫流程的大概鏈路,設計的折中等等。HBase read replicas1.概述對於這個模塊打算有幾篇文章組成一個系列,詳細的介紹這個功能,大概分read replicas綜述(本文)、正常情況下的

MySQL錯誤: could not retrieve transation read-only status server

查看 sys 而且 could upd 開始 問題分析 事物 就會 問題描述: java代碼在開始事務後,先做了一個查詢,再insert,此時會報: java.sql.SQLException: could not retrieve transation

Failed to read artifact descriptor for xxx:jar 的Maven項目jar包依賴配置的問題解決

描述 tin ava 打開 文件 我們 記事本 last .com 在開發的過程中,尤其是新手,我們經常遇到Maven下載依賴jar包的問題,也就是遇到“Failed to read artifact descriptor for xxx:jar”的

CentOS7使用ssh不能登錄,報錯:Read from socket failed: Connection reset by peer

read from socket failed: connection reset by peer使用xshell登錄CentOS7,不能登錄,使用另外一臺Linux主機,telent 22端口是同的,ssh連接報以下錯誤:Read from socket failed: Connection reset b

Vue的報錯:Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>'

pac rop space efault type require bject default logs 剛剛運行一下以前的一個Vue+webpack的demo,運行之後沒有出現想象中的效果,並且報錯 Uncaught TypeError: Cannot assign t

如何刪除/mnt/cdrom?|如何刪除只讀文件系統(Read-only files ystem)? failed !bh ? 掛載光盤?掛載usb?

highlight failed roo aid 刪除 read cdrom oot 丟失 root權限下 : 首先用umount /mnt/文件夾 卸載文件系統,必要時可以用umount -f(可能丟失數據)然後rm -rf /mnt/cdrom mkdir /mnt/c

Nginx事件處理中的connection和read、write事件的關聯

ase handle inux cycle ngx auth eof conn ont /********************************************************************* * Author : Samson

Python中的read(), readline(), readlines()

面向 足夠 字符 str 只讀 strong for 常用 生成 文件對象提供了三個“讀”方法: .read()、.readline() 和 .readlines()。 read() 每次讀取整個文件,它通常用於將文件內容放到一個字符串變量中。然而 .read() 生成