Ngingx的特点(1)模块化设计,较好的扩展性(2)高可靠性 master(控制)-->worker(3)较低的内存消耗 10000个keep-alive连接在Nginx仅消耗2.5M(4)支持热部署 不停机而更新配置文件、更换日志文件、更新服务器程序版本基本功能: 静态资源的web服务器,能缓存...
分类:
其他好文 时间:
2014-12-29 11:43:04
阅读次数:
331
Numbers keep coming, return the median of numbers at every time a new number added.ExampleFor numbers coming list: [1, 2, 3, 4, 5], return [1, 1, 2, 2...
分类:
其他好文 时间:
2014-12-29 10:19:09
阅读次数:
123
为什么使用Nginx; 性能比较好; 第三方模块扩展较多;(开源协议较为宽松) 高可靠性:主控进程和工作进程,一个工作进程出错主进程可以快速另开一个; 低内存消耗:一万个keep-alive连接在Nginx仅消耗2.5MB,支持较高的连接数; 支持热部署;不用停止服务就能版本更新,更新配置..
分类:
其他好文 时间:
2014-12-29 06:39:30
阅读次数:
225
Starting and running a business can provide a lot of satisfactions.I can be my own boss, keep schedule of my own, and answer to nobody but myself.If I...
分类:
其他好文 时间:
2014-12-27 21:39:15
阅读次数:
367
引用题解:http://blog.csdn.net/wyfcyx_forever/article/details/40347425#include#includeusing namespace std;int next[1000001],n;char s[1000001];void GetFail(...
分类:
编程语言 时间:
2014-12-27 16:04:19
阅读次数:
181
Given an array with positive and negative integers. Re-range it to interleaving with positive and negative integers.NoteYou are not necessary to keep ...
分类:
其他好文 时间:
2014-12-27 01:26:58
阅读次数:
421
最近比较迷茫,不知道做什么,将自己最近碰到的一些问题整理一下。网上查了许多解决方法,情况略有不同。1,单行溢出。css可以直接解决,但多数浏览器都可以支持,word-break:keep-all;/* 不换行 */white-space:nowrap;/* 不换行 */overflow:hidden...
分类:
其他好文 时间:
2014-12-26 16:19:17
阅读次数:
115
http keep-alive与tcp keep-alive...
分类:
Web程序 时间:
2014-12-24 11:49:17
阅读次数:
146
大数据量的系统要经过对数据的用处分析和数据周期分析,以寻求更好的解决方案。1:业务系统的基础数据,如人员基础信息(基础资料,权限等).数据可以KEEP在内存中.数据要分散存储.基础数据逻辑要简洁.使用增量更新.高峰期来临前提前更新基础数据2:热数据处理此部分数据是各方面环境会频繁使用到的数据对这部分...
分类:
其他好文 时间:
2014-12-23 17:13:51
阅读次数:
165
word-break 属性规定自动换行的处理方法。word-break:normal | break-all | keep-all; normal:使用浏览器默认的换行规则。 break-all:允许在单词内折行。 keep-all:只能在半角空格或连字符处换行。JavaScript,一種直譯...
分类:
Web程序 时间:
2014-12-22 00:51:38
阅读次数:
188