Open TheRealRedRiver559 opened 10 months ago
I will push the update later. However, there are still some things that are not async such as the database and messaging system. At the moment the messages are on a first come first server basis. That's fine, but the messages are just pushed to the Asyncio loop buffer instead of being stored. This isnt that big of an issue at the moment, but when testing with hundreds of clients and sending thousands of messages, the buffer seems to max out, and new messages freeze the entire server!
At the moment certain files are mostly async, while others have it, but under large stress loads this fails. Im looking Into queues for all processes such as messages, logs and general server operations to prevent it from being overloaded wirh data.