Mike
Mike
Thanks for update, to be honest I don't want to spend more time on this, I will not be submitting more changes. I'll leave it with you.
@zubair-temi the problem is that python by itself is very slow, try this uwsgi+nxing https://github.com/brentvollebregt/hit-counter/pull/13
@zubair-temi Most likely you are right. In terms of python for yet better performance consider using ASGI frameworks instead of WSGI. Out of the box try running this image https://github.com/tiangolo/meinheld-gunicorn-flask-docker...
@zubair-temi If you are crazy about performance you should go for rust instead :)
@zubair-temi you could try running under https://github.com/tiangolo/meinheld-gunicorn-flask-docker and give use some numbers ?;) @brentvollebregt Comparing default python to any other wsgi server is basically not even comparable. So if you...
@zubair-temi @brentvollebregt this https://github.com/brentvollebregt/hit-counter/blob/2897edb100e094641d66b60acdd2d151c53e45f2/server.py#L52 is another problem, as I've mentioned in the #13 you would want to flush data periodically instead of inserting every time request hits the server. The...
Well it depends if the goal is to be useful in a short way then shortest would be my pick. If it's just cosmetics choose whatever resonate with you the...
Sounds better yeah
@amintnt any update on that one?
@amintnt thanks for sharing, good to know that it worked