RESTful server or UE4 server for Account/Ranked/purchases etc
I am wondering which is the best option to setup a classic clients-server architecture to manage the account, sessions, purchase, XP, Ranked points, Level, customisation and friends list like fortnite, dota 2 or Starcraft. For now I went with a RESTful server, I can create an account, login, get a session ID and save what needs to be saved server-side.
This is fine but I wonder if this is the best way to achieve an ingame friend list, save all information regarding XP, ranked points, matches stats or customisation because it needs to go through an in-game server. Should I connect automatically the player to a "main menu" UE4 Server, make this server discuss with the RESTful server to get data ? Should I throw away the REST server and do everything through the UE4 server (with the database behind it etc) ? Is there another better option ?
I could write my own C++ server and handle everything by hand but there has to be a quicker thing to do.
asked Oct 29 '17 at 11:17 AM in Everything Else
I would keep it all like you already have it: RESTful/Web/PHP server. It is definitely more lightweight solution and easy to scale. UE4 server seems much heavier solution and you still need the same communication with DB. Also, how many simultaneous clients are you going to connect to UE4 server? You might need multiple server instances to handle all the clients/traffic. While on the web server you can easily handle almost unlimited clients, since it is all quick request/response messages.
answered Oct 29 '17 at 03:43 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here