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:
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?
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 405
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 641