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

**URL:** <https://community.wowza.com/t/how-are-httpprovider-and-modules-called-do-they-use-multithreading/44750>\
**Category:** Wowza Streaming Engine\
**Created:** [February 27, 2015, 1:25pm UTC](https://community.wowza.com/t/how-are-httpprovider-and-modules-called-do-they-use-multithreading/44750 "2015-02-27T13:25:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yuxiang\_Shen](https://avatars.discourse-cdn.com/v4/letter/y/278dde/32.png) [@Yuxiang\_Shen](https://community.wowza.com/u/Yuxiang_Shen)\
**Post date:** [February 27, 2015, 1:25pm UTC](https://community.wowza.com/t/how-are-httpprovider-and-modules-called-do-they-use-multithreading/44750/1 "2015-02-27T13:25:23Z")

</div>

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](http://wowza) ip:1935/greeting” to my server, what will happen on the Wowza server end?

Thanks! 🙂

Yorick

---

<div class="post-metadata">

**Author:** ![Michelle\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/michelle_b/32/394_2.png) [@Michelle\_B](https://community.wowza.com/u/Michelle_B)\
**Post date:** [February 27, 2015, 2:56pm UTC](https://community.wowza.com/t/how-are-httpprovider-and-modules-called-do-they-use-multithreading/44750/2 "2015-02-27T14:56:33Z")

</div>

Hi Yorick,

This was addressed by our CTO in a [previous post](https://www.wowza.com/forums/showthread.php?8610-Overview-of-Architecture).

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.

Michelle

---

<div class="post-metadata">

**Author:** ![Yann\_Massard](https://avatars.discourse-cdn.com/v4/letter/y/9d8465/32.png) [@Yann\_Massard](https://community.wowza.com/u/Yann_Massard)\
**Post date:** [July 16, 2017, 12:08pm UTC](https://community.wowza.com/t/how-are-httpprovider-and-modules-called-do-they-use-multithreading/44750/3 "2017-07-16T12:08:13Z")

</div>

I would be very interested in this blog post, but the link seems to be broken. Please, can you provide a working link?

Thanks!

Yann
