Experiencing Lag on the sender client side
Posted: 08 Mar 2011, 02:47
Hello everyone,
Please excuse me if this is a silly question but I am rather new to smart fox server.
Here is the problem,
I have a simple X, Y grid with a character moving around, this movement information is sent to the server. I am using the ObjectMessageRequest to send information. Sending this information when there is no other client connected to the same room there is no problem. If another client connects to the room the client which is sending the information freezes for a moment with each message sent. Event if its a matter of a couple seconds between messages everything simply freezes and becomes unresponsive.
Some background info :
The server is fresh out of the box basically and I have been running some simple tests in flash. The client and the server are being run on the same pc.
It seems like the sender client just locks up until the listener client receives the message. Is this normal, is this a short coming of ObjectMessageRequest?
Should I be using ExtensionRequests?
Or is the lag a symptom of another problem?
If anyone can shed some light on this problem I'd greatly appreciate it.
Thanks everyone.
Please excuse me if this is a silly question but I am rather new to smart fox server.
Here is the problem,
I have a simple X, Y grid with a character moving around, this movement information is sent to the server. I am using the ObjectMessageRequest to send information. Sending this information when there is no other client connected to the same room there is no problem. If another client connects to the room the client which is sending the information freezes for a moment with each message sent. Event if its a matter of a couple seconds between messages everything simply freezes and becomes unresponsive.
Some background info :
The server is fresh out of the box basically and I have been running some simple tests in flash. The client and the server are being run on the same pc.
It seems like the sender client just locks up until the listener client receives the message. Is this normal, is this a short coming of ObjectMessageRequest?
Should I be using ExtensionRequests?
Or is the lag a symptom of another problem?
If anyone can shed some light on this problem I'd greatly appreciate it.
Thanks everyone.