Search found 10 matches

by ffratoni
19 Jun 2009, 12:58
Forum: Features Wish List
Topic: Load Test tool
Replies: 11
Views: 46129

thanks a lot
by ffratoni
19 Jun 2009, 07:21
Forum: Features Wish List
Topic: Load Test tool
Replies: 11
Views: 46129

Hello,
we are planning to create a load testing for our smarfox based game and we were wondering if java API are available to have a first feeling of how our application work.
Thanks
Filippo
by ffratoni
12 Feb 2009, 16:32
Forum: Server Side Extension Development
Topic: Reload java extension
Replies: 33
Views: 58185

coclusion

Ok so:
if I deploy in a single jar I can create a singleton with application scope
If I deploy classes in the javaExtensions directori and I remove that directory from the classpath how can I implement the singleton pattern? Is there any good practice? Should I maintain the spring context only in ...
by ffratoni
12 Feb 2009, 14:05
Forum: Server Side Extension Development
Topic: Reload java extension
Replies: 33
Views: 58185

extension classloaders

Hi all,
following this discussion I've found a solution to the hot reload of an extension. But I fall down in a new problem. I've two extensions that share spring application context in a singleton and everything was working well if deployed in a single jar_with_dependencies and loaded via standard ...
by ffratoni
22 Jan 2009, 08:23
Forum: Server Side Extension Development
Topic: Unit Testing and implementation best practices
Replies: 3
Views: 6934

Hello Lapo,
I take over this track started by Pgiuz a collegue of mine.

[quote]Seriously a single TCP stack can handle a maximum of 64k connections before collapsing
[/quote]
This means a limit of 64k logged user per smartfox server? Or 64k concurrent messages per smartfox server. Users have ...
by ffratoni
16 Sep 2008, 14:34
Forum: Server Side Extension Development
Topic: [Java] Logging
Replies: 14
Views: 21276

Exactly
Due to the amount of events to log we probably need decouple log operation
from business processes.
Thanks for the answer
Filippo
by ffratoni
16 Sep 2008, 14:18
Forum: Server Side Extension Development
Topic: [TUTORIAL] Debug Smartfox at runtime
Replies: 32
Views: 200644

debugging

I'm able to debug
with the following wrapper config
wrapper.java.additional.3=-Xdebug
wrapper.java.additional.4=-Xnoagent
wrapper.java.additional.5=-Xrunjdwp:transport=dt_socket,address=9797,server=y,suspend=y

Initializations happen only after debugging session is started from eclipse
by ffratoni
16 Sep 2008, 09:28
Forum: Server Side Extension Development
Topic: [Java] Logging
Replies: 14
Views: 21276

asynchronous logging

asynchronous logging that in common logging is usually handled by
AsyncAppender.
Have you any best practice to avoid "in process logging" and process blocking or using the Log4JHandler with AsyncAppender is the recommended way?
Is there a built-in way to persist events on DB(for logging needs ...
by ffratoni
16 Sep 2008, 09:17
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Java extension Unit test
Replies: 1
Views: 4983

Java extension Unit test

Hi,
is there a way to setup unit tests in java for extension without the need of starting SFS? To speed up code development?
Thanks in advance for any hint

Filippo
by ffratoni
15 Sep 2008, 15:16
Forum: Server Side Extension Development
Topic: [Java] Logging
Replies: 14
Views: 21276

async logging

Do you have a best practice to handle async logging other than using the Log4j Async appender thorough log4j logger?