Search found 8 matches

by Hygiliak
06 Jan 2012, 09:39
Forum: Server Side Extension Development
Topic: internal requests while reloading
Replies: 2
Views: 6017

Thanks for the advice :D

Cheers
by Hygiliak
04 Jan 2012, 12:39
Forum: Server Side Extension Development
Topic: internal requests while reloading
Replies: 2
Views: 6017

internal requests while reloading

I am wondering what happens with the internal requests that come while the destroy() and init() functions are executed at reload. Are they postponed until the sequence is done?
by Hygiliak
14 Dec 2011, 16:57
Forum: Server Side Extension Development
Topic: handleInternalRequest thread safety
Replies: 3
Views: 7247

Thank you for the quick reply. Cheers.
by Hygiliak
14 Dec 2011, 13:53
Forum: Server Side Extension Development
Topic: handleInternalRequest thread safety
Replies: 3
Views: 7247

handleInternalRequest thread safety

I have developed two games that have some shared data that need to be synchronized. Because I did not forsee this when I first wrote the code, I have each game in its own zone, and in order to synchronize them, I use handleInternalRequest (until I reprogram them to be in the same zone, as they are ...
by Hygiliak
10 May 2011, 12:13
Forum: Server Side Extension Development
Topic: Java Synchronisation
Replies: 2
Views: 5827

Thanks for the tips.
I will make a dedicated thread that will handle sql commands, so the three threads will no longer have to wait for responses from the SQL server.
In this situation, can my Single Lock strategy for the three threads create problems in the long run?
by Hygiliak
09 May 2011, 18:07
Forum: Server Side Extension Development
Topic: Java Synchronisation
Replies: 2
Views: 5827

Java Synchronisation

Hello There.
In order to properly synchronise acces to central data structures I did a brutal serialisation that I don't know if I can sustain under heavy load.
I synchronised my three concurrent threads (Extension Handler, Event Manager and Task Scheduler) on the same Lock. Therefore, when wither ...
by Hygiliak
16 Apr 2011, 07:03
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Unexplainable Performance Drop
Replies: 2
Views: 5048

Thank you for the quick reply.

I have run a test by pinging the server non-stop while playing the game, waining in the lobby etc.

It seems that the performance drop spikes (200ms ping and timeouts) happen when users enter/exit the game in rapid succession.
When this happens we send a small user ...
by Hygiliak
15 Apr 2011, 19:10
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Unexplainable Performance Drop
Replies: 2
Views: 5048

Unexplainable Performance Drop

Here is a full description of our situation:

Server version: 1.6.9
Server hardware: 8 CPU cores, 8GB RAM
Operating system: Linux

Relevant configuration:

<OutQueueThreads>4</OutQueueThreads>
<ExtHandlerThreads>1</ExtHandlerThreads>
<MaxWriterQueue>50</MaxWriterQueue>
<ClientMessagQueue ...