- 博客(6)
- 资源 (3)
- 收藏
- 关注
mysql 百万级数据插入更新速度问题
大家好^^ 我现在正在作毕业设计 题目是构建一个[color=red]搜索引擎[/color] 现在已经实现了crawler,代码全是自己写的,没有参开其他的open source,所以完全没有学习人家的开源的思想,比如nutch,然后再所以没有用文件作url的库,用的是mysql 5.0的innodb表,数据库中一共有12张表,分别是vUrls(以访问的url),urls_0到url...
2007-11-12 00:02:55 806
不解的内存泄露(2)
因为前面一个星期回家看病(都是coding)惹得祸 所以一直没上线 所以前面的帖子就没看 当然问题也没解决 [url]http://www.iteye.com/post/400274[/url] 有朋友说MD5有问题 我觉得没有阿 还是贴下保险 [code] /** * @functionName: generateMD5 * @description: g...
2007-10-31 14:22:03 128
不解的内存泄露
这边有个程序给改了之后发生了内存泄露 但是自己找不出原因 大家看看是哪出错了 这是根据jprofile找出的内存使用不正常的代码 [code]private ArrayList ParseHyperLinks() throws ParserException { ArrayList hyperLinks = new ArrayList(); SimpleNo...
2007-10-24 17:22:31 89
用socket抓取网页 建立连接后如何复用同一个socket?
[b]以下是程序 只能抓取前面一个网页 后面复用的不行 [/b] [code]public class text { public static void main(String[] args) throws IOException { String hostname = "www.iteye.com"; int port = 80; InetAddress addr = In...
2007-10-09 23:34:23 141
pro hadoop apress
2009-09-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人