加载中
python tornado框架中的 Happy Eyeballs 算法实现

Happy Eyeballs 算法 "Happy Eyeballs" 算法用于优化ipv4与ipv6的连接,许多应用程序在启动的时候优先选择ipv6连接,如果失败,再尝试 ipv4连接(fallback),和ipv4对比ipv6的网络尚未稳定,...

2016/09/07 09:56
473
Inside NGINX: How We Designed for Performance & Scale

NGINX leads the pack in web performance, and it’s all due to the way the software is designed. Whereas many web servers and application servers use a simple threaded or proces...

2016/08/08 16:36
114
python编码

最近业务中需要用 Python 写一些脚本。尽管脚本的交互只是命令行 + 日志输出,但是为了让界面友好些,我还是决定用中文输出日志信息。 很快,我就遇到了异常: Python代码 收藏代码 UnicodeE...

2016/08/04 15:28
90
find grep组合使用

在当前目录下所有文件中查找内容包含 string 的文件: find ./ -name "*" -exec grep "string" {} ; 注意:在最后不能加 print ,否则会出错. 在当前目录下所有文件中查找内容包含 string 的文件...

2016/07/28 12:08
135
text

183.62.251.42

2016/07/27 13:26
25
同步 异步

生活中存在着很多同步异步的例子。比如: 同步过程-你叫我去吃饭,我听到了就立刻和你去吃饭,如果我们没有听到,你就会一直叫我,直到我听见和你一起去吃饭,这个过程叫同步; 异步过程-指你...

2016/07/05 20:09
167
HMAC

HMAC 根据RFC 2316(Report of the IAB,April 1998),HMAC(散列消息身份验证码: Hashed Message Authentication Code)以及IPSec被认为是Interact安全的关键性核心协议。它不是散列函数,而是...

2016/06/28 22:12
120
Ubuntu 升级gcc4.8到gcc4.9

升级gcc

2016/06/21 19:26
365
python pdb调试

启动: python -m pdb myscript.py 常用命令说明: l #查看运行到哪行代码 n #单步运行,跳过函数 s #单步运行,可进入函数 p 变量 #查看变量值 b 行号 #断点设置到第几行 b #显示所有断点列...

2016/06/20 14:46
154

没有更多内容

加载失败,请刷新页面

返回顶部
顶部