Search found 26 matches

by vmnikulin
13 Aug 2014, 15:23
Forum: SFS2X C++ API
Topic: Error in SmartFox::SetClientDetails
Replies: 1
Views: 2426

Error in SmartFox::SetClientDetails

Hi! This is code from SmartFox.cpp: clientDetails = boost::shared_ptr<string>(new string(platformId != NULL ? platformId->replace(platformId->begin(), platformId->end(), CLIENT_TYPE_SEPARATOR, ' ') : "")); *clientDetails += CLIENT_TYPE_SEPARATOR; clientDetails->append(version != NULL ? ver...
by vmnikulin
25 Jul 2014, 08:30
Forum: SFS2X C++ API
Topic: Marmalade integration
Replies: 1
Views: 1915

Marmalade integration

Hello! I wanna use SFS2X as multiplayer server with my marmalade client, but there is a problem. SFS C++ API uses some boost libraries. Smart pointers are ok, because marmalade has port to ecosystem ( https://github.com/marmalade/boost ). But what about boost.asio and boost.thread? Does anybody have...
by vmnikulin
04 Mar 2013, 21:53
Forum: SFS2X Questions
Topic: SocketReader & SocketWriter
Replies: 10
Views: 1856

Re: SocketReader & SocketWriter

About 1000 CCU, 8 udp requests per second. So total message rate is about 8000 qps.
Average size of one raw udp packet is about 200 bytes.
We use default compression threshold - 1024 bytes.
And setting from core.xml: maxReadBufferSize=8192.
by vmnikulin
04 Mar 2013, 02:16
Forum: SFS2X Questions
Topic: SocketReader & SocketWriter
Replies: 10
Views: 1856

Re: SocketReader & SocketWriter

Hi,
now we got the same problem - one thread is not able to work with high UDP traffic. Netstat tool displays tens and hundreds kilobytes input traffic. So SFS must be drain data more quickly, but one thread cannot do it.
How we can achieve zero or so KB in Recv-Q?
We use SFS2X 2.5.0.
by vmnikulin
14 Oct 2012, 18:24
Forum: SFS2X Questions
Topic: Connections still leaking
Replies: 11
Views: 2689

Re: Connections still leaking

You need validate your connection before using. For example, that's piece of my code: private void validateConnection( Connection conn, String validationQuery ) throws SQLException { if ( conn.isClosed() ) { throw new SQLException( "validateConnection: connection closed" ); } if ( validati...
by vmnikulin
04 Oct 2012, 13:25
Forum: SFS2X C# API
Topic: Low read/write rate in version 1.0.3
Replies: 7
Views: 2867

Low read/write rate in version 1.0.3

Hello! We are developing MMO project using Unity3D and Smarfox. After upgrade Smartfox2.dll from 1.0.1 to 1.0.3 we had found that we can't send and receive more than 100 packets per second. It's a bottle neck for our real-time game. We tested our network with network sniffer - it's ok. We think that...
by vmnikulin
02 Oct 2012, 10:59
Forum: SFS2X Questions
Topic: Request processing time
Replies: 3
Views: 747

Re: Request processing time

Exactly.
Now I can only measure time how long my custom handler works. But this value doesn't include time of request reading, time waiting in incoming request queue etc.
by vmnikulin
02 Oct 2012, 03:32
Forum: SFS2X Questions
Topic: Request processing time
Replies: 3
Views: 747

Request processing time

Hello!

How know full request processing time that including request reading and writing time?
by vmnikulin
01 Oct 2012, 11:24
Forum: SFS2X Questions
Topic: SocketWriter error
Replies: 5
Views: 1185

Re: SocketWriter error

We don't have firewall on our side.
And we can't re-configuring firewalls on client side.

If I understand correctly, we cannot use udp in this widely spread situation. And we should use tcp.
by vmnikulin
30 Sep 2012, 17:49
Forum: SFS2X Questions
Topic: SocketWriter error
Replies: 5
Views: 1185

Re: SocketWriter error

Of course we are already check it. And for most users it works.
But for some users (As I wrote above) such messages occurs in large number.
by vmnikulin
30 Sep 2012, 07:08
Forum: SFS2X Questions
Topic: SocketWriter error
Replies: 5
Views: 1185

SocketWriter error

Hello! We are use latest SFS version - 2.3.0. For some clients I find this trace in log files ( there are THOUSANDS such messages). Why DatagramChannel wasn't set? WARN | SocketWriter-1 | bitswarm.core.SocketWriter | | Error during write. Session: { Id: 241, Type: DEFAULT, Logged: Yes, IP: 91.215.23...
by vmnikulin
05 Jun 2012, 19:42
Forum: SFS2X ActionScript 3 API
Topic: number of users in a zone
Replies: 3
Views: 2180

Re: number of users in a zone

Hello!

Please advise me what is a better way: create client request handler or generate xml file for embedded Jetty container with http access?
by vmnikulin
04 Jun 2012, 19:40
Forum: SFS2X Questions
Topic: Room remove mode
Replies: 2
Views: 738

Re: Room remove mode

Thanks.
by vmnikulin
04 Jun 2012, 06:40
Forum: SFS2X Questions
Topic: Room remove mode
Replies: 2
Views: 738

Room remove mode

Hello! I set room remove mode as NEVER using room guide (http://docs2x.smartfoxserver.com/DevelopmentBasics/room-architecture, "Auto-remove mode" section). On server startup: 04 ╨╕╤О╨╜ 2012 | 13:31:17,253 | ERROR | main | smartfoxserver.v2.SmartFoxServer | | :::::::::::::::::::::::::::::::...

Go to advanced search