首页 文章

Google Cloud Endpoints与Cloud Datastore api Service之间的比较

提问于
浏览
0

我想在另一个内部appengine应用程序中访问一个应用程序的appengine数据存储区,我已经使用了很多 endpoints ,现在我尝试使用Google protobuf客户端库的 Cloud 数据存储api .

我的问题是,

which service will be high performing, ignore the fact that endpoints acts as an api and consider in terms of datastore access only) ?

任何更好的建议也很有帮助!

谢谢

1 回答

  • 1

    它们目前非常相似 . 主要区别在于 endpoints 使用JSON编码,GCD使用二进制格式(protobufs) . 如果您发送具有大blob的实体(在这种情况下GCD更有效),这只是一个问题 . 另一方面,Endpoints允许您编写自定义代码以验证请求,发布流程结果等 .

    然而,未来情况可能会发生变化,因为GCD可能会变得更快,更便宜 .

相关问题