Redis的基本介绍 1.Redis是NoSQL数据库,不是传统的关系型数据库 官网:https://redis.io/和http://www.redis.cn/ 2.Redis:REmote Dictionary Server(远程字典服务器),Redis的性能非常高,单机能够达到15w qps, ...
分类:
数据库 时间:
2021-02-18 13:18:56
阅读次数:
0
前 言 目前公司一些工具会远程调用一些API,这些API调用有两个比较显著特点。 1、消耗时间比较长,无论是报表调用的API,还是 backend ws API 单次调用平均达到20 s 左右。 2、返回来的数据有时也会比较大,我见过单次调用返回的数据有可能有3MB 左右。 基于上述特点,很显然有优 ...
1、背景: 启动MariaDB服务,通过python远程访问数据库失败,查询MariaDB日志(systemctl status mariadb)报错信息为: user: 'unauthenticated' host: '192.168.1.8' (This connection closed no ...
分类:
数据库 时间:
2021-02-17 14:04:16
阅读次数:
0
1. 环境准备 创建挂载数据目录和配置文件 mkdir -p /opt/mysql/data /opt/mysql/conf touch /opt/mysql/conf/my.cnf 2. 拉取镜像 docker pull mysql 3. 启动容器 docker run --restart=alw ...
分类:
数据库 时间:
2021-02-15 12:34:37
阅读次数:
0
git checkout -b develop origin/develop: 以远程的origin/develop分支为蓝本,在本地新建一个分支develop,并切换到新建的分支develop,并且建立develop与远程分支origin/develop的跟踪关系(use git pull)。查看 ...
分类:
其他好文 时间:
2021-02-15 12:23:59
阅读次数:
0
1.重命名 git branch -m oldBranchName newBranchName 2.删除远程分支:git push origin :oldBranchName 3.将重命名过的分支提交:git push origin newBranchName 4.新建分支 : git branch ...
分类:
其他好文 时间:
2021-02-15 12:07:38
阅读次数:
0
假设A服务器要把文件复制到B服务器上 首先我们要在B服务器上生成密钥对 参考:https://www.cnblogs.com/pxblog/p/14396409.html 然后在把生成的密钥公钥id_rsa.pub 复制到A服务器上的 /root/.ssh文件夹下,名称改为 authorized_k ...
分类:
系统相关 时间:
2021-02-15 11:59:11
阅读次数:
0
安装好Tomcat9之后,执行./start.sh启动时没有报错,但是在浏览器中打不开Tomcat的页面。而且在执行./shutdown.sh关闭服务器时报告了这样一个错误:
Tomcat9 Error: Could not find or load main class org.apache.ca... ...
分类:
Web程序 时间:
2021-02-10 13:16:40
阅读次数:
0
1、安装,下载地址:https://github.com/MicrosoftArchive/redis/releases 2、启动, 默认目录:C:\Program Files\Redis\ 服务程序:redis-server.exe 3、远程连接、密码设置 注释掉redis.windows-ser ...
分类:
Web程序 时间:
2021-02-09 12:12:09
阅读次数:
0
首先是一个正常能运行的springboot项目 目前我这的要求是springboot配置了3个数据源(1.本地的mysql,2远程的mysql,3远程的oracle) 第一步:在pom.xml文件中导入依赖 <!--多数据源--> <dependency> <groupId>mysql</group ...
分类:
编程语言 时间:
2021-02-09 11:55:55
阅读次数:
0