Hi I'm hoping someone could comment on how our setup will perform under larger loads. Its a quite simple setup, with Asterisk 1.6.2 on Debian 6 on an EC2 large instance (7GB RAM, 2 virtual cores with EC2 compute units). Using an IAX2 trunk we offer normal phones to dial in and listen to a mp3 stream using music on hold. If we wanted to let 1000 users listen to the stream at the same time, would that be possible? What limits will we hit? How about 10000 users? Regards Morten
As I understand it, the theoretical limits of Asterisk are hardware-based. In real usage, I would see you running into some problems on C word boundary limits (32665, etc). I have some 1.4 installs that run 2-5K calls a day with minimal problems and I read frequently about users with 10K+ users. The biggest issue I see with what you have presented is bandwidth issues. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Morten M. Hansen Sent: Tuesday, August 16, 2011 10:16 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Asterisk scaling Hi I'm hoping someone could comment on how our setup will perform under larger loads. Its a quite simple setup, with Asterisk 1.6.2 on Debian 6 on an EC2 large instance (7GB RAM, 2 virtual cores with EC2 compute units). Using an IAX2 trunk we offer normal phones to dial in and listen to a mp3 stream using music on hold. If we wanted to let 1000 users listen to the stream at the same time, would that be possible? What limits will we hit? How about 10000 users? Regards Morten -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Sorry for the top post, this is from my phone. What you need to look at are the following: Is it going to be just one mp3 stream that is shared across all users (I.e everyone hears the same thing at the same time), or is it 1000 separate mp3 streams (everyone always starts at the beginning of whatever they are hearing). Are you going to have reliable timing generation on an EC2 instance, since IAX streams and music on hold playback will sound bad if the timing isn't good. Will you have sufficient bandwidth allocated to you for that many simultaneous calls? Is there going to be any codec transcoding going on? Can you generate your streams in the preferred codec, instead of mp3? I think if you're just using one stream spread across all the callers, you'll have much better performance from the system as a whole. You may want to look at the quality differences between a SIP trunk and an IAX trunk as well. Thanks, --Warren Selby, dCAP On Aug 16, 2011, at 10:16 AM, "Morten M. Hansen" <mmh at bellcom.dk> wrote:> Hi > > I'm hoping someone could comment on how our setup will perform under > larger loads. > Its a quite simple setup, with Asterisk 1.6.2 on Debian 6 on an EC2 large > instance (7GB RAM, 2 virtual cores with EC2 compute units). > Using an IAX2 trunk we offer normal phones to dial in and listen to a mp3 > stream using music on hold. > > If we wanted to let 1000 users listen to the stream at the same time, > would that be possible? What limits will we hit? How about 10000 users? > > Regards > Morten > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users