Can Apache Thrift be used on Google App Engine?

China☆狼群 提交于 2019-12-08 02:53:19

问题


Can I use Apache Thrift on Google App Engine? Since Google App Engine does not support working with sockets what transport can be used? Is there any transport implementation to use on Google App Engine Channel API as transport layer?

PS: Server is supposed to be Java-based (not Python)


回答1:


Its is very possible to run Thrift on Google App Engine.

Before its was not possible because App engine didn't support socket listening but now its very possible.All u need to do is.

User google App engine managed VMs. it allows you to set a custom vm and environment but keep in mind to define a fire wall for your port in order for the thrift server to communicate to the out side world.

See an example App Engineer socket example. with this all the load is balanced as in App engine according to the number of VMs you have.




回答2:


There is an ongoing trusted tester program for sockets on App Engine. I'm unaware of any specific effort to try it with Apache Thrift, but I would encourage you to at least sign up and try it, if accepted.



来源:https://stackoverflow.com/questions/13238961/can-apache-thrift-be-used-on-google-app-engine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!