V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Tornado Documentation
http://www.v2ex.com/tornado/
Tornado on GitHub
https://github.com/facebook/tornado/
Tornado Gists
http://tornadogists.org/
1989922yan
V2EX  ›  Tornado

torndb 停留在 0。3 版本,不再升级了嘛?

  •  
  •   1989922yan · 2014-12-17 10:32:41 +08:00 · 5088 次点击
    这是一个创建于 3412 天前的主题,其中的信息可能已经有所发展或是发生改变。
    https://github.com/bdarnell/torndb

    刚刚看了,第一次用
    8 条回复    2015-02-03 18:43:40 +08:00
    Zhongwei
        1
    Zhongwei  
       2014-12-17 10:39:07 +08:00
    曾经我一直以为只会停留在 0.1 版本,没想到现在到了 0.3 :)
    timothyqiu
        2
    timothyqiu  
       2014-12-17 11:28:58 +08:00
    句号逼死强迫症……另外这个问题 Readme 里已经回答你了:

    This package is not actively maintained, and since it exists primarily for backwards compatibility with the module provided in Tornado prior to version 3.0, I do not intend to make major changes or merge pull requests that do so. You are welcome to create a fork, but pull requests are unlikely to get merged into this repo.

    (爷不怎么维护了,反正这货存在的意义只是为了向后兼容 Tornado 3.0 版本前附带的这个模块。爷不准备再做大改动了,PR 也不高兴再去合。你就自己 fork 着玩玩吧,PR 你发了我基本上不会去合。)
    zhouquanbest
        3
    zhouquanbest  
       2014-12-17 12:00:06 +08:00
    Tornado 官方提供一个非异步的 torndb 我一直觉得很神奇
    zenliver
        4
    zenliver  
       2014-12-17 12:03:59 +08:00
    https://github.com/mayflaver/AsyncTorndb 给个异步版本 有兴趣的可以pull request, 我准备重写部分地方
    skybr
        5
    skybr  
       2014-12-17 12:09:49 +08:00
    异步的话pymysql官方不是提供了一个tornado下的pymysql pool么(虽然我没用过).
    Livid
        6
    Livid  
    MOD
       2014-12-17 12:13:55 +08:00
    那目前大家在 Tornado 里连 MySQL 最好的做法是?
    1989922yan
        7
    1989922yan  
    OP
       2014-12-17 12:45:08 +08:00
    @timothyqiu
    已经无法修改 = =|
    好吧,估计是不维护了 = =|
    lucn
        8
    lucn  
       2015-02-03 18:43:40 +08:00
    @Livid 我是用的SQLAlchemy,SQLAlchemy用的MySQL-python,我觉得Tornado的IO时间很金贵,并发多的话并不合适
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2852 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 06:17 · PVG 14:17 · LAX 23:17 · JFK 02:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.