V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
WildCat
V2EX  ›  Go 编程语言

自己的小爬虫网站,最初用 PHP 写的,后来用 node.js 重构,最近又想用 Go 或 Python 重构,不知道哪个好些? VPS 是 512MB/1G 内存

  •  
  •   WildCat · 2014-12-31 17:51:39 +08:00 via iPhone · 1329 次点击
    这是一个创建于 3414 天前的主题,其中的信息可能已经有所发展或是发生改变。
    爬虫的需求并不复杂,主要是解析 HTML …

    都说 Go 写异步/并发比较爽,想试试…
    9 条回复    2015-01-01 19:56:48 +08:00
    assassinpig
        1
    assassinpig  
       2014-12-31 17:58:23 +08:00   ❤️ 1
    lz够折腾,小网站随意了吧
    WildCat
        2
    WildCat  
    OP
       2014-12-31 18:04:43 +08:00 via iPhone
    @assassinpig 换 node.js 主要是为了练习(以前在BAE,3.0版本的PHP没定时任务了)
    nicksite
        3
    nicksite  
       2014-12-31 18:06:31 +08:00   ❤️ 1
    lz要练习的话,优雅地选择python吧
    njutree
        4
    njutree  
       2014-12-31 18:13:16 +08:00   ❤️ 1
    lz要练习的话,简洁地选择go吧
    tanywei
        5
    tanywei  
       2015-01-01 08:31:43 +08:00
    爬哪个站啊?
    wezzard
        6
    wezzard  
       2015-01-01 16:27:58 +08:00   ❤️ 1
    lz yào liàn xí de huà zhē téng de xuan zé C++ ba
    laotaitai
        7
    laotaitai  
       2015-01-01 18:53:58 +08:00   ❤️ 1
    爬虫最好不要拿异步, 不然你很控制它在指定带宽里爬行, 它是能跑多快就跑多快.
    WildCat
        8
    WildCat  
    OP
       2015-01-01 19:46:28 +08:00 via iPhone
    @tanywei 必然不会告诉你呀,公开了我就没必要做啦
    wezzard
        9
    wezzard  
       2015-01-01 19:56:48 +08:00   ❤️ 1
    @WildCat I'm serious. Apple's lib-dispatch framework is super powerful to multi-threading tasks. And this framework has been ported to Windows and Linux.
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   6339 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 02:10 · PVG 10:10 · LAX 19:10 · JFK 22:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.