主从同步 单节点的 MySQL 肯定不适用于高并发的生产环境,为了提高性能,我们至少要做到读写分离,主库可读可写,从库只读。这里最关键的技术点就是主从同步。 我的 MySQL 配置文件如下(8.0.22): [mysqld] server_id = 1 # 机器ID,集群下唯一 pid-file = ...
分类:
数据库 时间:
2021-03-29 11:44:59
阅读次数:
0
纯前端实现: 切片上传 断点续传 。断点续传需要在切上上传的基础上实现 前端之前上传OSS,无需后端提供接口。先上完整代码,直接复制,将new OSS里的参数修改成自己公司OSS相关信息后可用,如遇问题,请继续往下看。 oss官方文档 https://help.aliyun.com/document ...
分类:
Web程序 时间:
2021-03-29 11:44:24
阅读次数:
0
node和python默认的rsa加密方式是不一样,要调整一下。 node代码: const fs = require('fs'); const NodeRSA = require('node-rsa'); const path = require('path').resolve(); const ...
分类:
编程语言 时间:
2021-03-29 11:41:58
阅读次数:
0
1.路径配置的分类 在nginx中,一共有4种不同的路径配置方法 = - Exact match ^~ - Preferential match ~ && ~* - Regex match no modifier - Prefix match #路径完全一样则匹配 location = path { ...
分类:
其他好文 时间:
2021-03-26 15:34:02
阅读次数:
0
替换.emacs.d M-x load-file:init.el ...
分类:
系统相关 时间:
2021-03-26 15:27:19
阅读次数:
0
public async Task CreateFileByHtmlAsync(ApiDBContent dbContext, WebPageParam setting, int tryCount = 0) { string pdfPath = Path.Combine(setting.FilePa ...
分类:
其他好文 时间:
2021-03-26 15:25:18
阅读次数:
0
《c++ 核心指南》 字面量 range::view span constexpr CURRENT_FILE宏 Concept ...
分类:
编程语言 时间:
2021-03-26 15:20:37
阅读次数:
0
// 文件点击下载 function downloadFile() { fetch(tossactApi + params.row.originVideo).then(res => res.blob()).then(blob => { const a = document.createElement ...
分类:
其他好文 时间:
2021-03-26 15:14:30
阅读次数:
0
使用element UI的upload组件 handleChange (file, fileList) { let _this = this if (this.formdata.printMode !== 'Bartender') return this.formdata.remark = file ...
分类:
数据库 时间:
2021-03-26 15:14:15
阅读次数:
0
文章转自:https://blog.csdn.net/weixin_43914604/article/details/105895775 学习课程:《2019王道考研计算机网络》 学习目的:利用最省时间的方法学习考研面试中的计算机网络。 1、FTP协议的功能 文件传输协议( File Transfe ...
分类:
其他好文 时间:
2021-03-18 14:40:07
阅读次数:
0