Serve frontend using thttpd #42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This might be a dumb idea, but I think it'd be interesting anyways.
The idea atm is to serve the frontend using the backend's Rocket server. This works perfectly fine, but it might not be the most efficient we can be. I know that thttpd is a really fast web server designed for serving static files, e.g. our frontend. Therefore I'd like to consider separating the frontend & backend using separate web servers. Backend gets handled by Rocket, and the frontend by thttpd.
Wether we should combine this into a single container or split it into multiple is still up for debate. A single container would be easier te manage, but it does violate the principle that each container should only do one thing.
One issue with this is the fact that thttpd only support HTTP/1.1. This'll have to be investigated.
Food for thought.