Connections per second

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

corwin
Posts: 77
Joined: 17 Jul 2009, 08:19

Connections per second

Postby corwin » 04 Sep 2009, 14:29

Hi, I noticed in the benchmarks sections that the connection creation speed is 10 connections per second.
Is it possible to increase that speed with a option and do you know what is the eventual maximum speed possible?
User avatar
Lapo
Site Admin
Posts: 23007
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 06 Sep 2009, 09:01

Yes sure, we have done tests with even 100+ users per second. The main bottleneck is network lag and bandwidth not much the server.
Lapo
--
gotoAndPlay()
...addicted to flash games
corwin
Posts: 77
Joined: 17 Jul 2009, 08:19

Postby corwin » 06 Sep 2009, 10:45

Hm, this is strange.
When we tested, we had about 50mbit free bandwidth and we were creating about 10-15 connections per second, but we were using the default server configuration.
Can you give mi a hint if there is a configuration option connected with that, and eventually how did you make those tests you mentioned?
User avatar
Lapo
Site Admin
Posts: 23007
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 06 Sep 2009, 16:39

I don't understand what the problem is exactly.
If you can't get past 10-15 connections you probably have an issue in your load-test application.
Lapo

--

gotoAndPlay()

...addicted to flash games
corwin
Posts: 77
Joined: 17 Jul 2009, 08:19

Postby corwin » 09 Sep 2009, 11:17

Yes, after some more tests, I also think that the problem is not in the connection speed.
We test the following way:
1. We have a dedicated server with 8cpus and 24G ram, where the smartfox server runs.
2. We put a simple flash in all our pages, which just connects to the smartfox server and logins into the default limbo room with their username.
3. MaxUserIdleTime in server config is 3600.

The result is:
1. By the smartfox admin tool statistics we have 1600-1800 users online. At the beginning of the test about 300 connections for 5-6 seconds are created and after that, they slowly start to increase to those 1600-1800, where they stabilize.
2. In our statistics, we have about 10k-12k users online. We measure that as unique users requested page for the last 10 minutes.

I guess we are missing something obvious... :)
User avatar
Lapo
Site Admin
Posts: 23007
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 09 Sep 2009, 11:46

I don't understand what your question is.
Are you trying to match web statistics with SFS stats? It's not an easy task.
I wouldn't expect them to match at all.
Lapo

--

gotoAndPlay()

...addicted to flash games
corwin
Posts: 77
Joined: 17 Jul 2009, 08:19

Postby corwin » 09 Sep 2009, 15:55

I currently have no question, just was trying to explain, that you are right and the problem is not in the connection speed. :)
But why do you think that the two statistics should not match? The of course won't match exactly but should be very close...

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 37 guests