you got me there... i never read elfocrash and share topics i know what is inside (full crap) that usually needs fix and this project will not die soon
and because you said i didnt read anything i checked your code and i was right...
everything is hardcoded and the resources needed for more than 10 simultaneously uses is for servers with no more than 50 ppl online
back to my point of view (full crap)
provide the cpu/ram used by that because i will not run shit... just for the others... :")
What are you on about? I know you are ignorant and inexperienced but in this case you are talking about something you can't even come close skill-wise.
The api logic is separated from the gamserver and only parasites itself on the Threadpool and the connection pool.
The Website is running with 55mb idle and has absolutely no dependencies other than the api server itself (no sql).
The idle state of the gameserver with api running on a max o 2g mem is 1.3Gb and while hit by 50 requests per second (on the request heaviest page) that increases a couple mbs.
Benchmarks also show that mysql and the webserver (IIS,Kestrel) will be stressed more than the gameserver, resources wise.
Keep in mind however that mysql caches queries internally to increase performance meaning it gets less intense as you run.
However you can always provide more resources to those two processes.
All of those numbers are coming from by 4GB Ram single core VPS btw.
An actual dedicated server will have absolutely no problem handling 500 requests per second.
For example, running this on my MacBook Pro i can handle 350 requests at the same time without raising the CPU usage of the server (or mysql or kestrel) over 13%.
So yeah i think you are just talking shit because you have no idea how things work.
PS: You have run Hellas so don't tell me you haven't run shit
Edited by .Elfocrash, 22 May 2017 - 06:29 PM.