Re: [google-appengine] Server Sent Events in GAE Standard

2018-08-07 Thread Attila-Mihaly Balazs
Also, I would expect this not to work since the AppEngine instances don't talk directly to the client, but rather go trough the Google Front-end which buffers both requests and responses (so neither can be streamed). Attila -- You received this message because you are subscribed to the Google

Re: [google-appengine] Server Sent Events in GAE Standard

2018-08-06 Thread Steve Neal
Thanks for the advice - I'll add a comment to this pwhen I've had a chance to try Server Side Events. On Monday, 6 August 2018 17:19:28 UTC+2, Steren Giannini wrote: > > You are correct. > And because App Engine in automatic scaling mode has a 60 sec request > timeout, this probably means tha

Re: [google-appengine] Server Sent Events in GAE Standard

2018-08-06 Thread 'Steren Giannini' via Google App Engine
You are correct. And because App Engine in automatic scaling mode has a 60 sec request timeout, this probably means that your events cannot be separated by more than 60sec. Give it a try, let us know. On Mon, Aug 6, 2018 at 7:39 AM Barry Hunter wrote: > Well as such Server Sent Events IS long-p

Re: [google-appengine] Server Sent Events in GAE Standard

2018-08-06 Thread Barry Hunter
Well as such Server Sent Events IS long-polling! .. it's just wrapping it up in a 'multi-part' message, but as noted its still HTTP, using Chunked encoding. ... and a browser provided trigger mechanism to catch each new 'event' message. On Mon, Aug 6, 2018 at 2:07 PM Steve Neal wrote: > > I

Re: [google-appengine] Server Sent Events in GAE Standard

2018-08-06 Thread 'Steren Giannini' via Google App Engine
Hi, Server sent events are based on the HTTP protocol, so I expect them to work on App Engine. We do not provide specific documentation, I followed this one in the past: https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events. Let us know how if they work as expected for you. Websocket

[google-appengine] Server Sent Events in GAE standard environment - ADVICE PLEASE

2018-08-06 Thread Steve Neal
I need to be able send notifications to a web application from the app engine server. For me Server Sent Events seem to be the best option. However, I cannot find any supporting docs for this in GAE standard environment (Java 8). Is this feature implemented at all in GAE? Is there something

[google-appengine] Server Sent Events in GAE Standard

2018-08-06 Thread Steve Neal
I need to send messages from the Web server to a browser based application. Server Sent Events are an obvious choice but I cannot see any supporting documentation. Is it possible to do this with GAE standard using Java 8 ? If not, is there a way to run web sockets, or some other technology that