Two Sum Java解决方案 Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each in ...
分类:
编程语言 时间:
2019-11-29 23:41:06
阅读次数:
110
环境 1. tomcat 8.5 原因 在使用相对路径加载配置文件时,如果相对路径超出了 tomcat 容器的根目录,那么 tomcat 会提示 。 分析 下面从 tomcat 的源码来进行分析。 validate 在 StandardRoot 中,有一个 validate 方法,该方法的注释如下: ...
分类:
其他好文 时间:
2019-11-28 21:35:42
阅读次数:
201
```yaml apiVersion: apps/v1beta1 kind: Deployment metadata: annotations: deployment.kubernetes.io/revision: '8' labels: ownerName: deplatmnt system_cl... ...
分类:
其他好文 时间:
2019-11-28 20:59:16
阅读次数:
91
一、Dubbo框架简介 1、框架依赖 图例说明: 1)图中小方块 Protocol, Cluster, Proxy, Service, Container, Registry, Monitor 代表层或模块,蓝色的表示与业务有交互,绿色的表示只对 Dubbo 内部交互。 2)图中背景方块 Consu ...
分类:
编程语言 时间:
2019-11-28 17:39:01
阅读次数:
97
本文旨在记录过程,不做过多描述。具体参数信息请参考官方文档。1、环境信息主机配置信息如下图:共享磁盘信息如下图:2、安装VeritasInfoScaleEnterprise以root身份登录任意一节点,执行installer程序,然后输入I,如下图:[root@odb01~]#/mnt/rhel7_x86_64/installer选择VeritasInfoScaleEnterprise,安装完成后
分类:
数据库 时间:
2019-11-28 15:07:25
阅读次数:
114
Galera Cluster特点 1、多主架构:真正的多点读写的集群,在任何时候读写数据,都是最新的 2、同步复制:集群不同节点之间数据同步,没有延迟,在数据库挂掉之后,数据不会丢失 3、并发复制:从节点APPLY数据时,支持并行执行,更好的性能 4、故障切换:在出现数据库故障时,因支持多点写入,切 ...
分类:
数据库 时间:
2019-11-28 13:34:09
阅读次数:
89
原题链接在这里:https://leetcode.com/problems/increasing-subsequences/ 题目: Given an integer array, your task is to find all the different possible increasing ...
分类:
其他好文 时间:
2019-11-28 10:37:13
阅读次数:
63
COMP61021: Modelling and Visualisation of High Dimensional DataLab 3: Self-Organizing Map Implementation and Application (Assessed)This coursework (a ...
分类:
其他好文 时间:
2019-11-27 19:26:57
阅读次数:
82
elasticsearch安装使用 elasticsearch是支持Linux和window系统的,elasticsearch官网上最新的稳定版本是6,2,4,该版本不支持jdk8以下的,所以需要在你的系统下安装好jdk8。安装步骤: 1、下载elasticsearch的rpm包: 2. 安装ela ...
分类:
其他好文 时间:
2019-11-27 11:55:44
阅读次数:
63
LVS负载均衡群集理解负载均衡群集的原理掌握LVS-NAT的部署企业群集应用概述群集的含义:1.Cluster,集群、群集2.由多台主机构成,但对外只表现为一个整体在互联网应用中,随着站点对硬件性能、响应速度、服务稳定性、数据可靠性等要求越来越高,单台服务器力不从心解决方法:1.使用价格昂贵的小型机、大型机2.使用普通服务器构建服务群集企业群集分类根据群集所针对的目标差异,可分为三种类型:1.负载
分类:
其他好文 时间:
2019-11-27 10:45:02
阅读次数:
80