Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Created by: null on 10-10-2005 04:45:16 PM I have a decision element which has 5 exits, but the performance of this element is quite slow when I deployed the application. It is taking 3 to 4 sec just to make the correct decision and go to the next element, which is quite unacceptable. Is there any way I can improve the performance of the decision flag.
XML Decisions require very little processing and overhead, and are therefore very quick. The delay you are experiencing could be caused by many different factors:
A long network transit time for messages between the voice browser and the application server Audium Call Services is running on
Some process on the Audium Call Services machine that causes a spike in processor usage
Java garbage collection occuring just as the Decision element is entered
etc.
Is this delay reproduceable? Does it only occur on this decision element? If you add another XML decision element to the callflow, with a different decision, does it also have a delay? Do non-Decision elements (i.e. Voice, Action, etc.) also have a delay?
Additionally, the delay may be caused by an element that follows your Decision element. For example, if the Decision element is followed by a custom voice element, which pulls data from a database or some other external source, there may be a delay before Audium Call Services sends the next VoiceXML page back to the voice browser. What follows the XML decision element in the callflow?
Regards, Vance
Subject: RE: decision performance Replied by: null on 10-10-2005 07:13:32 PM It was a mistake on my problem. It is with the type of input I am looking for. It can accept from 1 digit to 5digit , so if I enter 1 digit it is still waiting thinking the user will enter more digit, and only goes to the decision element after the timeout. If you press # after entering the input, it is going to decision element directly.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: