1:高可用性集群 强调的是高可用性。2:负载均衡集群 不强调高可用性,强调负载的均衡3:高吞吐集群 注重吞吐量,又叫做SIMD(single instruction multiple data),每个worker的功能相同,数据不同。4:分布式计算 又叫做MIMD(multiple inst...
分类:
其他好文 时间:
2014-08-23 19:02:41
阅读次数:
251
开机的时候按Esc调出GRUB菜单。进入高级模式。
选中恢复模式(recover mode)后按‘e’键。
把ro recovery nomodeset 改成rw single init=/bin/bash
然后按ctrl+x 进入单用户模式。
然后重置root密码,命令为 passwd root。
重启,就ok啦。...
分类:
其他好文 时间:
2014-08-23 14:02:20
阅读次数:
261
LeetCode: Single NumberGiven an array of integers, every element appears twice except for one. Find that single one. Note:Your algorithm should have a...
分类:
其他好文 时间:
2014-08-23 12:38:10
阅读次数:
212
When I started working on Open Stack, I had to investigate about the HA of the nova component. Unfortunatly the nova configuration needed a single ent...
分类:
数据库 时间:
2014-08-22 21:04:19
阅读次数:
527
int singleNumber(int A[], int n) { int once = 0; int twice = 0; int three = 0; for (int i = 0; i < n; ++i) { //在计算新的once 前,计算twice twice |...
分类:
其他好文 时间:
2014-08-22 16:00:48
阅读次数:
146
SELECT t.PROB_ID, STUFF((SELECT ',' + s.NOTESFROM gpcomp1.GPPROBNOTES sWHERE s.PROB_ID = t.PROB_IDFOR XML PATH('')),1,1,'') AS NOTESFROM gpcomp1.GPPRO...
分类:
其他好文 时间:
2014-08-21 21:00:04
阅读次数:
174
DoImagePickerControllerAn image picker controller with single selection and multiple selection. Support to select lots photos with panning gesture.这是一...
分类:
其他好文 时间:
2014-08-21 20:51:44
阅读次数:
232
While deploying MS Exchange 2013 I experienced issues with accessing the Exchange Management Shell and Exchange Toolbox. Whenever I tried to open the ...
There is an 8*8 chess board in which two diagnolly opposite corners have been cut off. You are given 31 dominos, and a single domino can cover exactly...
分类:
其他好文 时间:
2014-08-20 12:01:32
阅读次数:
236
AngularJS通过新的属性和表达式扩展了HTML。------------->扩展HTML属性AngularJS可以构建一个单页面应用程序(SPAs: Single Page Applications)。AngularJS表达式AngularJS 使用 表达式 把数据绑定到HTML。Angula...
分类:
Web程序 时间:
2014-08-19 23:47:25
阅读次数:
179