由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - About the latency of reading from mysql binlog
相关主题
请问MySQL的replication不通过应用程序能达到strong consistence吗?今天,光荣的成为了一个DBA
SQL Server Replication怎么老RECOMPILE啊一个大家看起来可能很简单的问题
In MySQL, 如何在procedure里create trigger?谢谢了?请教一个有关 MSSQL 2005 Replication 的问题
MySQL table either insert or drop/truncate table running foreverPostgreSQL?
求助(急):MySQL不能启动!!问个数据库服务器配置的问题
mysql questionlocal database to server
MySQL replication question简单说一下MySQL的独特之处
MySQL 5.0 cluster questionCINAOUG/CINASSUG MySQL 2013讲座
相关话题的讨论汇总
话题: mysql话题: binlog话题: about话题: latency话题: binlogs
进入Database版参与讨论
1 (共1页)
x***y
发帖数: 633
1
Hi, friends, I have a very urgent problem about mysql binlog latency, and
any help is greatly appreciated!
Here is my scenario:
We use ec2 instance running https://github.com/shyiko/mysql-binlog-connector
-java to read binlogs from an aws rds mysql master (which is row based
replication and bandwidth and throughput are not an issue).The number of
binlogs is around 1k per second. The P99 network IO is about 50ms and the
P99 time between 2 IOs is about 90 ~ 100ms.
However, when we extract the timestamp in the binlog event and calculate the
difference between the current time and the timestamp, the P99 is about 4
seconds. We are hoping to make it only several hundred ms. Further
investigatiosn indicate that the difference between the timestamp and the
corresponding start time of network IO reading from mysql master is
responsible for most of the latency. And we are quite sure that we are
processing much faster than the pace of mysql generating binlogs, so each
time we read all the binlogs available there when it's stable.
So, the question is that is this latency caused by some bad settings in
mysql? Or by the mysql connector? Thanks a lot.
1 (共1页)
进入Database版参与讨论
相关主题
CINAOUG/CINASSUG MySQL 2013讲座求助(急):MySQL不能启动!!
MYSQL backupmysql question
熟MySQL的同学请帮忙MySQL replication question
【询问】T-SQL Procedure 比较好的学习资料MySQL 5.0 cluster question
请问MySQL的replication不通过应用程序能达到strong consistence吗?今天,光荣的成为了一个DBA
SQL Server Replication怎么老RECOMPILE啊一个大家看起来可能很简单的问题
In MySQL, 如何在procedure里create trigger?谢谢了?请教一个有关 MSSQL 2005 Replication 的问题
MySQL table either insert or drop/truncate table running foreverPostgreSQL?
相关话题的讨论汇总
话题: mysql话题: binlog话题: about话题: latency话题: binlogs