How to connect external database to AppEngine?

假装没事ソ 提交于 2020-01-23 08:29:07

问题


Are there any ways (better than using UrlFetch) to connect to any external database from AppEngine?

I already know about hosted SQL databases in App Engine for Business, but they are not free and will be avialable in Q2 2011, so it's not an option right now.

I like datastore very much, but customers don't like vendor lock or have other reasons.


回答1:


The only way to connect external databases to AppEngine is by exposing them via a web API.
Basically you need to create a webservices layer upon your Database, allowing your GAE Application to interact with the remote db through UrlFetch Http calls.



来源:https://stackoverflow.com/questions/4765057/how-to-connect-external-database-to-appengine

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