Em sáb, 2 de mar de 2019 às 10:58, Tamer Higazi
<th9...@googlemail.com> escreveu:
>
> Dear Leo,
>
> The main problem is that the hardware already is with very poor specs.
> You have a dual core CPU (perhaps 32 bit even) and then with 4GB RAM.
Main problem!? Really!?

He's on AWS of couse it's 64bits, 2 CPU cores is a LOT of power for more
than 20 users, I serve 50 concurent user on AWS with a SINGLE core,
and 1GB of RAM, that doesn't scratch 1% of CPU usage and it is writting to
Postgres DB all the time, surely I don't use python/flask but 4GB is more than
enough for that.

>
> you want to provide services and even like to earn money with it, and
> start saving money on hardware.
> Why this nonsense ? Nobody said that you have to buy HIGH-END Hardware,
> but get the requirements 1st before doing anything.....
Sorry non-sense is caring about hardware for just 20 users...

>
> Have you turned on logging and see what had been written inside that
> causes the crash?
> What is written in the logs ?
> Have you opened a shell and executed "top" to see what ressources are
> consumed ?
>
> Serving long term connections is also no problem.
> I have deald with websockets connections with written Python Stack and
> nginx as backend without any problems at all.
>
> And why using flask web framework doing rest calls ?
> Take Twisted..... for example, or something totally small:
> http://docs.python-eve.org/en/latest/
>
>
> best, Tamer

Now for the log error message that is a bit unclear what happens,
trying to mimic the problem with 'wrk' and perhaps a simple app
to reproduce would help better.


>
>
> PS: best is to answer to the list and not taking individual addresses in
> CC.... like everybody else.....
>
>
> On 02.03.19 14:40, Léo El Amri wrote:
> > On 02/03/2019 14:04, Tamer Higazi wrote:
> >> 2. And with your comment "So please help to scale the application for
> >> concurrent users."
> >>
> >> is very unpolite.
> > I think it was just badly written english. I don't think they meant to
> > be unpolite.
> _______________________________________________
> uWSGI mailing list
> uWSGI@lists.unbit.it
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi



-- 
Daniel Nicoletti

KDE Developer - http://dantti.wordpress.com
_______________________________________________
uWSGI mailing list
uWSGI@lists.unbit.it
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to