Results 1 to 9 of 9

Thread: When to use a particular application instance?

  1. #1
    Join Date
    Aug 2012
    Posts
    10

    Default When to use a particular application instance?

    Hello

    We are developing a VoIP system based on your server. In fact, there is an live stream application on the server, with attached our plug-ins, which is expected to hundreds of published streams, each of which is up to several tens or even hundreds of subscribers.

    What is the maximum number of published streams on a single entity application would you recommend?

    What is the maximum number of subscribers for one instance application?

    when to use a particular application instance?

    Does it make sense to use a separate instance, or for simplicity, we can blame everything together?

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Separating into different applications or application instances is a business and/or development process decision, it does not affect capacity or performance. The usual limiting factor is bandwidth, and that won't be affected by how many application instances are involved.

    Richard

  3. #3
    Join Date
    Aug 2012
    Posts
    10

    Default

    Thanks, and behave as a server if one or more instnatsy with plugins? Number of simultaneously processed onConnect (fe. if we use authentication plugin) events depends on one or more instances of application?

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Not exactly sure what you are asking. Different applications can be configured differently, of course. But there is no affect on performance and capacity by having (for example) 1000 users streaming 500kbs stream in 100 application instance or 1 application instance.

    Richard

  5. #5
    Join Date
    Aug 2012
    Posts
    10

    Default

    I was primarily interested in the capacity to connect to the server per second.
    Suppose we have an application with authorization plugin. In which case, the server can handle more requests per second to connect when we have one instnatsiya my application, or several?

    Suppose we use the architecture with multiple instances application. Can I expect that if one instance will say, excessive number of connection requests (several times more than the maximum number of processed), then the other, in the same time will continue to work correctly?

  6. #6
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    You will have to test. but again, as far as I know the number of application instances involved is not going to be a significant if any factor. But an authentication module can certainly be a huge factor. And if it is doing anything over http or jdbc, it could be a problem. Authentication over http, in as much as it is once per session, should be manageable, but it sounds like there could be a heavy volume of simultaneous connections, so it could be. So this is something that you will have to test, there is no way to guess.

    Richard

  7. #7
    Join Date
    Aug 2012
    Posts
    10

    Default

    okay
    I understand that the server event processing connect / disconnect clients, as well as other client call uses

    HandlerThreadPool / PoolSize: (60x [total-core-count]) (maximum of 480)

    and:
    1. The pool is the same for all instances of applications.
    2. Зrioritization in the use of this pool there. Who was the first message promptly inserted into the pool of his message and the process?


    Suppose we set the parameter

    ******** <HandlerThreadPool>
    ************ <PoolSize> 120 </ PoolSize>
    ******** </ HandlerThreadPool>

    What happens if at the same time try to connect to a server 121 client? What will happen with 121th client? He will receive the Reject? He will be in line for the connection? If so, this place somehow limited?

    How to get statistics of usage handlers on the server?
    Last edited by AKomarov; 08-22-2012 at 05:01 AM.

  8. #8
    Join Date
    Aug 2012
    Posts
    10

    Default

    Suppose we set the parameter

    ******** <HandlerThreadPool>
    ************ <PoolSize> 120 </ PoolSize>
    ******** </ HandlerThreadPool>

    What happens if at the same time try to connect to a server 121 client? What will happen with 121th client? He will receive the Reject? He will be in line for the connection? If so, this place somehow limited?

    How to get statistics on waste handlers on the server?
    Last edited by AKomarov; 08-22-2012 at 05:01 AM.

  9. #9
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    No, the 121st client will not be rejected because of this setting.

    For monitoring take a look at JMX/JConsole
    http://www.wowza.com/forums/content....ck-start-guide

    Richard

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •