Search found 19692 matches

by Lapo
22 Jun 2018, 07:32
Forum: SFS2X Questions
Topic: "Unity and Smartfox Best Of Both Worlds" How to use with Jelastic?
Replies: 2
Views: 39

Re: "Unity and Smartfox Best Of Both Worlds" How to use with Jelastic?

Hi, you don't necessarily need all the Unity servers to run on the same machine as SFS2X. You can also opt for a setup where you run a dedicated machine for SFS2X and multiple dedicated machines for the Unity servers. I wonder how would that work with Jelastic? Yes, this approach is ideal in a cloud...
by Lapo
20 Jun 2018, 10:09
Forum: SFS2X Questions
Topic: Problems after upgrading to SFS2X 2.13.0
Replies: 18
Views: 1178

Re: Problems after upgrading to SFS2X 2.13.0

Side note: we have just release patch 2.13.3 that fixes a regression introduced by the previous patch.
I highly recommend the update.

See here for more:
viewtopic.php?f=18&t=20677
by Lapo
20 Jun 2018, 10:07
Forum: SFS2X Questions
Topic: [NEW] SFS2X 2.13.3 available!
Replies: 1
Views: 51

Re: [NEW] SFS2X 2.13.3 available!

Release notes:

[FIX]  fixes a regression introduced by previous patch (2.13.2) for BlueBox connections
by Lapo
20 Jun 2018, 10:07
Forum: SFS2X Questions
Topic: [NEW] SFS2X 2.13.3 available!
Replies: 1
Views: 51

[NEW] SFS2X 2.13.3 available!

SmartFoxServer 2X Patch 2.13.3 is available for download. The patch can be applied to any existing SFS2X 2.13, while if you're running an older release you will first need to download the base version (2.13.0) from here . Download the SFS2X 2.13.3 patch from here p.s. = see the release notes in the...
by Lapo
20 Jun 2018, 09:10
Forum: SFS2X Questions
Topic: Problems after upgrading to SFS2X 2.13.0
Replies: 18
Views: 1178

Re: Problems after upgrading to SFS2X 2.13.0

Yes it is the extension queue. However the problem only appears on 2.13.0 and 2.13.1 (2.13.2 only installed yesterday). The last 3 months we were switching back to 2.11.0 and the problem is not happening there. But we are publishing to HTML5 now so we need binary wss protocol. Okay. I don't think t...
by Lapo
19 Jun 2018, 14:13
Forum: SFS2X Questions
Topic: Problems after upgrading to SFS2X 2.13.0
Replies: 18
Views: 1178

Re: Problems after upgrading to SFS2X 2.13.0

Hi, the reason why you see the message is because too many requests as piling up in the queue and threads are not working fast enough to deal with them. It's unlikely that this is a memory issue (although 1000s of threads will increase memory usage significantly) but rather a bottleneck, where the p...
by Lapo
19 Jun 2018, 07:32
Forum: SFS2X Questions
Topic: Problems after upgrading to SFS2X 2.13.0
Replies: 18
Views: 1178

Re: Problems after upgrading to SFS2X 2.13.0

Hi
the former is level WARN, and the latter INFO, so that's why you don't see them.

That's a lot of threads :D Are you running lots of slow I/O operations?

Cheers
by Lapo
19 Jun 2018, 07:20
Forum: SFS2X Questions
Topic: all users are suddenly disconnected
Replies: 7
Views: 132

Re: all users are suddenly disconnected

Hi, yes most of the times (I'd say 90%+) you will find a OutOfMemoryError in the logs. It's unlikely that a JVM crashes immediately upon OOM without traces of it. Memory problems can be detected by keeping the Dashboard open for several hours and checking the trends of memory growth. Here's a detail...
by Lapo
14 Jun 2018, 15:58
Forum: SFS2X C# API
Topic: GC Allocation
Replies: 5
Views: 74

Re: GC Allocation

One more thing, you can bypass entirely the UserVariables especially if you're sending tens of updates per second and instead just use an Extension request. You can even recycle the same SFSObject if you wish, and maybe just send a single binary payload (byte[] wrapped in SFSObject) instead of struc...
by Lapo
14 Jun 2018, 15:31
Forum: SFS2X C# API
Topic: GC Allocation
Replies: 5
Views: 74

Re: GC Allocation

For reference an empty Unity project with no assets and no game objects on the scene, besides the camera, generates ~187 allocations and 7-10Kb of GC per frame, according to its own profiler. However these numbers have very little meaning without some context, the context being how much this impacts...
by Lapo
14 Jun 2018, 14:46
Forum: SFS2X C# API
Topic: GC Allocation
Replies: 5
Views: 74

Re: GC Allocation

I stand corrected, you cannot overwrite the value of an existing SFSUserVariable on the client side, so yes you would need to create a new Object. In C#, instantiating a class means gc that is why I reuse all objects (pooling) if possible to avoid having to instantiate a new object by calling "...
by Lapo
14 Jun 2018, 07:43
Forum: SFS2X C# API
Topic: GC Allocation
Replies: 5
Views: 74

Re: GC Allocation

Hi, we've discussed this in an email with another client (or maybe it was you?) We are aware of this but we're also aware that even a simple call to Debug.Log() causes similar spike in the GC graph. Memory has to be allocated when data goes out, and C# has no control over the actual RAM being used, ...
by Lapo
12 Jun 2018, 15:17
Forum: SFS2X Questions
Topic: Updating upto 1000 users per second.
Replies: 3
Views: 64

Re: Updating upto 1000 users per second.

Thank you for the link i did look for this i must have missed it! If I understand it correctly you're going to send this data structure every 1 sec to all players. Correct? Yes this is correct :) To search for specific topics you can start from our documentation website: http://docs2x.smartfoxserve...
by Lapo
12 Jun 2018, 07:47
Forum: SFS2X Questions
Topic: Updating upto 1000 users per second.
Replies: 3
Views: 64

Re: Updating upto 1000 users per second.

Hi, there. You can build a local test fairly easily. Here's an article that will help you with that: https://smartfoxserver.com/blog/building-a-simple-stress-test-tool/ My data structure is 40 arrays of doubles output to one SFSObject that is sent to each user currently connected. Will this work? Ye...

Go to advanced search