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

Revert control server to Flask instead of FastAPI #385

Merged
merged 4 commits into from
Jun 26, 2023

Conversation

bolasim
Copy link
Collaborator

@bolasim bolasim commented Jun 25, 2023

While my intentions were good (to increase performance thanks to FastAPI and unify some code with the inference server), this changed caused quite a few issues due to the async nature of the new control server that led to some race conditions while patching and restarting the inference server.

For now, let's revert and get back to this once we can properly test it for these race conditions.

Integration tests: https://github.com/basetenlabs/truss/actions/runs/5370661024

@bolasim bolasim force-pushed the bola/revert-control-fastapi branch 5 times, most recently from 7d8651b to 717c23c Compare June 25, 2023 01:25
@bolasim bolasim force-pushed the bola/revert-control-fastapi branch from 717c23c to 8b12ac8 Compare June 25, 2023 01:56
@bolasim
Copy link
Collaborator Author

bolasim commented Jun 25, 2023

@bolasim bolasim marked this pull request as ready for review June 25, 2023 02:13
@bolasim bolasim requested review from pankajroark and joostinyi and removed request for pankajroark June 25, 2023 02:13
@bolasim bolasim force-pushed the bola/revert-control-fastapi branch from acbe169 to d740084 Compare June 25, 2023 16:52
Copy link
Collaborator

@pankajroark pankajroark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change is big, a deep review will take substantial time. But I imagine this is almost entirely a revert. We should test it manually before rolling out, in addition to the various tests. lgtm.

@bolasim bolasim merged commit 926d256 into main Jun 26, 2023
3 checks passed
@bolasim bolasim deleted the bola/revert-control-fastapi branch June 26, 2023 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants