Replies: 1 comment 1 reply
-
Hey @LuchiLucs, Now, about your questions
So, in my talk I said about the possibility to use Granian on the edge (not edge scenarios), which means without any other server/proxy in front of that. Usually we have additional proxies above Python servers due to Python's limitation, but the rust side of thing in Granian won't suffer from those.
Not sure about the
Given the specs of your EC2 instance, I'd probably leave everything on default, except for:
|
Beta Was this translation helpful? Give feedback.
-
Hi!
I'm creating my own web app for the first time and at the same time learning many new concepts so bear with me please.
I have my own t3.micro instance on AWS cloud where I host my django web-app with WSGI trough mod_wsgi and httpd.
t3.micro EC2 instance has 2 CPUs and 1GB RAM.
I wanted to try out deploying through granian w/o the use of a proxy server due to the limited resources (the RAM being the bottleneck in my case, I believe). From your PyCon2023IT it seems the resource usage data were not yet collected, but you designed granian with the edge case scenario in mind. Do you mind elaborating more on this at the current time? Should I try other ASGI applications given my situation?
The second question is about how to deploy through granian. I was thinking about creating a systemd service so that the servers starts every time the machine boots.
To date I use this command boilerplate to run the server with TLS support:
Do you mind helping me tweaking the other arguments given my scenario? What values should I put and what is the rationale behing it for parameters such as:
Beta Was this translation helpful? Give feedback.
All reactions