Giter Site home page Giter Site logo

Optimize performance about vj4 HOT 3 CLOSED

vijos avatar vijos commented on May 25, 2024
Optimize performance

from vj4.

Comments (3)

iceboy233 avatar iceboy233 commented on May 25, 2024 1

9504a0c improved main page on 1-core aliyun from 20qps to 53qps

from vj4.

iceboy233 avatar iceboy233 commented on May 25, 2024

motor 0.7+ uses a thread pool implementation, which is much slower than 0.6.2

from vj4.

iceboy233 avatar iceboy233 commented on May 25, 2024

switched to aiomongo in d3a5201, improved from the 53qps to 69qps.

sanic not possible due to no sockjs implementation, and the performance of aiohttp has improved by using nginx http parser. We can switch to it later if we decided to use raw websockets (#191). aiohttp-r3 is not possible because the r3 library is unstable. pypy3 is not possible because vj4 on its current version run slower than cpython. uvloop is possible but I don't want to use it.

from vj4.

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.