I created a website where there will be many 1v1 live chats.
How can I measure whether I have made optimal system or not? Is it possible to do that? Can I “fake” many users somehow and then get the answer if my system will take lots of resources or not?
Thanks in advance.
You’re referring to something called load testing.
You could check out many of the commercial offerings (in link) or you could simply roll your own using cURL or sockets, depending on how you implemented the chat system (combining this with timers, verbose logging and system commands that check resource usage, you can get a good idea as to how your system performs under stress).