Keeping connection to APNs open on App Engine using Modules in Go
Posted
by
user3727820
on Stack Overflow
See other posts from Stack Overflow
or by user3727820
Published on 2014-08-20T16:18:45Z
Indexed on
2014/08/20
16:19 UTC
Read the original article
Hit count: 201
I'm trying to implement iOS push notifications for a messageboard app I've written (so like notification for new message ect. ect.) but have no real idea where to start.
Alot the current documentation seems to be out of date in regard to keeping persistent TLS connections open to the APNs from App Engine and links to articles about depreciated backends I'm using the Go runtime and just keep getting stuck. For instance, the creation of the socket connection to APNs requires a Context which can only be got from a HTTP request, but architecturally this doesn't seem to make a lot of sense because ideally the socket remains open regardless.
Is there any clearer guides around that I'm missing or right now is it a better idea to setup a separate VPS or compute instance to handle it?
© Stack Overflow or respective owner