Home
Sign Up
Sign In
DNS 参考资料
›
List of DNS Record Types
›
dig 使用说明
›
djbdns
›
DNS Parameters
›
dnslib for Python
Advertisement
378.3
534.47
V2EX
›
DNS
dnslib
Livid
·
PRO
·
Aug 30, 2012
· 4836 views
This topic created in 5069 days ago, the information mentioned may be changed or developed.
A simple library to encode/decode DNS wire-format packets.
http://pypi.python.org/pypi/dnslib
wire
simple
packets
14 replies
•
1970-01-01 08:00:00 +08:00
1
chuangbo
Aug 31, 2012
DNS 压力上去后,瓶颈在 CPU,所以用 python 不是一个好选择。
2
Livid
MOD
OP
PRO
Aug 31, 2012
@
chuangbo
话说你们目前的系统在单台服务器上的 QPS 记录到多少了?
3
chuangbo
Aug 31, 2012
@
Livid
要看是什么情况了。。
4
gonbo
Aug 31, 2012
@
chuangbo
@
Livid
用现代工具比如redis,用内存cache一些计算结果,然后用pypy优化,python完全能够达到和C一个数量级的QPS。
5
chuangbo
Aug 31, 2012
@
gonbo
比如 120w ?
6
gonbo
Aug 31, 2012
120w 这个级别要上内核吧,我觉得10万这个级别python是可以到的。
7
chuangbo
Aug 31, 2012
@
gonbo
内核是300多万。。
8
Livid
MOD
OP
PRO
Aug 31, 2012
@
chuangbo
On one box?
9
notedit
Aug 31, 2012
@
chuangbo
@
gonbo
@
Livid
可以看看章亦春刚刚发布的
https://github.com/agentzh/lua-resty-dns
10
chuangbo
Aug 31, 2012
@
Livid
(= ̄▽ ̄=)V
11
Livid
MOD
OP
PRO
Aug 31, 2012
@
chuangbo
是 x86_64 还是 T2000 那样的怪兽呢?
12
chuangbo
Aug 31, 2012
@
Livid
怪兽部署很麻烦,虽然我们确实在折腾 Tilera64 这样的东西。最常见的至强8核 + 千M网卡就可以了。在 300万+ QPS 的攻击下,单机可以处理、返回 120 万 QPS。
13
Livid
MOD
OP
PRO
Aug 31, 2012
@
chuangbo
因为怪兽的 OS 不好使?
14
chuangbo
Aug 31, 2012
@
Livid
因为是腾讯的机房、服务器、流程。
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
932 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: d3e9c8b8 · 32ms ·
UTC 21:40
·
PVG 05:40
·
LAX 14:40
·
JFK 17:40
♥ Do have faith in what you're doing.
❯