![](/img/trans.png)
[英]Comparison between Google Cloud Endpoints vs Cloud Datastore api Service
[英]Using Google Cloud Endpoints with Cloud SQL and Cloud DataStore in a polygot architecture
我正在嘗試使用Google Cloud Endpoints
構建通用數據后端,但因為我正在考慮將其用於業務應用程序,所以我需要將Google Cloud SQL
作為我的數據存儲,並使用Google Cloud DataStore
存儲配置級數據。 這個架構真的讓我很想知道如何使用Java來實現這個目標的可能性,但是我很驚訝網絡上沒有一個單一資源可以告訴你如何將Google Cloud Endpoints
與Google Cloud SQL
,甚至連谷歌有一些如何實現這一目標的文檔。 這是否意味着在Google Cloud
基礎架構中無法實現這一點。 有人可以指點我一些資源,或者至少可以解釋一下這個問題。 我非常有必要得到一些回復。
假設您已經使用諸如Hibernate之類的庫將SQL數據轉換為Java對象,那么您無需做太多工作就可以使Cloud Endpoints與Cloud SQL一起使用。
使用Cloud Endpoints時,只需返回可序列化對象。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.