Apache Thrift可以在Google App Engine上使用吗? [英] Can Apache Thrift be used on Google App Engine?

查看:299
本文介绍了Apache Thrift可以在Google App Engine上使用吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在Google App Engine上使用 Apache Thrift 吗?
由于Google App Engine不支持使用套接字,因此可以使用哪种传输方式?
是否有可在Google App Engine上使用的传输实施渠道API 作为传输层?

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:服务器应该是基于Java的(不是Python)

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

推荐答案

很有可能在Google App Engine上运行Thrift。

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

之前因为App引擎不支持套接字监听而无法实现但现在它很有可能。你需要做的就是。

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

用户google 应用程序引擎管理的虚拟机。它允许您设置自定义虚拟机和环境,但请记住为您的端口定义防火墙,以便节俭服务器与外部世界进行通信。

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.

查看示例 App Engineer套接字示例。根据你拥有的虚拟机数量,所有负载在App引擎中均衡。

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.

这篇关于Apache Thrift可以在Google App Engine上使用吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆