well, i have started developing games last year, alone , I made a singleplayer 3d openworld rpg on unity you can look at it on googleplaystore ( kooru stone rpg ) whatever, this year, i wanted to make mmo, which gone really fine until I first try real hosting, I was working on "wamp" until then. The reason i am desperate now is that the way my game works.
On my pc, using wamp mysql , with localhost as host for my game, i was testing my mmorpg with using andorid emulators, ofcourse no lag no issues no restrictions, beautiful dream... But then, I wanted to get real host from web, so, I rent a basic, cheaphest ever web host ( 10$ year ), and transferred my php files along with sql database.
So, I launched the game, still no issues, tried to handle 2-3 players by using my pc, phone, friend's phone...
After a while, ( after really short time (3-4mins)) host started not to respond, beacause those web hosting were not fit to handle mmos, i predicted that.
now what i am explaining is that my game works like this and asking what way should i use to handle it :
- Creates web request ( like : webhost.com/game/getplayerdata.php?ID=2 )
-Reads request ( request result be like = "ID2-GoodGuyXx-23-123-4-123-43 )
-Builds player using result string
-does similar requests REEAALY FREQUENTLY ( total requests of 8 - 12 times per seconds )
With my current ultimate cheap web hosting, i can handle 2 players with low lag ( lol ) but, i want to handle around 20-100 players,
just need a clear path, i have been struggling with google cloud sql and other vps server dedicated server options, i dont wanna pay much and get ripped off.
↧