Loading...
详细参见 https://www.jianshu.com/p/19cb0f16dea4部分命令CHANGE MASTER TO MASTER_HOST = '10.211.55.11', MASTER_USER = 'repl_user', MASTER_PASSWORD = 'repl_passwd', MASTER_PORT = 3306, MASTER_LOG_FILE='my...
git clone https://github.com/edenhill/librdkafka.git cd librdkafka ./configure --prefix /usr/local/librdkafka --enable-static --install-deps make sudo make install /etc/profile文件中添加下面配置 export P...
https://pkg.go.dev/github.com/harukasan/go-libwebp#section-readmeyum install libwebp-tools libwebp不确定是否安装,如果安装需要下载这个地址http://downloads.webmproject.org/releases/webp/libwebp-0.5.0.tar.gz
原理:每天80%的访问集中在20%的时间里,这20%时间叫做峰值时间公式:( 总PV数 * 80% ) / ( 每天秒数 * 20% ) = 峰值时间每秒请求数(QPS) 机器:峰值时间每秒QPS / 单台机器的QPS = 需要的机器问:每天300w PV 的在单台机器上,这台机器需要多少QPS?答:( 3000000 * 0.8 ) / (86400 * 0.2 ) = 139 (QPS...