Is this the right approach for site <-> server communication regarding player data?

Status
This thread has been locked.

twanneke8

Feedback score
0
Posts
53
Reactions
27
Resources
0
Hello everyone,

When looking for a system to update the players currency/other SQL data while he is on a server from the site this is the approach I found promising (SQL data is loaded on join so it's required to let that server update the data so there aren't any issues).

Site can send a player update (For example a currency update) to the bungee proxy through a socket. The proxy will look through all servers to find the server which the player is currently on and send a message to that server through another socket. If the player is not on the proxy, it will call back to the site with this info, and the site will update the SQL manually.

Are there any leaks in this approach + is there are a better way of doing this? Looking forward to hear from your expertise.
 

twanneke8

Feedback score
0
Posts
53
Reactions
27
Resources
0
If anyone is interested, we will probably be using redis to manage this communication as it's publisher and subscriber system is epic and easy to integrate in php and java.
 

JJDAHM

Unregistered Member
Supreme
Feedback score
5
Posts
930
Reactions
570
Resources
0
Just curious, who made your profile picture?
 
Status
This thread has been locked.
Top