背景介绍:目前我们线上的前端服务器数量比较多,超过200多台,每次发布新应用的时候,都是将软件包放在一台专门的Push服务器上,再由所有的前端服务器通过rsync自动同步。但随着前端服务器的数量越来越多,Push服务器的带宽已经成为了瓶颈。而BitTorrent Sync这种P2P方式的同步则是一种...
分类:
系统相关 时间:
2015-06-11 22:40:31
阅读次数:
361
Folderpairs - Edit folderpair -Sync options -Instant syncSelect this for instant sync on change. Only detects changes on local device.Use with care!Se...
分类:
其他好文 时间:
2015-06-09 23:34:37
阅读次数:
307
学习了Android 4.4 ART的Mark-Sweep(MS)GC。到了Android
5.0,ART增加了对Compacting GC的支持,包括Semi-Space(SS)、Generational Semi-Space(GSS)和Mark-Compact (MC)三种。
总体来说,Compacting GC和Mark-Sweep GC各有优劣。所谓Compacting
GC,就...
分类:
其他好文 时间:
2015-06-09 17:33:54
阅读次数:
125
First of all the full version is required.The full version works as a Tasker plugin - when you configure a new task in Tasker you are presented with a...
分类:
其他好文 时间:
2015-06-08 23:04:24
阅读次数:
163
问题 网上说:http://wenda.haosou.com/q/1386389928069965 昨晚这个问题真的费了我不少时间(晚上9到凌晨2点),网上找解决方案,然后一个个尝试,没有成功。准备放弃了,却又是预示即将发生转变。今天运行出现这个问题了:Authentication wit...
分类:
数据库 时间:
2015-06-06 16:27:50
阅读次数:
187
首先准备两台机器:client:192.168.1.10,server:192.168.1.20都安装:yum install -u nfs-utils rpcbind编辑server的nfs配置文件: vim /etc/exports /tmp/data 192.168.1.20(rw,sync)...
分类:
其他好文 时间:
2015-06-05 00:25:40
阅读次数:
122
文件同步服务器BitTorrent Sync有点像TeamViewer远程协助 软件,私钥连接。确实很好用。
分类:
其他好文 时间:
2015-06-04 18:47:22
阅读次数:
208
wap清理: 代码如下: swapoff -a && swapon -a 注意:这样清理有个前提条件,空闲的内存必须比已经使用的swap空间大 cache清理: 代码如下: sync; sync; sync; && echo3 》/proc/sys/v...
分类:
系统相关 时间:
2015-06-04 17:37:34
阅读次数:
240
服务器端:yum -y install nfs*rpcbindvi /etc/exports/home/willserver 192.168.1.100(rw,sync,no_root_squash)service rpcbind restartservice nfs restartsetenfor...
分类:
其他好文 时间:
2015-06-03 21:03:29
阅读次数:
130
For语句段
语法:
Expr1 ::= ?for? (?(? Enumerators ?)? | ?{? Enumerators
?}?) {nl} [?yield?] Expr
Enumerators ::= Generator {semi Enumerator}
Enumerator ::= Generator
| Guard
| ?val? Pattern1 ?=? Expr...
分类:
其他好文 时间:
2015-06-03 17:46:01
阅读次数:
170