Re:Node.js is now available on App Engine standard environment
by doomslice on Tuesday June 12, 2018 @06:42PM
(#17298743)
How about eventsource or websocket connections? Will those work (both websockets to the server and to external servers)?
[ Parent
| on HN ]
Re:Node.js is now available on App Engine standard environment
by tejohnso on Tuesday June 12, 2018 @06:54PM
(#17298826)
Requests are expected to complete within 60s so a websocket connection is probably not sensible.
https://cloud.google.com/appengine/docs/standard/java/how-re...
Re:Node.js is now available on App Engine standard environment
by jkarneges on Tuesday June 12, 2018 @07:09PM
(#17298907)
For handling incoming long-lived connections, you could pair with Fanout [1] (disclosure: founder). Basically the client sees a raw WebSocket, and your backend gets woken up with HTTP requests when things happen.
I haven't seen anything like this for outbound connections though.