rds

DRDS

二次信任 提交于 2020-01-19 18:34:25
DRDS 是一款基于 MySQL 存储、采用分库分表技术进行水平扩展的分布式 OLTP 数据库服务产品,支持 RDS for MySQL 以及 POLARDB for MySQL,产品目标旨在提升数据存储容量、并发吞吐、复杂计算效率三个方面的扩展性需求。 来源: https://www.cnblogs.com/jycjy/p/12214867.html

开关电源MOS管选型500V、600V、650V参数

雨燕双飞 提交于 2020-01-15 19:03:17
MOS管 最常见的应用可能是电源中的开关元件,此外,它们对电源输出也大有裨益。服务器和通信设备等应用一般都配置有多个并行电源,以支持N+1 冗余与持续工作 (图1)。各并行电源平均分担负载,确保系统即使在一个电源出现故障的情况下仍然能够继续工作。不过,这种架构还需要一种方法把并行电源的输出连接在一起,并保证某个电源的故障不会影响到其它的电源。在每个电源的输出端,有一个功率MOS管可以让众电源分担负载,同时各电源又彼此隔离 。起这种作用的MOS管被称为"ORing"FET,因为它们本质上是以 “OR” 逻辑来连接多个电源的输出。 开关电源MOS管选型 一、开关电源上的MOS管选择方法 图1:用于针对N+1冗余拓扑的并行电源控制的MOS管 在ORing FET应用中,MOS管的作用是开关器件,但是由于服务器类应用中电源不间断工作,这个开关实际上始终处于导通状态。其开关功能只发挥在启动和关断,以及电源出现故障之时 。 相比从事以开关为核心应用的设计人员,ORing FET应用设计人员显然必需关注MOS管的不同特性。以服务器为例,在正常工作期间,MOS管只相当于一个导体。因此,ORing FET应用设计人员最关心的是最小传导损耗。 二、低RDS(ON) 可把BOM及PCB尺寸降至最小 一般而言,MOS管制造商采用RDS(ON) 参数来定义导通阻抗;对ORing FET应用来说,RDS(ON

mysql_ping hangs with Amazon RDS

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-15 03:55:06
问题 I am trying to make a persistent connection to MySQL RDS database from a php worker running on an external ubuntu server. As a part of connection, i first check for "mysql_ping". If the ping returns true, then use the current connection, else make a new connection. The problem that I am facing is that when I start my worker, the connection establishes fine, and works well for some time, i.e. I can make repeated queries to the RDS database sucessfully. However around 15 minutes later, if I

阿里云ECS服务器连接RDS数据库

懵懂的女人 提交于 2020-01-10 11:23:10
1打开购买的RDS数据库,点击数据库连接,查看vpc所在的路由器 2打开ECS实例查看ECS的vpc路由器,确保两者用的是同一个路由器 3在RDS添加白名单分组,把你的ECS服务器的ip加入到白名单中 我这里设置为0.0.0.0,默认为任何ip可访问RDS(不安全)。 4打开ECS,远程连接到ECS服务器,在服务器上输入yum install mysql安装mysql服务。 5在ECS服务器连接RDS数据库,输入mysql -h RDS的内网地址 -u RDS用户名 -p密码 要进入的数据库 来源: https://www.cnblogs.com/-mrl/p/12174974.html

tcp_tw_recycle和tcp_timestamps导致connect失败问题

给你一囗甜甜゛ 提交于 2020-01-07 16:48:01
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 抄袭于 http://blog.sina.com.cn/s/blog_781b0c850100znjd.html 1. 现象 第一个现象:模块A通过NAT网关访问服务S成功,而模块B通过NAT网关访问服务S经常性出现connect失败,抓包发现:服务S端已经收到了syn包,但没有回复synack;另外,模块A关闭了tcp timestamp,而模块B开启了tcp timestamp; 第二个现象:不同主机上的模块C(开启timestamp),通过NAT网关(1个出口ip)访问同一服务S,主机C1 connect成功,而主机C2 connect失败; 2. 分析 根据现象上述问题明显和tcp timestmap有关;查看linux 2.6.32内核源码,发现tcp_tw_recycle/tcp_timestamps都开启的条件下,60s内同一源ip主机的socket connect请求中的timestamp必须是递增的。 源码函数:tcp_v4_conn_request(),该函数是tcp层三次握手syn包的处理函数(服务端); 源码片段: if (tmp_opt.saw_tstamp && tcp_death_row.sysctl_tw_recycle && (dst = inet_csk_route_req

Copy ec2 files to local

拜拜、爱过 提交于 2020-01-06 03:17:16
问题 I would like to create a local copy of a live Magento website, so that I can test and develop on my local version. I did the following so far: installed XAMPP for Mac OS X 1.7.3; created a blank database; installed MySQL Workbench 6.0 for Mac; tried to connect to AWS EC2 and RDS instances via SSH following this scheme http://thoughtsandideas.wordpress.com/2012/05/17/monitoring-and-managing-amazon-rds-databases-using-mysql-workbench/; but I can't connect (it says authentication failed but

Update Amazon RDS SSL/TLS Certificates - Elastic Beanstalk

我只是一个虾纸丫 提交于 2020-01-03 08:57:08
问题 AWS recently announced the need to: Update Your Amazon RDS SSL/TLS Certificates by October 31, 2019 I have a Rails application hosted with a classic Elastic Beanstalk load balancer, which connects to a Postgres DB using RDS. The required steps according to Amazon are: Download the new SSL/TLS certificate from Using SSL/TLS to Encrypt a Connection to a DB Instance. Update your database applications to use the new SSL/TLS certificate. Modify the DB instance to change the CA from rds-ca-2015 to

Getting Null Value vilates integrity error when registering user or trying to migrate

試著忘記壹切 提交于 2020-01-03 02:30:12
问题 Recently migrated database to RDS. Using django 2.0 Now when I try to register a user I get a: ProgrammingError at /accounts/register/ relation "auth_user" does not exist LINE 1: SELECT (1) AS "a" FROM "auth_user" WHERE "auth_user"."userna... ^ If I try to manage.py migrate I get the following response: (boxtrucks-Dleh71wm) bash-3.2$ python manage.py migrate Operations to perform: Apply all migrations: accounts, admin, auth, contenttypes, saferdb, sessions Running migrations: Applying

How to configure Elastic Beanstalk for RDS

被刻印的时光 ゝ 提交于 2020-01-02 09:29:28
问题 I have a requirement to deploy both a production and staging application using AWS Elastic Beanstalk. I would like the production environment to use an independently created RDS database so I can rebuild my environment without tearing down my RDS database. I would like the staging environment to create a brand new RDS database each time it is deployed. After initialising my environment with eb init one of the questions ask Create an RDS DB Instance? [y/n]: The result of this configuration

How to configure Elastic Beanstalk for RDS

随声附和 提交于 2020-01-02 09:29:07
问题 I have a requirement to deploy both a production and staging application using AWS Elastic Beanstalk. I would like the production environment to use an independently created RDS database so I can rebuild my environment without tearing down my RDS database. I would like the staging environment to create a brand new RDS database each time it is deployed. After initialising my environment with eb init one of the questions ask Create an RDS DB Instance? [y/n]: The result of this configuration