List Info

Thread: MMSC will reject a message if troughput is not respected




MMSC will reject a message if troughput is not respected
country flaguser name
France
2008-02-14 07:40:02
btw, I also found an issue when throughtput is set,

If the MMSC will reject a message, we will not respect the
troughput
because id is not set, so gwthread_sleep will not be
called.
The main idea is to throttle each sendings to be sure the
MMSC will not drop
any messages due to a troughtput filter.

Vincent.


diff -rbau /mbuni-cvs/mmsbox/bearerbox.c
/mbuni/mmsbox/bearerbox.c
--- /mbuni-cvs/mmsbox/bearerbox.c       2007-12-19
07:18:33.000000000 +0100
+++ /mbuni/mmsbox/bearerbox.c   2008-02-11
16:56:02.000000000 +0100
 -891,8
+890,9 
      *new_msgid = id;

      octstr_destroy(groupid);
-     if (id && throughput > 0)
-         gwthread_sleep(1.0/throughput);
+     if (throughput > 0)
+          gwthread_sleep(1.0 / throughput);
+



----- Original Message ----- 
From: "Vincent CHAVANIS" <vincenttelemaque.fr>
To: "Mbuni MMS Gateway Developers" <develmbuni.org>
Sent: Thursday, February 14, 2008 2:35 PM
Subject: [PATCH] more precise troughput on each MMSC


> This patch is similar to the one posted/commited on the
kannel ML
> we are now using double in order to have a more precise
troughput on each 
> MMSC
> The troughput will be notified at start (in the
logfile).
>
> regards
>
> Vincent
>
> --
> Telemaque - 06560 SOPHIA-ANTIPOLIS - (FR)
> Service Technique/Reseau - NOC
> Direction du Developpement xMS+
> http://www.telemaque.fr/

> v.chavanistelemaque.fr
> Tel : +33 4 92 90 99 84 (fax 9142) 


_______________________________________________
Devel mailing list
Develmbuni.org
http://
lists.mbuni.org/mailman/listinfo/devel

Re: MMSC will reject a message if troughput is not respected
user name
2008-02-14 08:47:32
All applied!

 Thanks Vicent.

P.



On 2/14/08, Vincent CHAVANIS <vincenttelemaque.fr> wrote:
> btw, I also found an issue when throughtput is set,
>
> If the MMSC will reject a message, we will not respect
the troughput
> because id is not set, so gwthread_sleep will not be
called.
> The main idea is to throttle each sendings to be sure
the MMSC will not drop
> any messages due to a troughtput filter.
>
> Vincent.
>
>
> diff -rbau /mbuni-cvs/mmsbox/bearerbox.c
/mbuni/mmsbox/bearerbox.c
> --- /mbuni-cvs/mmsbox/bearerbox.c       2007-12-19
07:18:33.000000000 +0100
> +++ /mbuni/mmsbox/bearerbox.c   2008-02-11
16:56:02.000000000 +0100
>  -891,8 +890,9 
>       *new_msgid = id;
>
>       octstr_destroy(groupid);
> -     if (id && throughput > 0)
> -         gwthread_sleep(1.0/throughput);
> +     if (throughput > 0)
> +          gwthread_sleep(1.0 / throughput);
> +
>
>
>
> ----- Original Message -----
> From: "Vincent CHAVANIS" <vincenttelemaque.fr>
> To: "Mbuni MMS Gateway Developers"
<develmbuni.org>
> Sent: Thursday, February 14, 2008 2:35 PM
> Subject: [PATCH] more precise troughput on each MMSC
>
>
> > This patch is similar to the one posted/commited
on the kannel ML
> > we are now using double in order to have a more
precise troughput on each
> > MMSC
> > The troughput will be notified at start (in the
logfile).
> >
> > regards
> >
> > Vincent
> >
> > --
> > Telemaque - 06560 SOPHIA-ANTIPOLIS - (FR)
> > Service Technique/Reseau - NOC
> > Direction du Developpement xMS+
> > http://www.telemaque.fr/

> > v.chavanistelemaque.fr
> > Tel : +33 4 92 90 99 84 (fax 9142)
>
>
> _______________________________________________
> Devel mailing list
> Develmbuni.org
> http://
lists.mbuni.org/mailman/listinfo/devel
>
_______________________________________________
Devel mailing list
Develmbuni.org
http://
lists.mbuni.org/mailman/listinfo/devel

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )