Can someone help with the answer on stackoverflow?

For information regarding how Django handles database connections, see the General Notes in the database docs.

For some ideas on how to figure out what you’ll need with gunicorn, see the How Many Workers doc.

Also see the FAQ, Does Django scale?

The answer to everything else is “It depends”.

Personally, I think it’s highly unlikely that you’re going to be able to handle 10k connections on one gunicorn instance on one server. That type of scale typically requires a lot of careful planning and design.

Thanks for your time and answer . I will look at those topics.