ProxySQL可以实现多种方式的路由:基于ip/port、username、schema、SQL语句。其中基于SQL语句的路由是按照规则进行匹配的,匹配方式有hash高效匹配、正则匹配,还支持更复杂的链式规则匹配。 角色主机IPserver_id数据状态 Proxysql 10.2.83.140 ...
分类:
数据库 时间:
2021-06-30 17:39:59
阅读次数:
0
转自:https://www.cnblogs.com/liaojie970/p/9396334.html springboot 针对jackson是自动化配置的,如果需要修改,有两种方式: 方式一:通过application.yml 配置属性说明:## spring.jackson.date-for ...
分类:
编程语言 时间:
2021-06-30 17:38:36
阅读次数:
0
一 介绍 systemctl脚本存放在:/usr/lib/systemd/,有系统(system)和用户(user)之分 1、/usr/lib/systemd/system #系统服务,开机不需要登陆就能运行的程序(相当于开启自启) 2、/usr/lib/systemd/user #用户服务,需要登 ...
分类:
其他好文 时间:
2021-06-29 16:04:26
阅读次数:
0
Worker类:静态Worker统一管理实例worker 代码细节 $this->workerId = \spl_object_hash($this); static::$_workers[$this->workerId] = $this; static::$_pidMap[$this->worke ...
分类:
其他好文 时间:
2021-06-29 16:00:44
阅读次数:
0
1.打开Pycharm->VCS->Enable Version Control Integration->Git->remote->输入SSH 2.Define Remotes 3.复制SSH 到GIt Open Git bash 4.复制最后黄色的到git ,添加ssh key 5.复制SSH ...
分类:
其他好文 时间:
2021-06-29 15:28:35
阅读次数:
0
编译程序的时候,发现报错:本地源"C:\Program Files (x86)\DevExpress 20.1\Components\System\Components\Packages"不存在。 这个是之前试用Devexpress控件时,卸载后的残留, visual studio 界面上无法删除。 ...
分类:
其他好文 时间:
2021-06-28 21:10:16
阅读次数:
0
布隆过滤器就是一个初始为0的数组+n个hash函数 上图三个hash函数h1,h2,h3,分别算出x1的三个位置,h1(x1),h2(x1),h3(x1),然后把对应位置(数组的1,4,8)置1,同理算出x2的三个位置(数组的4,6,10)置1 判断是否存在则根据三个hash函数算出3个位置,如果都 ...
分类:
其他好文 时间:
2021-06-28 20:33:44
阅读次数:
0
layout: post title: 将tkinter打包生成exe subtitle: date: 2020-05-30 author: Dapenson header-img: img/post-bg-universe.jpg catalog: true tags: - Python - tk ...
分类:
其他好文 时间:
2021-06-28 20:10:21
阅读次数:
0
title: MySql密码过期 date: 2018/03/24 22:12:55 tags: [MySql] categories: 开发 数据库 很就没有连接本地的mysql了,今天连接的时候发现本机的mysql链接不上了,在cmd中执行动作的时候也会叫你去set password,做设置密码 ...
分类:
数据库 时间:
2021-06-28 20:09:12
阅读次数:
0
title: java nio aio bio概念 date: 2018/1/13 21:12:55 tags: [nio,aio] categories: 开发 java 就目前来说,大多数的系统瓶颈在io , io的瓶颈又在寻址 …… 跑题了,我先来记录总结几个基本概念吧 IO分两阶段: 1.数 ...
分类:
编程语言 时间:
2021-06-28 20:08:59
阅读次数:
0