What is the proper configuration for a server with 3000 users?

Hi folks

This what happened today

Setup:

8 core
31gb memory

4 background workers
17 gunicorn workers

Users:
Around 1700-2000