Django channels scalling

2022-12-21 Thread Divit Rao
Hi Team, currently I have deployed a Django project on EC2 server which has a RAM of about 2GB using Gunicorn and Ngnix, I'm using Django channels on same server, so as of now we have around 200 active users. currently each user will have 5 active WebSocket connections/consumers (for chat, notif

Re: Django channels scalling

2022-12-21 Thread Shaheed Haque
Generally, as you may know, it is not very easy to get memory usage stats on Unix/Linux without specialised tooling. However, in my experience, with default TCP settings, the kernel overhead plus whatever "typical" app overhead will not often exceed say 100 kB per connection. Now, we had original

Re: Django channels scalling

2022-12-21 Thread Divit Rao
Thanks mate On Wednesday, December 21, 2022 at 9:55:33 PM UTC+5:30 shahee...@gmail.com wrote: > Generally, as you may know, it is not very easy to get memory usage stats > on Unix/Linux without specialised tooling. > > However, in my experience, with default TCP settings, the kernel overhead