Long polling request and Server-Sent Events RRS feed

  • Question

  • Hi,

    Is it possible doing long polling request or Server-Sent Events (https://jersey.java.net/documentation/latest/sse.html) with Azure API? Is it some limitation?

    Best regards,

    Thursday, March 24, 2016 9:15 AM

All replies

  • Hi Francois,


    Thank you for posting here!

    We are researching more on your query as we are not sure on the same. We will get back to you soon with an update.

    Meanwhile, please go through the below links which might help you.








    Friday, March 25, 2016 8:41 AM
  • I am not sure if this is related to Azure API Management product. 
    Friday, April 1, 2016 11:25 PM
  • Hi,

    After some testing.

    • API layer has a buffer, until you didn't reach enough data, no data are send.
    • After 2 minutes, data are flushed from the API layer (but 2 minutes is very long ...)
    • Close the connexion server side cause flushing remaining data.

    So, yes we could do it but we had to close the connexion each time that we want notify immediately the client side. I didn't find a policy to reduce API buffer size or other.

    If someone find something more "elegant", I'm interested.

    Best regards,

    Thursday, June 2, 2016 5:16 PM