Search found 28 matches

by seeingrain
01 Jul 2016, 13:33
Forum: SFS2X Questions
Topic: set buddy variable gets slower as more users online
Replies: 2
Views: 4235

set buddy variable gets slower as more users online

Hi, dear,
as you can see in the attached pic.
when 60k users online, it costs around 10 milliseconds to set a buddy variable.
can you review your buddy's source code regarding this issue?
thanks!
by seeingrain
14 Jun 2016, 09:55
Forum: SFS2X Questions
Topic: Make login request to be queued and show real time queuing state?
Replies: 0
Views: 11662

Make login request to be queued and show real time queuing state?

Hi, dear, Our customer is worrying about the login flood when the moment of server startup. For example, customer declare that the server is opening at 9:00 PM, that will be a lot of players are waiting around this moment, and there will be a flood login request then. So, our customer suggest us to ...
by seeingrain
20 Apr 2016, 03:38
Forum: SFS2X Questions
Topic: "Extensions Controller request queue size" does not work?
Replies: 10
Views: 12423

Re: "Extensions Controller request queue size" does not work

SmartThreadPoolExecutor executor = (SmartThreadPoolExecutor) SmartFoxServer.getInstance().getEventManager().getThreadPool(); int size = executor.getQueue().size() Cheers Dear Lapo... we were able to fetch the queue size now. thank you~ But now, we block user request when handle client request callb...
by seeingrain
20 Apr 2016, 03:32
Forum: SFS2X Questions
Topic: Only allowing a one specific request at a time
Replies: 9
Views: 12030

Re: Only allowing a one specific request at a time

I think for SFS framework, a better mechanism should be: when there are multiple request for a same session in the queue, there should be only ONE worker thread to process them subsequently 1 by 1. Other thread cannot touch it even thread pool has idle thread. to implement this, the message queue sh...
by seeingrain
19 Apr 2016, 11:20
Forum: SFS2X Questions
Topic: "Extensions Controller request queue size" does not work?
Replies: 10
Views: 12423

Re: "Extensions Controller request queue size" does not work

Lapo wrote:

Code: Select all

SmartThreadPoolExecutor executor = (SmartThreadPoolExecutor) SmartFoxServer.getInstance().getEventManager().getThreadPool();
int size = executor.getQueue().size()


Cheers


Thank you, we will make a try
by seeingrain
19 Apr 2016, 10:13
Forum: SFS2X Questions
Topic: "Extensions Controller request queue size" does not work?
Replies: 10
Views: 12423

Re: "Extensions Controller request queue size" does not work

No matter how many load-balance threads running, the bottle neck always exist, because DB's capacity is limited, no matter how we optimize the slow query. But why is that? Databases are built to scale and hardware can be improved if that's the main cause of your bottleneck. The fact that you're rea...
by seeingrain
19 Apr 2016, 09:51
Forum: SFS2X Questions
Topic: "Extensions Controller request queue size" does not work?
Replies: 10
Views: 12423

Re: "Extensions Controller request queue size" does not work

No matter how many load-balance threads running, the bottle neck always exist, because DB's capacity is limited, no matter how we optimize the slow query. But why is that? Databases are built to scale and hardware can be improved if that's the main cause of your bottleneck. The fact that you're rea...
by seeingrain
19 Apr 2016, 08:41
Forum: SFS2X Questions
Topic: "Extensions Controller request queue size" does not work?
Replies: 10
Views: 12423

Re: "Extensions Controller request queue size" does not work

Hi, since the introduction of the auto-load balancing thread pools (SFS2X 2.9) we have changed how the task queue work. Indeed the limit from the configuration is no longer enforced and those limits from the configuration could be removed. In any case the fact that your test caused a million messag...
by seeingrain
19 Apr 2016, 08:35
Forum: SFS2X Questions
Topic: "Extensions Controller request queue size" does not work?
Replies: 10
Views: 12423

Re: "Extensions Controller request queue size" does not work

Hi, since the introduction of the auto-load balancing thread pools (SFS2X 2.9) we have changed how the task queue work. Indeed the limit from the configuration is no longer enforced and those limits from the configuration could be removed. In any case the fact that your test caused a million messag...
by seeingrain
19 Apr 2016, 05:16
Forum: SFS2X Questions
Topic: "Extensions Controller request queue size" does not work?
Replies: 10
Views: 12423

"Extensions Controller request queue size" does not work?

Dear Admin, We encountered problems when stress test. We set the "Extensions Controller request queue size" to 10000, but when we doing stress test, [Dashboard->Message queues status->Extension Queue] shows there are more than 1 million Messages in queue! So we want to know how this parame...
by seeingrain
17 Feb 2016, 10:22
Forum: SFS2X Questions
Topic: Bug with buddy system offline variable
Replies: 3
Views: 6150

Re: Bug with buddy system offline variable

BTW: we didn't implement a custom storage class, we use system default.

I also searched the forum, a developer seems encounter the same issue:
viewtopic.php?f=18&t=16521&p=71131&hilit=buddy+bug#p71080
by seeingrain
17 Feb 2016, 10:19
Forum: SFS2X Questions
Topic: Bug with buddy system offline variable
Replies: 3
Views: 6150

Re: Bug with buddy system offline variable

More clue about this bug. we have 500000 test users in the server, each user have 4 offline variables
by seeingrain
17 Feb 2016, 06:56
Forum: SFS2X Questions
Topic: Bug with buddy system offline variable
Replies: 3
Views: 6150

Bug with buddy system offline variable

Hi, Admin, We have deployed our extension based on SmartFox 2.9.0. Now we are doing volume test using dozens of concurrent client threads. The client is implemented using C++ API. The client only do one thing: login and logout, using thousands of test users. The client connection pool has 30 SmartFo...
by seeingrain
15 Jan 2015, 08:03
Forum: Server Side Extension Development
Topic: How to use sendAdminMessage with words filter?
Replies: 1
Views: 5521

How to use sendAdminMessage with words filter?

In order to send message to all users on line, need sendAdminMessage/sendModeratorMessage. can words filter be used with sendAdminMessage/sendModeratorMessage?

thanks!
by seeingrain
21 Oct 2014, 08:18
Forum: SFS2X Java / Android API
Topic: SmartFox works with unreal engine 3 (UDK) under Android?
Replies: 1
Views: 5718

SmartFox works with unreal engine 3 (UDK) under Android?

HI, dear, We are developing a cell phone game, using unreal engine 3, for both Android and IOS. As we know, unreal engine 3 uses common script (java like) to process business, but my problem is how to make unreal engine 3 client work with SmartFox server? On the PC platform, I can modify unreal engi...

Go to advanced search