I am trying to send really small packets of data like a .zip file of about 15kb efficiently to the frontend from my Flask backend, but it takes 1-2 seconds. I tried using the Flask send_file which seemed slow, and then I tried uploading the file to AWS S3 and then retrieving it in the frontend, which is an even slower workflow.
Is this a bottleneck here on PythonAnywhere because of the shared resources? Is there any way I can speed this up?