[Freeswitch-users] FreeSWITCH on Docker

Colin Morelli colin.morelli at gmail.com
Sat Oct 15 21:30:12 MSD 2016


Ehsan,

While I haven't personally run heavy load FS instances in containers yet
(only testing), I can't see a reason this would be a problem. Docker
containers are just glorified Linux cgroups, and have virtually zero
measurable overhead - especially so if you're not actually using CPU/memory
limitations.

A couple of things to consider:
Given that FS is likely to use a lot of bandwidth, you're probably best off
using host networking if possible (avoids significant numbers of iptables
rules or userland proxies on older version of docker). This will also help
avoid ugliness with getting FS to properly handle the local Docker bridge
IP.
Local disk I/O *will* be slower in Docker, but how much so largely depends
on on which storage driver you use. That said, if you're considering
putting FS in Docker I assume you're likely not doing local disk I/O in FS
anyway.

Hopefully that's helpful.

Best,
Colin

On Sat, Oct 15, 2016 at 1:22 PM Ehsan Minachi <ehsanminachi at gmail.com>
wrote:

> Hello all,
>
> We’ve containerized our infrastructure. The only piece left is FreeSWITCH
> which we’re hesitant. Has anyone run FreeSWITCH under high load in a
> container? Would love to hear if there are any downsides to running
> FreeSWITCH in a container.
>
> Thank you,
>
> - Ehsan
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161015/8d8dd2d3/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list