Giter Club home page Giter Club logo

Comments (3)

lesismal avatar lesismal commented on June 5, 2024 3

非完整功能的异步网络库做这个测试没有意义
gnet已经加入了,但是只能忽悠外行。功能不完整的代码,跟人家http功能完整的框架去比性能,除了网络部分,http的部分相当于只做了别人的十分之一甚至百人之一,然后说比别人性能强,这非常不严谨、完全是自欺欺人的
除非异步网络库也加入了相对完整的功能,再去对比才有意义

异步库的优势在于极大减少高并发场景下的协程数量,并降低与其相对应的协程内存、协程调度等成本,要对比可以只对比4层数据传输的性能。gev/gnet就网络部分而言,应该对标标准库的net而不是net/http

from gev.

kiyonlin avatar kiyonlin commented on June 5, 2024 2

第一次知道这个,感谢告知😄。

等我有时间,会安排上的。我不太了解这个 techempower ,如果你愿意的话,可以直接PR。

建议查看一下general-test-requirements,第一条要求就是生产级别的实现

假如只是做个简单的请求头解析,参加plaintext的测试(比如gnet@panjf2000 你怎么看?),个人感觉没有意义,对其他框架来说,有点“作弊”的味道。

要是正儿八紧地完整实现http协议,我还是很支持的。

from gev.

Allenxuxu avatar Allenxuxu commented on June 5, 2024

第一次知道这个,感谢告知😄。
等我有时间,会安排上的。我不太了解这个 techempower ,如果你愿意的话,可以直接PR。

from gev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.