Search found 191 matches

by tchen
15 Jan 2012, 21:40
Forum: SFS2X Questions
Topic: Using Scala?
Replies: 20
Views: 25371

I might be odd, but I'd like to make the counter request that you don't change scala major versions mid-stream. We're running 2.8.1 here now, as is a vast majority of the scala ecosystem that's currently in production. I know 2.9.x is new and all things being equal, I would prefer to use it too, but...
by tchen
31 Aug 2011, 18:28
Forum: SFS2X Questions
Topic: Securing SF2 and best practices
Replies: 2
Views: 5453

Adding.... 1. Unfortunately, checkSecurePassword is not the best way to authenticate as it requires plain-text storage on the server. I would say best practice is to use a separate authentication server with a secure transport like HTTPS; using a hashed password check, get a one-time use token tied ...
by tchen
07 Aug 2011, 19:31
Forum: SFS2X Questions
Topic: dbManager returning expired connections
Replies: 3
Views: 6632

SELECT 1 should be fine.

Most Tomcat DBCP users use exactly the same thing. Although it would be nice if SFS2X implemented a testOnBorrow/validationQuery parameters to the DatabaseManager xml config section.

*hint, hint* :lol:
by tchen
07 Aug 2011, 19:08
Forum: SFS2X Questions
Topic: Amazon's SimpleDB for custom login?
Replies: 19
Views: 24904

Between

http://code.google.com/p/simpledb-jdbc/

and

viewtopic.php?p=41534

you should hopefully have enough to load in the simpledb-jdbc driver and fill in the key/secret parameters.

Cheers,
tchen
by tchen
12 Jul 2011, 19:31
Forum: SFS2X Questions
Topic: Live deployment of SFX2x (2000+ CCU) - Report and Questions.
Replies: 22
Views: 29600

I'm not sure how much work it'd involve for you, but you could always use an escalation pattern when doing the login. At least for us, we only do the bare minimum token-based auth before returning right away. User data, role promotion, initial room joins, etc are all done on a deferred basis on a de...
by tchen
09 Jul 2011, 00:40
Forum: SFS2X Questions
Topic: Live deployment of SFX2x (2000+ CCU) - Report and Questions.
Replies: 22
Views: 29600

Sorry, I missed the login bit. USER_LOGIN is problematic as it does need to return something.
:(
by tchen
07 Jul 2011, 12:59
Forum: SFS2X Questions
Topic: Live deployment of SFX2x (2000+ CCU) - Report and Questions.
Replies: 22
Views: 29600

Thank you for sharing.

Regarding the http calls, be sure to use the asynch http requests when inside the SFS request handlers, so you don't block it. Ideally, almost all work should be shoved into the scheduler too.
by tchen
02 Jul 2011, 17:44
Forum: SFS2X Questions
Topic: Which OS is more better for SFS2X running?
Replies: 4
Views: 7500

I'd concur with Bax. Linux support with Java is just more straightfoward on a server - less updating annoyances. As for distro, my choices are minimal installs of either CentOS or Ubuntu LTS. I use Debian too, but I prefer the version stability of the other two more. It probably doesn't matter thoug...
by tchen
28 Jun 2011, 00:14
Forum: SFS2X Questions
Topic: Password strength on license server
Replies: 0
Views: 3755

Password strength on license server

Maybe this was just the random password I was given, but please increase the password strength (or length) on the auto-generator. KeePass is currently telling me that the strength is only 50 bits, which is rather low. Please let us change it ourselves or set the default strength higher for such a cr...
by tchen
27 Jun 2011, 00:57
Forum: SFS2X Questions
Topic: Error during Server boot
Replies: 5
Views: 8595

It is the built in Jetty server that's giving you problems (see the trace at org.mortbay.jetty.nio.SelectChannelConnector) so you likely have another web server running on port 8080.
by tchen
24 Jun 2011, 22:13
Forum: SFS2X Questions
Topic: Log Analytics
Replies: 3
Views: 6168

If you want to capture your own data for custom analysis later on, consider using log4j to create a category specific for analytics and then attach an appropriate appender. Then on a scheduled timer, dump the information you need. I recommend dumping to file, or if you run a distributed server setup...
by tchen
19 Jun 2011, 10:56
Forum: SFS2X Questions
Topic: Iterating over hundreds of users for time based events?
Replies: 3
Views: 6200

Also consider sorted queues based on action-events if your design permits. That is, buff-start and buff-end would be queued events which you probably know ahead of time and can put into the event queue. Doing this, you can avoid walking the list.
by tchen
19 Jun 2011, 10:51
Forum: SFS2X Questions
Topic: SFS2X behavior at bandwidth saturation
Replies: 12
Views: 21306

Sorry if the thread was TL;DR. You can ignore the request to throttle the system as our convo with ThomasLund settled on what he was implementing - the client not throwing just a deep-level exception when the reader encounted bad bytes or misalignment from packet loss. Obviously, it's not going to r...
by tchen
12 Jun 2011, 20:56
Forum: SFS2X Questions
Topic: SFS2X behavior at bandwidth saturation
Replies: 12
Views: 21306

I didn't mean sending any notification from the server to the client or vice versa, as obviously something is wrong with the socket. But more of an event signal on either side instead of us trying to trap the exceptions - which unfortunately, when they bubble up, only contains information regarding ...
by tchen
09 Jun 2011, 11:30
Forum: SFS2X Questions
Topic: SFS2X behavior at bandwidth saturation
Replies: 12
Views: 21306

The original test was against RC1. Server was running the default chat while two basic Mono clients running the provided code was bombarding it. I haven't had the time to set it up again with RC2, so if someone could verify that the .Net client either has the packet-drop event now or some other noti...

Go to advanced search