We have a Django application with heavy workload.

Now, we have a system with 3 servers and each server with 8 cores.

Current deployment:
- Django is running through twisted.
- We have launched 16 twisted processes per server
- We use NGINX as load balancer between all nodes (48).
- Our application is a REST API. We don't use Django for user interface.

This way we can distribute workload between all processors and I can
confirm is working ok when we increase activity. I see all processors
working and %CPU growing. This solution works in LINUX and Windows
(changing NGINX with APACHE for load balancing).

I would like to do this with uwsgi but I cannot expand uwsgi to more than
one core. I have tried running uwsgi  with 8 and 16 processes and I can see
activity in one processor only. I have tried with cpu-affinity, processes,
workers, ... but I never get to use more than one CPU.

Our processes have intensive python computation that must be made
synchronously.

I would like to know if UWSGI is able to manage multiple processes
distributing workload between all system CPUs.

Thanks in advance
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to