Skip to content

Provide way to run with the WSGI/ASGI protocols #4311

@StefanBrand

Description

@StefanBrand

Problem

We have a Django backend and a Vue.js frontend. We also deploy Streamlit to render some charts with Django functions. Both Django and Streamlit are in the same repository and Docker image. In order to bring up both Django and Streamlit in the Kubernetes cluster we need two almost identical deployments of the same image: One for Django and one for Streamlit.

Additional context

I'm putting into practice this advice of @nthmost on the forum:

If you’re finding ASGI support to be an important aspect of whether you want to use Streamlit or not, I would recommend filing an enhancement request 7 on our github repo.

It seems a prerequisite is ASGI support in Tornado: tornadoweb/tornado#2666


Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.

If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.

Views

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:deploymentRelated to deployment of Streamlit appstype:enhancementRequests for feature enhancements or new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions