1. 简介 1.1. 官方网站: https://www.rabbitmq.com/ 2. 安装与配置: 详见:https://docs.openstack.org/ha-guide/shared-messaging.html#rabbitmq-configure 2.1. 安装:在每个节点上都做 ...
分类:
系统相关 时间:
2018-02-12 20:06:02
阅读次数:
273
1. 简介 1.1. 官方文档: 数据库架构:https://docs.openstack.org/ha-guide/shared-database.html 1.2. 本次使用的的是Percona XtraDB Cluster,5.7版本 https://www.percona.com/doc/p ...
分类:
数据库 时间:
2018-02-12 16:55:37
阅读次数:
210
etcd是什么? A highly-available key value store for shared configuration and service discovery. 是一个键值存储仓库,用于配置共享和服务发现 简单:基于HTTP+JSON的API让你用curl命令就可以轻松使用。 ...
分类:
其他好文 时间:
2018-02-12 16:45:56
阅读次数:
180
解决 openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
分类:
其他好文 时间:
2018-02-12 15:17:14
阅读次数:
1094
在对象拷贝后就立即被销毁的情况下,移动而非拷贝对象会大幅度提升性能。以及像 IO 类或 unique_ptr 这样的类,包含不能被共享的资源,不能拷贝但可以移动。而标准库容器、string 和 shared_ptr 类既支持移动也支持拷贝 右值引用: 右值引用是 c++11 为了支持移动操作引入的。 ...
分类:
移动开发 时间:
2018-02-11 23:37:40
阅读次数:
212
一个服务器,最重要的资源之一就是内存,内存够不够用,是直接关系到系统性能的关键所在。 本文介绍如何查看Linux服务器内存使用情况, 1、free命令 free -m [root@localhost ~]# free -m total used free shared buffers cachedM ...
分类:
其他好文 时间:
2018-02-11 16:17:49
阅读次数:
162
Jenkinsfile https://jenkins.io/doc/book/pipeline/jenkinsfile/ Jenkins Pipeline is a suite of plugins that supports implementing and integrating contin ...
分类:
其他好文 时间:
2018-02-10 18:18:23
阅读次数:
217
1 Thread Based Parallelism - Thread Synchronization With Lock 2 3 import threading 4 5 shared_resource_with_lock = 0 6 shared_resource_with_no_lock = ... ...
分类:
其他好文 时间:
2018-02-09 20:28:48
阅读次数:
159
1.安装依赖apr wget http://www.eu.apache.org/dist/apr/apr-1.6.3.tar.gz tar -zxvf apr-1.6.3.tar.gz cd apr-1.6.3 ./configure --prefix=/usr/local/apr make && ...
分类:
Web程序 时间:
2018-02-09 15:15:43
阅读次数:
189
synchronized版本public?class?Test?{
public?static?void?main(String[]?args)?{
Shared?s?=?new?Shared();
Thread?t1?=?new&nbs
分类:
其他好文 时间:
2018-02-08 20:22:52
阅读次数:
244