Re: [PATCH] Precision timing patch for load.[c|h]
[email protected] Thu, 14 Jul 2016 17:19:13 +0200
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, thanks for the patch. Changed/cleanup-ed version commited. Thanks, Alex > Am 28.06.2016 um 10:44 schrieb Kannel Neo <[email protected]>: > > Hi all, > > We are running a very high performance Kannel instance (>1000 messages/second at times). > > We are finding throttling errors from our upstream suppliers because the load counters inside Kannel are too imprecise, being that they only update after 1 second due to the fact that they are using time in seconds. > > For example, you set the throughput of your SMPP bind to 200 per second, if you have a fast machine, your bind can send more than 200 messages in a second and then only subsequently realise (as the second ticks over) that it has exceeded the throughput and waiting. > > Herewith the attached patch which will allow precision load timers to update these rates intra-second. > > We are using this and find it helps a great deal. > > Thanks > <precision_timing.patch>