문제

Now that Compute Engine is open to the public, what protocols besides HTTP can you use from AppEngine to connect to backend Compute Engine servers?

Also, Ilya Grigorik has been advocating using SPDY for the backend, but last year he pointed out that AppEngine not does support this (http://www.igvita.com/2012/01/18/building-a-modern-web-stack-for-the-realtime-web/). Has this changed or are there plans to add support for this in the near future?

도움이 되었습니까?

해결책

You can use any TCP or UDP protocol to talk between App Engine and Compute Engine. How? Socket API.

For Java: https://developers.google.com/appengine/docs/java/sockets/overview

For Python: https://developers.google.com/appengine/docs/python/sockets/overview

You would still need to implement the protocol over TCP or UDP, or find a library that does it for you.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top