Nginx首先了解Nginx的功能和特性Nginx的特性:模块化设计、较好扩展性高可靠性master-->worker低内存消耗10000个keep-alive连接在Nginx仅消耗2.5MB支持热部署不停机而更新配置文件、更换日志文件、更新服务器程序版本基本功能:静态资源的web服务器,能缓存打开的文件描述符..
分类:
其他好文 时间:
2015-02-04 00:52:37
阅读次数:
290
CentOS 7继承了RHEL 7的新的特性,例如强大的systemctl,而systemctl的使用也使得以往系统服务的/etc/init.d的启动脚本的方式就此改变,也大幅提高了系统服务的运行效率。但服务的配置和以往也发生了极大的不同,说实在的,变的简单而易用了许多。下面我们以利用forever...
分类:
其他好文 时间:
2015-02-03 10:59:31
阅读次数:
142
For the daily milking, Farmer John's N cows (1 ≤ N ≤ 50,000) always line up in the same order. One day Farmer John decides to organize a game of Ultimate Frisbee with some of the cows. To keep things simple, he will take a contiguous range of cows from the...
分类:
其他好文 时间:
2015-02-02 23:19:29
阅读次数:
254
最近网上都搜不到Taylor的歌了,分享一张love best的album给大家,支持霉霉的还是去买正版把~专辑曲目:01. “Jump Then Fall” 03:5702. “Untouchable” 05:1103. “Forever & Always” (Piano Version) 04:...
分类:
编程语言 时间:
2015-01-30 16:58:50
阅读次数:
160
使用TCP的keepalive来检查网络错误
为了检测网络错误和信令连接问题,你可以开启TCP的keep alive 功能。
它会增加信令使用的带宽,但信令通道使用的带宽要小于它的实际带宽,增加得并不多。
而且,还可以控制它keep alive的超时时长。
问题是大多数的系统对TCP keepalive的超时时长为7200秒,约两个小时。
你可能会想要这个时间更短此,如一分钟等。...
分类:
其他好文 时间:
2015-01-30 16:12:30
阅读次数:
474
For those goals, I honestly donotunderstand why people keep telling you that you need the encodings. You certainly do NOT need to worry about encoding...
分类:
其他好文 时间:
2015-01-28 12:36:33
阅读次数:
191
Note Those of you interested in the Apache 2.0.X tutorial, it has been abandon and I will no longer keep it updated, but it can be foundher...
uva 11384 Help is needed for Dexter
Dexter is tired of Dee Dee. So he decided to keep Dee Dee busy in a game. The game he planned for her is quite easy to play but not easy to win at least not ...
分类:
其他好文 时间:
2015-01-26 22:56:09
阅读次数:
213
第一篇 奋斗--When youfeel tired, it’s probably because you’re walking up an upwards slope in yourlife. Keep going, and you’ll soon realise that you’ve reached new heights. 感觉累的时候,也许你正处于人生的上坡路。坚持走下去,你就会发现到...
分类:
其他好文 时间:
2015-01-24 14:33:03
阅读次数:
109
public class ViewController1 : ViewController { ListViewProcessCurrentObjectController controller; protected override void OnActivat...