[SIP Beyond VoIP] Account

Paulo Fidalgo o.kanniball.o at gmail.com
Tue Aug 23 19:02:18 CEST 2011


Hi!

I'm creating a testing client to make load tests on a server in MSRP 
chat and file transfer sessions.
I know 35000 accounts are an overkill, specially if there are files to 
be parsed, so I've though that creating an Account instance on-the-fly 
could be a better option.

Best regards,

Paulo Fidalgo

On 23-08-2011 17:56, Adrian Georgescu wrote:
> As a client library, running 35000 accounts in parallel was never the intention or part of the design it is actually two orders of magnitude higher than the purpose for which it was developed.
>
> I am not sure if you are using the right tool as it may be doing way too many things under the hood that you won't need that require processing and cannot be optimized.
>
> What kind of application do you want to develop?
>
> Adrian
>
> On Aug 23, 2011, at 6:45 PM, Paulo Fidalgo wrote:
>
>> Hi!
>>
>> I've been trying to use a lot of configured accounts (35000) in sipsimple, as a way to start some clients and use them.
>> Although for a simple register the CPU stays at top and I can't register...
>> Since all accounts have the same settings, only the sip-uri is diferent, is it possible to create an Account object with all properties setted?
>>
>> I was thinking in something like this:
>>
>> #Given an username returns an Account
>>
>> def create_acount(user):
>>
>>     account = Account()
>>
>>     account.registration.enabled = True
>>
>>   account.id = 'alice at example.com'
>>
>>   account.id.username = 'alice'
>>
>>   account.id.domain = 'example.com'
>>
>> ......
>>
>> end
>>
>>
>> The problem is knowing all the parameters and attributes that can be needed. There are any example to use?
>> In the configuration file I've setted this parameters:
>>
>>         enabled = true
>>
>>         auth:
>>
>>             password = ****
>>
>>         msrp:
>>
>>             connection_model = acm
>>
>>             transport = tcp
>>
>>         presence:
>>
>>             enabled = true
>>
>>             use_rls = true
>>
>>         sip:
>>
>>             outbound_proxy = "OUTBOUND_PROXY:5060;transport=tcp"
>>
>>         xcap:
>>
>>             enabled = true
>>
>>             xcap_root = "XCAP_ROOT}"
>>
>>
>> Thanks for your attention,
>>
>> Paulo Fidalgo
>>
>>
>> _______________________________________________
>> SIPBeyondVoIP mailing list
>> SIPBeyondVoIP at lists.ag-projects.com
>> http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip
>>


More information about the SIPBeyondVoIP mailing list