Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
HTTP Callback Option - Diafaan V3
sp_NewPost Add Reply sp_NewTopic Add Topic
May 12, 2015
4:55 pm
Henk Helmantel
Admin
Forum Posts: 551
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Kev,

It is likely that the HTTP call to your server is taking too long. The HTTP callback function blocks the SQL Connector while it is in progress and if you have a lot of messages, and the HTTP callback is taking too much time for each message, the SQL Connector cannot keep up with the messages. Ideally the HTTP callback calls should not take longer than 50 milliseconds on average. This is usually only feasible when you run the HTTP callback server on the same server or LAN network as Diafaan SMS Server.

You can see how long each HTTP callback takes in the communication log of the SQL Connector. To enable the log, open the advanced settings of the SQL Connector and set 'LogCommunicationToFile' to 'True' (don't forget to disable logging after the testing is done). The log of the HTTP call looks like:

2015/05/12 16:54:21.660 - 'message_log' http callback time:35.1588ms retries:0 result:result=1

Regards, Henk

May 12, 2015
4:06 pm
Kev Edwards
Guest
Guests

Hi Henk,

I have recently upgraded to the new version of Diafaan (v3) and have enabled the HTTP Callback option to POST back MessageLog events to our webserver. All appears to be working well, apart from the delay taken to POST each MessageLog record back when compared to previously, when we were writing it back to our MessageLog table sat behind our SQL Connector. Can you shed any light on this? Is there a delay, if so, what is the delay and can I do anything to improve it?

Many thanks,

Kev

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 494

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 364

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 532

Posts: 1844

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 551