24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-02 21:17:12 +02:00

Clarify {iqdisc, no_queue}

This commit is contained in:
Badlop 2011-04-07 12:06:31 +02:00
parent 90ea752046
commit dac1f328d7

View File

@ -2622,15 +2622,16 @@ The syntax is:
Possible \term{Value} are: Possible \term{Value} are:
\begin{description} \begin{description}
\titem{no\_queue} All queries of a namespace with this processing discipline are \titem{no\_queue} All queries of a namespace with this processing discipline are
processed immediately. This also means that no other packets can be processed processed directly. This means that the XMPP connection that sends this IQ query gets blocked:
no other packets can be processed
until this one has been completely processed. Hence this discipline is not until this one has been completely processed. Hence this discipline is not
recommended if the processing of a query can take a relatively long time. recommended if the processing of a query can take a relatively long time.
\titem{one\_queue} In this case a separate queue is created for the processing \titem{one\_queue} In this case a separate queue is created for the processing
of IQ queries of a namespace with this discipline. In addition, the processing of IQ queries of a namespace with this discipline. In addition, the processing
of this queue is done in parallel with that of other packets. This discipline of this queue is done in parallel with that of other packets. This discipline
is most recommended. is most recommended.
\titem{\{queues, N\}} N separate queues are created to process the \titem{\{queues, N\}} N separate queues are created to process the
queries. The queries are thus process in parallel, but in a queries. The queries are thus processed in parallel, but in a
controlled way. controlled way.
\titem{parallel} For every packet with this discipline a separate Erlang process \titem{parallel} For every packet with this discipline a separate Erlang process
is spawned. Consequently, all these packets are processed in parallel. is spawned. Consequently, all these packets are processed in parallel.