During piloting of new web app there was a request for feedback from the server, whilst it is performing certian tasks, like new collaborators on a document and log outs, etc.
So I implemented SSE (Sever-Sent Events) and it works fine and we are able to get the right feedback and nice in app messages 'Growl Style'.
My Question is this: Should I really be using SSE For push or just used good old Hanging Get.
From ITs point of view SSE seems to be fine but during certain tasks the app sets the rerty field retry: 500
so this increases the number of called to the server.
When I used Facebook like push notification (Hanging Get) I only get feedback when I am supposed to without checking.
-
Extraneous details
*We do not want to use web sockets at this time. I have implemented this but the app won't require this often.
Its not hard for me to use either SSE or Polling anytime, since I have an interfaces that I implement to an abstract class named PushService(); so at any time I can swap between SSEService and PollService *