Hi all,
Even if i use Memcache or store in a flat file,i will be still calling
eg. approx 50 urls / http sessions in a second if the throughput is
the minimum, and this can bring the server to a halt i believe.
This does not solve,
I am sure I am not the first to have this kind of problem,
Pl. help.
thanks
abhishek

On Sat, Jul 11, 2009 at 2:30 PM, Jinson<[email protected]> wrote:
> You can use memcache to store all your incoming DLRs and later process it
> from memcache..
>
> Thanks
> Jinson Abraham
> MobME Wireless Solutions Pvt. Ltd
> Cochin
> +91 4846491646
>
>
> On Sat, Jul 11, 2009 at 2:28 PM, Jovan Kostovski <[email protected]> wrote:
>>
>> On Sat, Jul 11, 2009 at 9:31 AM, abhishek
>> jain<[email protected]> wrote:
>> > Hi friends,
>> > I need a urgent reply,
>> > I have configured dlr to be internal and i specify the url in the XML
>> > Post,
>> > But if i send eg. 10,000 sms at one go, the kannel initiates 10,000
>> > different http requsts to my server for delivery reports i need to
>> > know is there a method to limit these http requests generated from
>> > kannel.
>>
>> There is no way to limit the DLRs. They are received asynchronously
>> and you never
>> know when will you get them.
>>
>> I guess you have problem handling all the DLRs due to their large number.
>>
>> There are two things that you can do:
>> 1. Buffer the DLRs. Your DLR hanlder should just read the relevant
>> data and strore it somehere,
>> database or plain text file, and then you can process them whenever you
>> want.
>> 2. Setup more than one DLR hanlder. Create more instances of the DLR
>> handler and set dlr-urls
>> of the MT messages to be spread equally. For i.e. if you have 5 DLR
>> handlers and 10 MT messages
>> you set 1 sms to 1 dlr, 2 sms to 2 dlr....... 6 sms to 1 dlr
>>
>> BR, Jovan
>>
>
>



-- 
Thanks and kind Regards,
Abhishek jain
07799 328 727
skype: ejaincom

Reply via email to