ID:151322
 
Hi,

Suppose I have two servers, in one I have added a chat verb which will send the message a user types to the whole server then using world/Export() proc, It will send it to another server as well.

If there is a big amount of players in a server, such as fifty and everyone is using the Chat verb continuously. Will this cause a big lag to that server?

I read in the reference that Export() proc causes its caller to sleep until the message has been sent, so I was just curious to know whether it will cause a big lag or not?

If it will, what is the best way to send messages to another server then?

Every advice, suggestion is appreciated.

- Hashir
Just spawn() before calling Export(). Other than that cannot be done much.
In response to Zaoshi
Zaoshi wrote:
Just spawn() before calling Export(). Other than that cannot be done much.

Alright, thanks.