How to connect external database to AppEngine?

2019-05-07 17:50发布

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条回答
劳资没心,怎么记你
2楼-- · 2019-05-07 18:25

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.

查看更多
登录 后发表回答