mlflow / mlflow

Open source platform for the machine learning lifecycle
https://mlflow.org
Apache License 2.0
18.89k stars 4.25k forks source link

Add support for session backend #13643

Open kimminw00 opened 3 weeks ago

kimminw00 commented 3 weeks ago

Willingness to contribute

No. I cannot contribute this feature at this time.

Proposal Summary

Currently, MLflow does not support a session backend, making it difficult to maintain a consistent user session across multiple MLflow instances deployed for traffic distribution. Without session persistence, users experience the inconvenience of repeatedly re-entering session information, which reduces efficiency in a distributed environment.

Reference https://github.com/apache/airflow/blob/c1bd9c5c0141ec8b981e12232224ee1595cb83d1/airflow/www/session.py

Motivation

What is the use case for this feature?

Why is this use case valuable to support for MLflow users in general?

Why is this use case valuable to support for your project(s) or organization?

Why is it currently difficult to achieve this use case?

Details

No response

What component(s) does this bug affect?

What interface(s) does this bug affect?

What language(s) does this bug affect?

What integration(s) does this bug affect?

harupy commented 3 weeks ago

@kimminw00 Thanks for the FR. I'll look into https://github.com/apache/airflow/pull/21478 to see how Airflow uses Flask-Session.