搶先一步
VMware 提供培訓和認證,以加速您的進展。
了解更多我很高興宣布 Spring Data GemFire 現在支援 Apache Geode。
簡而言之,Apache Geode 是 Pivotal GemFire 的 開放原始碼核心。在 Pivotal 將其提交給 Apache Software Foundation 作為 BDS 開放原始碼工作的一部分後,Geode 最近被接受進入 Apache incubator。
從技術上講,Apace Geode 是一個記憶體內、分散式資料庫 (又稱 IMDG),使新的和現有的 Spring/Java 應用程式能夠以雲端規模運作,具有高可用性和可預測的延遲,而不會犧牲一致性。應用程式能夠即時交易和分析大數據,以實現有意義且具影響力的業務成果。
雖然這聽起來可能很複雜,但 Spring Data GemFire 實現了 Spring 的承諾,使開發人員能夠有效地使用 Apache Geode,或者也可以使用 Pivotal GemFire,透過 Spring 全面而強大的程式設計模型來抽象化複雜性,從而建構高度可擴展的應用程式。
若要開始使用 Apache Geode 建構 Spring 應用程式,只需將 Spring Data GemFire 依賴項包含在您的專案 Gradle 建置檔案或 Maven POM 中,如下所示...
dependencies {
compile "org.springframework.data:spring-data-gemfire:1.7.0.APACHE-GEODE-EA-SNAPSHOT"
}
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-gemfire</artifactId>
<version>1.7.0.APACHE-GEODE-EA-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
Spring Data GemFire 構件可在 Spring libs-snapshot
儲存庫中找到...
<repository>
<id>spring-libs-snapshot</id>
<name>Spring Maven libs-snapshot Repository</name>
<url>https://repo.spring.io/libs-snapshot</url>
</repository>
版本 1.7.0 與 SDG 的第一個提供 Apache Geode 支援的版本一致,並且包含截至 1.7 的 SDG 中的所有最新開發成果。
APACHE-GEODE-EA-SNAPSHOT 版本限定詞將 Apache Geode 的 SDG 建置與 Pivotal GemFire 的 SDG 建置區分開來,1.7.0- BUILD-SNAPSHOT。
那麼,為什麼在傳統的 Spring 發佈公告圍繞里程碑、發佈候選版本和最終 GA 時宣布一個「快照式」發佈?
主要是因為 Apache Geode 尚未有官方版本。但更重要的是,我們希望讓開發人員有機會在使用 Spring Data GemFire 的基於 Spring 的應用程式中試用 Apache Geode,以便盡快獲得回饋。
雖然 Spring Data GemFire 具有 Apache Geode 支援的版本 對於開發目的來說已經足夠穩定,但由於 Apache Geode 和 Pivotal GemFire 之間存在技術差異,因此還沒有完全準備好整合到 master
中。從本質上講,Pivotal GemFire 必須與 Apache Geode 收斂,才能在同一個 Spring Data GemFire 分支上支援兩者。
如果您熟悉使用 Spring Data GemFire 開發 Pivotal GemFire 應用程式,那麼您已經知道如何使用 Apache Geode。如果不是,那麼 Spring Data GemFire 參考指南 和 範例 是一個很好的起點,spring.io 上的 指南 也是如此。特別是,查看 使用 GemFire 存取資料 和 使用 GemFire 緩存資料,或者 使用 REST 存取 GemFire 資料。
嘗試一下。如果您有任何回饋,我歡迎您在 JIRA 和 StackOverflow 中提出您的想法和問題,以及透過提交 GitHub 上的 PR 來提供任何貢獻。
除了使用 Apache Geode 建構 Spring 應用程式之外,現在也是參與 Geode 社群並從頭開始為不斷發展的 Apache 專案做出貢獻的最佳時機。您可以透過許多方式 參與。
Apache Geode 對 ASF 來說是一個重要的貢獻,因為 Pivotal GemFire 中唯一沒有在 Apache Geode 中提供的 功能 是 連續查詢 (CQs) 和多站點、WAN 複製。若要更好地了解 Apache Geode,請查看 開始使用 頁面。
如果您在該地區,您也可以在 2015 年 6 月 24 日星期三下午 6:30 在加拿大多倫多 ON 的 Pivotal Labs 辦公室舉行的這個 Meetup 中參加關於 Apache Geode 的會議來了解更多。
最後,Luke Shannon 和我也將在今年的 SpringOne 大會上,在我們的會議 "使用記憶體內分散式資料網格建構高度可擴展的 Spring 應用程式" 中談論 Apache Geode 和 Spring Data GemFire。
不要錯過!
#SpringOne 2GX 2015 就在眼前!請儘早預訂您在華盛頓特區 SpringOne2GX 的位置。超級早鳥價格將於 6 月 12 日到期!這絕對是第一手了解所有正在發生的事情並提供直接回饋的最佳機會。
#折扣