llvm-project
llvm-project copied to clipboard
[LNT] Implement separate backend server
| Bugzilla Link | 27534 |
| Version | unspecified |
| OS | All |
| Reporter | LLVM Bugzilla Contributor |
| CC | @cmatthew |
Extended Description
LNT needs to be factored into a front-end and a back-end. This will support:
- Clearer policies around interactions with the database.
- Improved caching for results.
- Opportunities for long-lived processing jobs running in the backend (decoupled from an individual front-end HTTP request).
Given our existing infrastructure, we should probably do this by just continuing to use Flask to server REST APIs to the front-end.
When running out-of-the-box or in a simple development configuration, we should just run the backend in process, or in a manner that is cleanly coupled to the launched process.
When running in a larger scale deployment, administrators should be responsible for factoring the execution of the front-end and back-end services appropriately.
I can take this.
assigned to @cmatthew