Coder Social home page Coder Social logo

Performance improvements. about channels_redis HOT 3 CLOSED

django avatar django commented on August 30, 2024
Performance improvements.

from channels_redis.

Comments (3)

proofit404 avatar proofit404 commented on August 30, 2024

Hi, thanks for feedback!

If you're using recent pip, you will have wheel installation of the msgpack package. It's already compiled to c extension. Cython installation isn't necessary. It is required only if you decide to recompile it from sdist yourself. But in this case user already knows what to do.

Hiredis is widely used and don't require any change in our code base. I think we can mention it in the docs or even show warning message if this library is missing. @andrewgodwin any suggestions?

You can implement asyncio extension for channel layer. But you need protocol server capable to use it. Channels itself complete synchronous in it's core. And Daphne will use twisted extension. So it's much more work then just receive method.

Also consider to read recent blog post by @andrewgodwin about channels future and features we planning in 2.0 version. It can give you few insights.

Regards, Artem.

from channels_redis.

andrewgodwin avatar andrewgodwin commented on August 30, 2024

We could definitely mention hiredis in the docs somewhere, that would be an easy performance improvement for those that can install it. I'm not sure if it works for things like PyPI though so I'm not sure I want to turn it into a warning.

from channels_redis.

proofit404 avatar proofit404 commented on August 30, 2024

Ok, I'll do that.

from channels_redis.

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.