Coder Social home page Coder Social logo

RSGI Motivation about granian HOT 2 CLOSED

b4stien avatar b4stien commented on August 28, 2024
RSGI Motivation

from granian.

Comments (2)

gi0baro avatar gi0baro commented on August 28, 2024

@b4stien would you give your opinion on #60 ? Thanks in advance :)

from granian.

b4stien avatar b4stien commented on August 28, 2024

Sorry for the very late reply, answering here instead of in the PR._

Thanks for the explanation! I'm not sure I understand the rational yet, here are some pointers about what could help.

  • Reasoning from first principles, it's not clear for me what problem in the "ASGI world" the "RSGI world" answers. Could you add precise examples of what is not possible without and what becomes possible with RSGI? For instance, I'm no expert in ASGI spec, but it's split into two part, the "protocol server" and the "application". Is the RSGI need coming from the "protocol server" being mandatorily written in Python? (for the record, uvicorn is written with Cython, which is not strictly Python)
    • You mention a "double await" being imposed in ASGI in a discussion, maybe it's a good starting point?
  • In particular you describe as "problem" various points which do not strike as problematic for the first time reader, for instance ASGI being tied to Python sounds OK: at the end of the day we are writing Python apps. On the same sentence: is ASGI really tied to asyncio? There are some ASGI servers written without asyncio (with trio for instance). If I miss something and these are real problems I think you could explain them more.

As a pure opinion (and I beg you to take it for what is is, an opinion): 1. there are a ton of WSGI/ASGI projects in production right now, 2. the ecosystem needs a down-to-earth-simple and high performance server for those projects, unencumbered with decades of legacy, 3. granian looks like the perfect project for this. I suspect you'll see a stream of ASGI/WSGI invested users being VERY interested in ASGI/WSGI support and not much by RSGI. At the end of the day you decide where you want to lead your project.

from granian.

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.