Hacker News new | ask | show | jobs
by moon82 539 days ago
Thanks for sharing! Let me ask one quick question -- how do you host/deploy python backend (x-api)?
1 comments

Since, app has selenium minimum running requirement would be 1GB RAM on any OS, and free version of any hosting do not provide that, some that provide are limited by build times or shared cpus.

So it was only logical to go through the pain/pleasure of setting up deployment on VM.

Python Backend is deployed on Azure VM(with 4 GB), since it's built on Fastapi their AWSGI support helps keep the server running on long intervals.

This one is using CF Tunnels to Prod to reduce the latency due to server location.

You can see uvicorn docs to learn more https://www.uvicorn.org/