# Best Practices while writing a 1-1 voice chat application

**URL:** <https://community.wowza.com/t/best-practices-while-writing-a-1-1-voice-chat-application/38243>\
**Category:** Wowza Streaming Engine\
**Created:** [February 26, 2012, 5:30am UTC](https://community.wowza.com/t/best-practices-while-writing-a-1-1-voice-chat-application/38243 "2012-02-26T05:30:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rocky\_S](https://avatars.discourse-cdn.com/v4/letter/r/ecb155/32.png) [@Rocky\_S](https://community.wowza.com/u/Rocky_S)\
**Post date:** [February 26, 2012, 5:30am UTC](https://community.wowza.com/t/best-practices-while-writing-a-1-1-voice-chat-application/38243/1 "2012-02-26T05:30:09Z")

</div>

Hi,

I am planning to write a 1-1 voice chat application. I went through the samples and I think coding it is pretty easy using the NetConnection and NetStream bundles.

However, I want to figure out various performance tuning measures required and what could be some best practices in terms of server configuration etc. to make this app work seamlessly in a production environment and also scaling the number of users shouldn’t be a problem?

I would also like to know if there is any way to calculate the server configurations best suited to host wowza to do 1-1 voice chat with say 200 such rooms?

Thanks.

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [February 26, 2012, 3:36pm UTC](https://community.wowza.com/t/best-practices-while-writing-a-1-1-voice-chat-application/38243/2 "2012-02-26T15:36:35Z")

</div>

First, tune the server:

[https://www.wowza.com/docs/how-to-do-performance-tuning](https://www.wowza.com/docs/how-to-do-performance-tuning)

Step 7 is specific to chat apps.

For this type app, use StreamType “live-lowlatency”

1 to 1 chats should scale at least predictably, as compared to few-to-few or many-to-many chat applications, which don’t.

Richard
