SpecT Posted December 20, 2015 Share Posted December 20, 2015 Hello guys! I'm using MySQL database and the collected data is large. It's stored in a table in the server side and when it's needed it is being sent to the client(s). So I'm worried about the lag it causes while filling the table in the client side. So here is my question: How can I get rid or at least lower that lag while filling the table? Thanks in advance! Link to comment
Moderators IIYAMA Posted December 20, 2015 Moderators Share Posted December 20, 2015 For loading from the MySQL, split up the data under more keys. For the processing serverside: setTimer + repeat until + getTickCount() For the processing clientside: "onClientRender" + repeat until + getTickCount() For the network: https://wiki.multitheftauto.com/wiki/Tr ... lientEvent And use your own creativity. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now