panyanyany
V2EX  ›  问与答

websocket 用哪种框架比较好? Python 的 autobahn, 还是 go 的 websockets

  •  
  •   panyanyany · Oct 9, 2017 · 3225 views
    This topic created in 3258 days ago, the information mentioned may be changed or developed.

    go 的 websockets 在 github 上 star 数是 3k 多好像,而 autobahn 才 1k 多。
    但纠结的是前者好像没有比较完善的测试方案,autobahn 的话虽然没有测试文档,但网上例子多,参考着改一改还是行的。

    2 replies    2017-10-09 10:35:21 +08:00
    mooncakejs
        1
    mooncakejs  
       Oct 9, 2017
    ratazzi
        2
    ratazzi  
    PRO
       Oct 9, 2017
    如果 Python 的话,可以考虑 tornado
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5376 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 07:20 · PVG 15:20 · LAX 00:20 · JFK 03:20
    ♥ Do have faith in what you're doing.