Results 1 to 2 of 2

Thread: How are Httpprovider and modules called. Do they use multithreading?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2015

    Default How are Httpprovider and modules called. Do they use multithreading?

    Hi there,

    I'm wondering how Httpproviders are invoked. Will the main thread run this httpprovider in the main thread, or create a new thread to run this provider?
    For example, I wrote an httpproivder named "say_hello". It's bind to port 1935 and the request filter is *greeting. If thousands of clients simultaneously send "http://wowza ip:1935/greeting" to my server, what will happen on the Wowza server end?


  2. #2
    Join Date
    Jan 2015


    Hi Yorick,

    This was addressed by our CTO in a previous post.

    Here is a quote from his post:

    The server runs on a thread pool mechansism. There is a handler thread pool and transport thread pool. It is not a single thread per-connection. We use non-blocking IO in Java to handle the transport. We have multiple select handlers running on their own threads.

    So overall the server is highly multi-threaded. Everything is broken into small jobs and submitted to thread pools.

Similar Threads

  1. VHost.getApplication() freezes module when called in HTTPProvider
    By gradicus in forum Wowza Streaming Server Java API
    Replies: 1
    Last Post: 05-16-2014, 08:10 AM
  2. onStreamDestroy not being called
    By masterkitano in forum General Forum
    Replies: 1
    Last Post: 06-29-2013, 01:15 AM
  3. onDisconnect not always called?
    By misterd in forum General Forum
    Replies: 2
    Last Post: 09-21-2012, 08:15 AM
  4. Should onAppStart be getting called twice?
    By grantk in forum Server-side Modules and Code Samples Discussion
    Replies: 4
    Last Post: 05-16-2012, 11:11 AM
  5. resolvePlayAlias getting called twice
    By erbora00 in forum General Forum
    Replies: 1
    Last Post: 10-24-2011, 05:24 PM

Posting Permissions

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