[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 
will allow messages to be sent to the browser. I don't want to resort to 
polling from the browser.

Thanks, Steve.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/da54131c-b8dc-44c6-ab36-bbb918ad3125%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Google App Engine group

2018-08-06 Thread Steve Neal
Hi,

Can you tell me if this group is moderated please?

I've tried twice to post a question and it's not visible.

Thanks, Steve.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAGw%2BpadXaYAj326cwHnWG8e6h%2BkBbdQga93iOKFCXAh8%3DLEuvA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[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 else I should be looking for? web sockets are another 
possibility for me, but from what I can tell, they aren't supported.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/501f4c6c-513e-48e7-8b28-82ee99220261%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2018-08-06 Thread Steve Neal
Yes it is a duplicate - I hadn't realised the group was moderated and 
didn't see my first attempt to post a question listed and tried again.

There doesn't seem to be a way to delete this post either.

If someone has privileges to delete it, then please do.





On Monday, 6 August 2018 19:32:33 UTC+2, Kamran (Google Cloud Support) 
wrote:
>
> Hello Steve,
>
> This looks like a duplicate post of this 
> <https://groups.google.com/forum/#!topic/google-appengine/mXxBe_WJ4Ok>. 
> Please visit that thread 
> <https://groups.google.com/forum/#!topic/google-appengine/mXxBe_WJ4Ok>, 
> my colleague provided answers to your questions.
>
> Thanks
>
>
> On Monday, August 6, 2018 at 9:07:30 AM UTC-4, Steve Neal wrote:
>>
>>
>> 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 else I should be looking for? web sockets are another 
>> possibility for me, but from what I can tell, they aren't supported.
>>
>> Thanks.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9128fe94-5e11-4331-aa20-36a9f7a60090%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 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-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 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 
>>> will allow messages to be sent to the browser. I don't want to resort to 
>>> polling from the browser.
>>>
>>> Thanks, Steve.
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Google App Engine" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to google-appengi...@googlegroups.com .
>>> To post to this group, send email to google-a...@googlegroups.com 
>>> .
>>> Visit this group at https://groups.google.com/group/google-appengine.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/google-appengine/da54131c-b8dc-44c6-ab36-bbb918ad3125%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/google-appengine/da54131c-b8dc-44c6-ab36-bbb918ad3125%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-appengi...@googlegroups.com .
>> To post to this group, send email to google-a...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/CAJCAUu%2BXN547NFR_jdaSQnggiwVij%2Bm9M6hUDm073tFGcqMe8g%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/google-appengine/CAJCAUu%2BXN547NFR_jdaSQnggiwVij%2Bm9M6hUDm073tFGcqMe8g%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d48fe73e-dac7-4b20-84c0-272da94716b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.