Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
StefanBrand opened this issue Jan 24, 2022 · 3 comments
Open

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

StefanBrand opened this issue Jan 24, 2022 · 3 comments
Labels
area:deployment Related to deploying Streamlit apps type:enhancement Requests for feature enhancements or new features

Comments

@StefanBrand
Copy link

StefanBrand commented Jan 24, 2022

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.

@StefanBrand StefanBrand added type:enhancement Requests for feature enhancements or new features status:needs-triage Has not been triaged by the Streamlit team labels Jan 24, 2022
@willhuang1997
Copy link
Collaborator

Hi Stefan, I hear your request about adding a way to run with the wsgi/asgi protocols. Right now, we are working on somethings but I'll let our product team know that this request has been made. Depending on priorities, we may or may not be able to get to this. However, we appreciate the feedback a lot! 🎈

@willhuang1997 willhuang1997 added status:needs-triage Has not been triaged by the Streamlit team and removed status:needs-triage Has not been triaged by the Streamlit team labels Feb 1, 2022
@eldos-dl
Copy link

eldos-dl commented Jul 27, 2022

This support would also help with the deployment of a Streamlit app to AWS Lambda.

@lukasmasuch lukasmasuch added area:deployment Related to deploying Streamlit apps and removed status:needs-triage Has not been triaged by the Streamlit team labels Oct 14, 2022
@mstaal
Copy link

mstaal commented Nov 13, 2023

What is the state of this? :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:deployment Related to deploying Streamlit apps type:enhancement Requests for feature enhancements or new features
Projects
None yet
Development

No branches or pull requests

6 participants