APE (Ajax Push Engine) Does APE-Server processes the push requests synchronously or asynchronously

StackOverflow https://stackoverflow.com/questions/17275477

  •  01-06-2022
  •  | 
  •  

Pregunta

I am using APE (Ajax Push Engine) at my application. The connection between the application and the ape-server is inline push. And I am using APE only to broadcast messages to the clients. I.e. the clients do not send messages to the application or to each other.

My question is: Does APE-Server processes the push requests synchronously or asynchronously. I.e. if I send a message to push over APE-Server,

  1. does APE-Server responses immediately to the application, and after that it pushes the messages to the clients? (asynchronously) OR
  2. does APE-Server responses to the application after it has pushed the messages to the clients (synchronously)

I am asking this, because sometimes responses from APE-Server to the application last to long (sometimes over 1 minute).

Thanks in advance.

No hay solución correcta

Otros consejos

The connection type is asychronous as you embed the server logic in webserver and ape communicates using http with the webserver (client <-> APE <-> web server)

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top